RE: [PATCH v3 3/5] vhost: merge sync and async descriptor to mbuf filling

2022-04-23 Thread Ding, Xuan
Hi Maxime, David, > -Original Message- > From: Maxime Coquelin > Sent: Friday, April 22, 2022 11:46 PM > To: David Marchand ; Ding, Xuan > > Cc: Xia, Chenbo ; dev ; Hu, Jiayu > ; Jiang, Cheng1 ; Pai G, Sunil > ; lian...@liangbit.com > Subject: Re: [PATCH v3

Re: [PATCH v3 3/5] vhost: merge sync and async descriptor to mbuf filling

2022-04-22 Thread Maxime Coquelin
On 4/22/22 13:06, David Marchand wrote: We (at RH) have some issues with our email infrastructure, so I can't reply inline of the patch. Copy/pasting the code: +static __rte_always_inline uint16_t +async_poll_dequeue_completed_split(struct virtio_net *dev, uint16_t queue_id, + struct rte_mbu

Re: [PATCH v3 3/5] vhost: merge sync and async descriptor to mbuf filling

2022-04-22 Thread Maxime Coquelin
On 4/19/22 05:43, xuan.d...@intel.com wrote: From: Xuan Ding This patches refactors copy_desc_to_mbuf() used by the sync path to support both sync and async descriptor to mbuf filling. Signed-off-by: Xuan Ding --- lib/vhost/vhost.h | 1 + lib/vhost/virtio_net.c | 48 ++

Re: [PATCH v3 3/5] vhost: merge sync and async descriptor to mbuf filling

2022-04-22 Thread David Marchand
We (at RH) have some issues with our email infrastructure, so I can't reply inline of the patch. Copy/pasting the code: +static __rte_always_inline uint16_t +async_poll_dequeue_completed_split(struct virtio_net *dev, uint16_t queue_id, + struct rte_mbuf **pkts, uint16_t count, uint16_t dma_id, +

[PATCH v3 3/5] vhost: merge sync and async descriptor to mbuf filling

2022-04-18 Thread xuan . ding
From: Xuan Ding This patches refactors copy_desc_to_mbuf() used by the sync path to support both sync and async descriptor to mbuf filling. Signed-off-by: Xuan Ding --- lib/vhost/vhost.h | 1 + lib/vhost/virtio_net.c | 48 -- 2 files changed, 38 in