vhost: remove copy threshold for async path
authorJiayu Hu <jiayu.hu@intel.com>
Fri, 20 Aug 2021 12:44:26 +0000 (08:44 -0400)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 14 Sep 2021 11:21:55 +0000 (13:21 +0200)
commitabeb86525577868b2adc96f7c5a1851dc5cb4436
tree88cafc256602027db2b29c519880dfaab43cf640
parent818ce1132ab69c5bb34ede0120776f71969dc091
vhost: remove copy threshold for async path

Copy threshold has been introduced in async vhost data
path to select the appropriate copy engine to do copies
for higher efficiency.

However, it may cause packets ordering issues and also
introduces performance unpredictability.

Therefore, this patch removes copy threshold support in
async vhost data path.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/prog_guide/vhost_lib.rst
examples/vhost/main.c
lib/vhost/rte_vhost_async.h
lib/vhost/vhost.c
lib/vhost/vhost.h
lib/vhost/virtio_net.c