This series applies optimization and fixes to the vhost async data path. v4: - fix transfer error handling in async submit function (patch 1/4) - add spinlock in async register function (patch 4/4) - no changes in patch 2/4 & 3/4
v3: - fix a typo in vhost error log (checkpatch warning) - fix travis-robot ci build warning on aarch64 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 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 | 162 +++++++++++++---------------- 5 files changed, 148 insertions(+), 133 deletions(-) -- 2.18.4