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

Yang, YvonneX yvonnex.yang at intel.com
Thu May 5 09:39:32 CEST 2022



> -----Original Message-----
> From: xuan.ding at intel.com <xuan.ding at intel.com>
> Sent: 2022年5月5日 14:24
> To: maxime.coquelin at redhat.com; Xia, Chenbo <chenbo.xia at intel.com>
> Cc: dev at dpdk.org; Hu, Jiayu <jiayu.hu at intel.com>; Jiang, Cheng1
> <cheng1.jiang at intel.com>; Pai G, Sunil <sunil.pai.g at intel.com>;
> liangma at liangbit.com; Ding, Xuan <xuan.ding at intel.com>
> Subject: [PATCH v4 3/5] vhost: merge sync and async descriptor to mbuf filling
> 
> From: Xuan Ding <xuan.ding at 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.ding at intel.com>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at 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.yang at intel.com>


More information about the dev mailing list