mbox

[v3,0/4] support async dequeue for split ring

Message ID 20210928185641.86601-1-wenwux.ma@intel.com (mailing list archive)
Headers

Message

Ma, WenwuX Sept. 28, 2021, 6:56 p.m. UTC
This patch implements asynchronous dequeue data path for split ring.
A new asynchronous dequeue function is introduced. With this function,
the application can try to receive packets from the guest with offloading
copies to the DMA engine, thus saving precious CPU cycles.

v3:
- Update release note.
- Update function comments.

v2:
- Removed struct async_nethdr in 1/4.
- Removed a useless function declaration in 2/4,
  and fixed some coding style in 4/4.

Wenwu Ma (3):
  examples/vhost: refactor vhost enqueue and dequeue datapaths
  examples/vhost: use a new API to query remaining ring space
  examples/vhost: support vhost async dequeue data path

Yuan Wang (1):
  vhost: support async dequeue for split ring

 doc/guides/prog_guide/vhost_lib.rst    |   9 +
 doc/guides/rel_notes/release_21_11.rst |   3 +
 doc/guides/sample_app_ug/vhost.rst     |   9 +-
 examples/vhost/ioat.c                  |  67 +++-
 examples/vhost/ioat.h                  |  25 ++
 examples/vhost/main.c                  | 269 ++++++++-----
 examples/vhost/main.h                  |  34 +-
 examples/vhost/virtio_net.c            |  16 +-
 lib/vhost/rte_vhost_async.h            |  34 +-
 lib/vhost/version.map                  |   3 +
 lib/vhost/vhost.h                      |   3 +-
 lib/vhost/virtio_net.c                 | 530 +++++++++++++++++++++++++
 12 files changed, 881 insertions(+), 121 deletions(-)