> -----Original Message----- > From: xuan.d...@intel.com <xuan.d...@intel.com> > Sent: 2022年5月5日 14:24 > To: maxime.coque...@redhat.com; Xia, Chenbo <chenbo....@intel.com> > Cc: dev@dpdk.org; Hu, Jiayu <jiayu...@intel.com>; Jiang, Cheng1 > <cheng1.ji...@intel.com>; Pai G, Sunil <sunil.pa...@intel.com>; > lian...@liangbit.com; Ding, Xuan <xuan.d...@intel.com> > Subject: [PATCH v4 3/5] vhost: merge sync and async descriptor to mbuf filling > > From: Xuan Ding <xuan.d...@intel.com> > > 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 <xuan.d...@intel.com> > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > lib/vhost/vhost.h | 1 + > lib/vhost/virtio_net.c | 48 ++++++++++++++++++++++++++++++++---------- > 2 files changed, 38 insertions(+), 11 deletions(-) >
Tested-by: Yvonne Yang <yvonnex.y...@intel.com>