[PATCH v8 4/5] vhost: support async dequeue for split ring

2022-05-16 Thread xuan . ding
From: Xuan Ding This patch implements asynchronous dequeue data path for vhost split ring, a new API rte_vhost_async_try_dequeue_burst() is introduced. Signed-off-by: Xuan Ding Signed-off-by: Yuan Wang Tested-by: Yvonne Yang Reviewed-by: Maxime Coquelin --- doc/guides/prog_guide/vhost_lib.r

Re: [PATCH v8 4/5] vhost: support async dequeue for split ring

2022-06-16 Thread David Marchand
On Mon, May 16, 2022 at 1:16 PM wrote: > +static __rte_always_inline uint16_t > +virtio_dev_tx_async_split(struct virtio_net *dev, struct vhost_virtqueue *vq, > + struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, > uint16_t count, > + int16_t dma_id, uint16_t vcha

Re: [PATCH v8 4/5] vhost: support async dequeue for split ring

2022-06-16 Thread David Marchand
On Thu, Jun 16, 2022 at 4:38 PM David Marchand wrote: > > On Mon, May 16, 2022 at 1:16 PM wrote: > > +static __rte_always_inline uint16_t > > +virtio_dev_tx_async_split(struct virtio_net *dev, struct vhost_virtqueue > > *vq, > > + struct rte_mempool *mbuf_pool, struct rte_mbuf **pk

RE: [PATCH v8 4/5] vhost: support async dequeue for split ring

2022-06-16 Thread Ding, Xuan
gt; Subject: Re: [PATCH v8 4/5] vhost: support async dequeue for split ring > > On Thu, Jun 16, 2022 at 4:38 PM David Marchand > wrote: > > > > On Mon, May 16, 2022 at 1:16 PM wrote: > > > +static __rte_always_inline uint16_t > > > +virtio_de