> -----Original Message----- > From: [email protected] <[email protected]> > Sent: 2022年5月5日 14:24 > To: [email protected]; Xia, Chenbo <[email protected]> > Cc: [email protected]; Hu, Jiayu <[email protected]>; Jiang, Cheng1 > <[email protected]>; Pai G, Sunil <[email protected]>; > [email protected]; Ding, Xuan <[email protected]> > Subject: [PATCH v4 2/5] vhost: prepare async for descriptor to mbuf > refactoring > > From: Xuan Ding <[email protected]> > > 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 <[email protected]> > Reviewed-by: Maxime Coquelin <[email protected]> > --- > lib/vhost/virtio_net.c | 22 ++++++++++++++-------- > 1 file changed, 14 insertions(+), 8 deletions(-) >
Tested-by: Yvonne Yang <[email protected]>

