Re: [dpdk-dev] [PATCH v3 14/21] vhost: dequeue for packed queues

2018-04-06 Thread Jens Freimann
On Fri, Apr 06, 2018 at 11:30:10AM +0200, Maxime Coquelin wrote: On 04/05/2018 12:10 PM, Jens Freimann wrote: Implement code to dequeue and process descriptors from the vring if VIRTIO_F_RING_PACKED is enabled. Check if descriptor was made available by driver by looking at VIRTIO_F_DESC_AVAIL

Re: [dpdk-dev] [PATCH v3 14/21] vhost: dequeue for packed queues

2018-04-06 Thread Maxime Coquelin
On 04/05/2018 12:10 PM, Jens Freimann wrote: Implement code to dequeue and process descriptors from the vring if VIRTIO_F_RING_PACKED is enabled. Check if descriptor was made available by driver by looking at VIRTIO_F_DESC_AVAIL flag in descriptor. If so dequeue and set the used flag VIRTIO_F_

[dpdk-dev] [PATCH v3 14/21] vhost: dequeue for packed queues

2018-04-05 Thread Jens Freimann
Implement code to dequeue and process descriptors from the vring if VIRTIO_F_RING_PACKED is enabled. Check if descriptor was made available by driver by looking at VIRTIO_F_DESC_AVAIL flag in descriptor. If so dequeue and set the used flag VIRTIO_F_DESC_USED to the current value of the used wrap c