mbox

[v3,0/4] optimize async data path

Message ID 20200929092955.2848419-1-patrick.fu@intel.com (mailing list archive)
Headers

Message

Patrick Fu Sept. 29, 2020, 9:29 a.m. UTC
  This series applies optimization and fixes to the vhost
async data path.

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 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(-)