Skip to content

RFC vhost-add-DMADEV-support-for-async-datapath

Sunil Pai G dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1vhost: add DMADEV support for async datapathlib/vhost/meson.build lib/vhost/rte_vhost_async.h lib/vhost/vhost.c +2 more+316 -1220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH RFC 0/1] vhost-add-DMADEV-support-for-async-datapath

Note to the reader:
-------------------
The intent of this patch is to explore possible different approaches of async implementations.
Please consider this patch for discussions only and not for merge/upstream.

This patch simplifies the vhost async datapath usability by utilizing the generic DMADEV API's to perform packet copy.

Previously, it was required by the application to implement its own DMA enabling logic making it difficult to adopt this feature. Having a common implementation in vhost library allows for easier adoption.

The usability of async datapath is enhanced by extending the API's to include a DMADEV ID to be passed by the application. This provides flexibility to applications to decide which DMADEV to be used.

Sunil Pai G (1):
vhost: Add DMADEV support for async datapath.

 lib/vhost/meson.build       |   2 +-
 lib/vhost/rte_vhost_async.h |  55 +------
 lib/vhost/vhost.c           |  46 +++---
 lib/vhost/vhost.h           |  24 ++-
 lib/vhost/virtio_net.c      | 311 +++++++++++++++++++++++++++++++-----
 5 files changed, 316 insertions(+), 122 deletions(-)
Signature · 1 line
2.25.1