Skip to content

optimize async data path

Patrick Fu dpdk-dev 4 versions – Applied

Status from this message: Applied to dpdk-next-virtio/main

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 5 repliesApplied
  2. v34 patches 6 repliesSuperseded
  3. v24 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches5 repliesSuperseded

Changes in v4 from the cover letter

- 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

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4vhost: simplify async copy completionlib/librte_vhost/rte_vhost_async.h lib/librte_vhost/vhost.c lib/librte_vhost/vhost.h +2 more+88 -1101 reply
2/4vhost: dynamically allocate async memorylib/librte_vhost/vhost.c lib/librte_vhost/vhost.h+47 -261 reply
3/4vhost: fix async vector buffer overrunlib/librte_vhost/vhost.h lib/librte_vhost/virtio_net.c+13 -21 reply
4/4vhost: fix async unregister deadlocklib/librte_vhost/vhost.c lib/librte_vhost/vhost_user.c+9 -41 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMaxime Coquelin
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 0/4] optimize async data path

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(-)
Signature · 1 line
2.18.4