[dpdk-dev] [PATCH] vhost: remove copy threshold for async vhost

Maxime Coquelin maxime.coquelin at redhat.com
Tue Sep 14 13:24:03 CEST 2021



On 8/20/21 2:44 PM, Jiayu Hu wrote:
> Copy threshold is introduced in async vhost data path to select
> the appropriate copy engine to do copies for higher efficiency.
> However, it may cause packets out-of-order, and it also causes
> data path performance unpredictable.
> 
> Therefore, this patch removes copy threshold support in async vhost
> data path.
> 
> Signed-off-by: Jiayu Hu <jiayu.hu at intel.com>
> Signed-off-by: Cheng Jiang <cheng1.jiang at intel.com>
> ---
>  doc/guides/prog_guide/vhost_lib.rst |   7 -
>  examples/vhost/main.c               |  22 +-
>  lib/vhost/rte_vhost_async.h         |  22 +-
>  lib/vhost/vhost.c                   |   6 +-
>  lib/vhost/vhost.h                   |   1 -
>  lib/vhost/virtio_net.c              | 439 +++++++++---------------------------
>  6 files changed, 116 insertions(+), 381 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the dev mailing list