Re: [dpdk-dev] [PATCH v2] vhost: prevent disabled rings to be processed with zero-copy

2019-03-21 Thread Maxime Coquelin
On 2/28/19 6:57 PM, Maxime Coquelin wrote: The vhost-user spec says that once the vring is disabled, the client has to stop processing it. But it can happen when dequeue zero-copy is enabled if outstanding descriptors buffers are still being processed by an external NIC or another guest. The

[dpdk-dev] [PATCH v2] vhost: prevent disabled rings to be processed with zero-copy

2019-02-28 Thread Maxime Coquelin
The vhost-user spec says that once the vring is disabled, the client has to stop processing it. But it can happen when dequeue zero-copy is enabled if outstanding descriptors buffers are still being processed by an external NIC or another guest. The fix consists in draining the zmbufs list to ensu