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

2022-05-05 Thread Yang, YvonneX
> -Original Message- > From: xuan.d...@intel.com > Sent: 2022年5月5日 14:24 > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 > ; Pai G, Sunil ; > lian...@liangbit.com; Ding, Xuan > Subject: [PATCH v4 3/5] vhost: merge s

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

2022-05-04 Thread xuan . ding
From: Xuan Ding This patch 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 Reviewed-by: Maxime Coquelin --- lib/vhost/vhost.h | 1 + lib/vhost/virtio_net.c | 48 --