Re: kernel vhost demands an interrupt from guest when the ring is full in order to enable guest to submit new packets to the queue

2019-01-08 Thread Steven Luong (sluong) via Virtualization
chael S. Tsirkin" wrote: > > On Thu, Dec 13, 2018 at 11:24:28PM +, Steven Luong (sluong) via Virtualization wrote: > > Folks, > > > > > > > > We came across a memory race condition between VPP vhost driver and the ke

Re: kernel vhost demands an interrupt from guest when the ring is full in order to enable guest to submit new packets to the queue

2018-12-19 Thread Steven Luong (sluong) via Virtualization
On 12/17/18, 2:55 PM, "Michael S. Tsirkin" wrote: On Thu, Dec 13, 2018 at 11:24:28PM +0000, Steven Luong (sluong) via Virtualization wrote: > Folks, > > > > We came across a memory race condition between VPP vhost driver and the kernel

kernel vhost demands an interrupt from guest when the ring is full in order to enable guest to submit new packets to the queue

2018-12-17 Thread Steven Luong (sluong) via Virtualization
Folks, We came across a memory race condition between VPP vhost driver and the kernel vhost. VPP is running a tap interface over vhost backend. In this case, VPP is acting as the vhost driver mode and the kernel vhost is acting as the vhost device mode. In the kernel vhost’s TX traffic