This series applies optimization and fixes to the vhost async data path. v2: - minor rewordings on commit message - minor fix on poll_enenque_completion to correct a packet number calculation issue - allocate async buffer memory on the same numa with vq - add some comments in data path to improve readability
Patrick Fu (4): vhost: simplify async copy completion vhost: dynamically allocate async memory vhost: fix async vector buffer overrun vhost: fix async register/unregister deadlock lib/librte_vhost/rte_vhost_async.h | 15 ++- lib/librte_vhost/vhost.c | 80 ++++++++------ lib/librte_vhost/vhost.h | 14 +-- lib/librte_vhost/vhost_user.c | 10 +- lib/librte_vhost/virtio_net.c | 164 +++++++++++++---------------- 5 files changed, 146 insertions(+), 137 deletions(-) -- 2.18.4