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

2018-02-01 Thread Jens Freimann
On Thu, Feb 01, 2018 at 10:35:18AM +0100, Maxime Coquelin wrote: On 01/29/2018 03:11 PM, Jens Freimann wrote: Implement code to dequeue and process descriptors from the vring if VIRTIO_F_PACKED is enabled. Check if descriptor was made available by driver by looking at VIRTIO_F_DESC_AVAIL flag

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

2018-02-01 Thread Maxime Coquelin
On 01/29/2018 03:11 PM, Jens Freimann wrote: Implement code to dequeue and process descriptors from the vring if VIRTIO_F_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_

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

2018-01-29 Thread Jens Freimann
Implement code to dequeue and process descriptors from the vring if VIRTIO_F_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 counte