Skip to content

crypto/virtio: add vDPA backend support

Gowrishankar Muthukrishnan dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 3 repliesIn review

Changes in v2 from the cover letter

- split from v1 series.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4common/virtio: move vDPA to common directorydrivers/common/virtio/meson.build drivers/common/virtio/version.map drivers/common/virtio/virtio_user/vhost.h +9 more+87 -222 replies
2/4common/virtio: support cryptodev in vdev setupdrivers/common/virtio/virtio_user/vhost_vdpa.c+2 -10 replies
3/4crypto/virtio: add vhost backend to virtio_userdrivers/crypto/virtio/meson.build drivers/crypto/virtio/virtio_cryptodev.c drivers/crypto/virtio/virtio_cryptodev.h +6 more+1815 -281 reply
4/4test/crypto: test virtio_crypto_user PMDapp/test/test_cryptodev.c app/test/test_cryptodev.h app/test/test_cryptodev_asym.c+23 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [v2 0/4] crypto/virtio: add vDPA backend support

This series add vDPA backend support in virtio crypto PMD.

Depends-on: patch-149672 ("vhost: include AKCIPHER algorithms in crypto_config")
Depends-on: patch-148913 ("crypto/virtio: remove redundant crypto queue free")
Depends-on: series-34293 ("crypto/virtio: add packed ring support")
Depends-on: series-34291 ("crypto/virtio: add RSA support")

v2:
- split from v1 series.

Gowrishankar Muthukrishnan (4):
common/virtio: move vDPA to common directory
common/virtio: support cryptodev in vdev setup
crypto/virtio: add vhost backend to virtio_user
test/crypto: test virtio_crypto_user PMD

 app/test/test_cryptodev.c                     |   7 +
 app/test/test_cryptodev.h                     |   1 +
 app/test/test_cryptodev_asym.c                |  15 +
 drivers/common/virtio/meson.build             |  13 +
 drivers/common/virtio/version.map             |   8 +
 .../virtio/virtio_user/vhost.h                |   4 -
 .../common/virtio/virtio_user/vhost_logs.h    |  15 +
 .../virtio/virtio_user/vhost_vdpa.c           |  31 +-
 drivers/crypto/virtio/meson.build             |   9 +-
 drivers/crypto/virtio/virtio_cryptodev.c      |  57 +-
 drivers/crypto/virtio/virtio_cryptodev.h      |   3 +
 drivers/crypto/virtio/virtio_pci.h            |   7 +
 drivers/crypto/virtio/virtio_ring.h           |   6 -
 .../crypto/virtio/virtio_user/vhost_vdpa.c    | 312 +++++++
 .../virtio/virtio_user/virtio_user_dev.c      | 776 ++++++++++++++++++
 .../virtio/virtio_user/virtio_user_dev.h      |  88 ++
 drivers/crypto/virtio/virtio_user_cryptodev.c | 587 +++++++++++++
 drivers/meson.build                           |   1 +
 drivers/net/virtio/meson.build                |   3 +-
 drivers/net/virtio/virtio_user/vhost_kernel.c |   3 +-
 drivers/net/virtio/virtio_user/vhost_user.c   |   3 +-
 .../net/virtio/virtio_user/virtio_user_dev.c  |   5 +-
 .../net/virtio/virtio_user/virtio_user_dev.h  |  24 +-
 23 files changed, 1927 insertions(+), 51 deletions(-)
 create mode 100644 drivers/common/virtio/meson.build
 create mode 100644 drivers/common/virtio/version.map
 rename drivers/{net => common}/virtio/virtio_user/vhost.h (97%)
 create mode 100644 drivers/common/virtio/virtio_user/vhost_logs.h
 rename drivers/{net => common}/virtio/virtio_user/vhost_vdpa.c (96%)
 create mode 100644 drivers/crypto/virtio/virtio_user/vhost_vdpa.c
 create mode 100644 drivers/crypto/virtio/virtio_user/virtio_user_dev.c
 create mode 100644 drivers/crypto/virtio/virtio_user/virtio_user_dev.h
 create mode 100644 drivers/crypto/virtio/virtio_user_cryptodev.c
Signature · 1 line
2.25.1