Re: [dpdk-dev] [PATCH v3 15/21] vhost: packed queue enqueue path

2018-04-06 Thread Jens Freimann
On Fri, Apr 06, 2018 at 11:36:03AM +0200, Maxime Coquelin wrote: On 04/05/2018 12:10 PM, Jens Freimann wrote: Implement enqueue of packets to the receive virtqueue. Set descriptor flag VIRTQ_DESC_F_USED and toggle used wrap counter if last descriptor in ring is used. Perform a write memory ba

Re: [dpdk-dev] [PATCH v3 15/21] vhost: packed queue enqueue path

2018-04-06 Thread Maxime Coquelin
On 04/05/2018 12:10 PM, Jens Freimann wrote: Implement enqueue of packets to the receive virtqueue. Set descriptor flag VIRTQ_DESC_F_USED and toggle used wrap counter if last descriptor in ring is used. Perform a write memory barrier before flags are written to descriptor. Chained descriptors