> -----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 2/5] vhost: prepare async for descriptor to mbuf > refactoring > > From: Xuan Ding <xuan.d...@intel.com> > > This patch refactors vhost async enqueue path and dequeue path to use the > same function async_fill_seg() for preparing batch elements, which simplifies > the > code without performance degradation. > > Signed-off-by: Xuan Ding <xuan.d...@intel.com> > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > lib/vhost/virtio_net.c | 22 ++++++++++++++-------- > 1 file changed, 14 insertions(+), 8 deletions(-) >
Tested-by: Yvonne Yang <yvonnex.y...@intel.com>