[v5 0/6] crypto/virtio: enhancements for RSA and vDPA
Gowrishankar Muthukrishnan
gmuthukrishn at marvell.com
Wed Feb 26 19:58:12 CET 2025
This patch series enhances virtio crypto PMD to:
* support RSA
* support packed virtio ring
* support vDPA backend
Depends-on: patch-152109 ("vhost: support asymmetric RSA crypto ops")
Gowrishankar Muthukrishnan (6):
crypto/virtio: add asymmetric RSA support
crypto/virtio: refactor queue operations
crypto/virtio: add packed ring support
crypto/virtio: add vDPA backend
test/crypto: add asymmetric tests for virtio PMD
test/crypto: add tests for virtio user PMD
app/test/test_cryptodev.c | 7 +
app/test/test_cryptodev.h | 1 +
app/test/test_cryptodev_asym.c | 43 +
doc/guides/cryptodevs/features/virtio.ini | 4 +
doc/guides/rel_notes/release_25_03.rst | 4 +
drivers/crypto/virtio/meson.build | 8 +
drivers/crypto/virtio/virtio_crypto_algs.h | 2 +-
.../virtio/virtio_crypto_capabilities.h | 19 +
drivers/crypto/virtio/virtio_cryptodev.c | 1060 +++++++++++------
drivers/crypto/virtio/virtio_cryptodev.h | 18 +-
drivers/crypto/virtio/virtio_cvq.c | 228 ++++
drivers/crypto/virtio/virtio_cvq.h | 33 +
drivers/crypto/virtio/virtio_logs.h | 6 +-
drivers/crypto/virtio/virtio_pci.h | 38 +-
drivers/crypto/virtio/virtio_ring.h | 65 +-
drivers/crypto/virtio/virtio_rxtx.c | 725 ++++++++++-
drivers/crypto/virtio/virtio_rxtx.h | 13 +
drivers/crypto/virtio/virtio_user/vhost.h | 90 ++
.../crypto/virtio/virtio_user/vhost_vdpa.c | 710 +++++++++++
.../virtio/virtio_user/virtio_user_dev.c | 749 ++++++++++++
.../virtio/virtio_user/virtio_user_dev.h | 85 ++
drivers/crypto/virtio/virtio_user_cryptodev.c | 575 +++++++++
drivers/crypto/virtio/virtqueue.c | 229 +++-
drivers/crypto/virtio/virtqueue.h | 221 +++-
lib/cryptodev/cryptodev_pmd.h | 6 +
25 files changed, 4447 insertions(+), 492 deletions(-)
create mode 100644 drivers/crypto/virtio/virtio_cvq.c
create mode 100644 drivers/crypto/virtio/virtio_cvq.h
create mode 100644 drivers/crypto/virtio/virtio_rxtx.h
create mode 100644 drivers/crypto/virtio/virtio_user/vhost.h
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
--
2.25.1
More information about the dev
mailing list