This series introduces vDPA backend support to virtio crypto PMD. Also added asymmetric RSA support.
Gowrishankar Muthukrishnan (14): vhost: include AKCIPHER algorithms in crypto_config crypto/virtio: add asymmetric RSA support test/crypto: check for RSA capability test/crypto: add asymmetric tests for virtio PMD vhost: add asymmetric RSA support examples/vhost_crypto: add asymmetric support crypto/virtio: fix dataqueues iteration crypto/virtio: refactor queue operations crypto/virtio: add packed ring support common/virtio: common virtio log 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 Rajesh Mudimadugula (2): crypto/virtio: remove redundant crypto queue free test/crypto: return proper codes in create session .mailmap | 1 + app/test/test_cryptodev.c | 45 +- app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_asym.c | 68 + app/test/test_cryptodev_rsa_test_vectors.h | 4 + drivers/common/virtio/meson.build | 13 + drivers/common/virtio/version.map | 9 + drivers/{net => common}/virtio/virtio_logs.h | 16 +- .../virtio/virtio_user/vhost.h | 2 - .../virtio/virtio_user/vhost_vdpa.c | 31 +- drivers/crypto/virtio/meson.build | 11 +- drivers/crypto/virtio/virtio_crypto_algs.h | 2 +- .../virtio/virtio_crypto_capabilities.h | 19 + .../{virtio_logs.h => virtio_crypto_logs.h} | 30 +- drivers/crypto/virtio/virtio_cryptodev.c | 1105 +++++++++++------ drivers/crypto/virtio/virtio_cryptodev.h | 16 +- drivers/crypto/virtio/virtio_cvq.c | 229 ++++ drivers/crypto/virtio/virtio_cvq.h | 33 + drivers/crypto/virtio/virtio_pci.h | 38 +- drivers/crypto/virtio/virtio_ring.h | 65 +- drivers/crypto/virtio/virtio_rxtx.c | 707 ++++++++++- drivers/crypto/virtio/virtio_rxtx.h | 13 + .../crypto/virtio/virtio_user/vhost_vdpa.c | 310 +++++ .../virtio/virtio_user/virtio_user_dev.c | 774 ++++++++++++ .../virtio/virtio_user/virtio_user_dev.h | 88 ++ drivers/crypto/virtio/virtio_user_cryptodev.c | 586 +++++++++ drivers/crypto/virtio/virtqueue.c | 229 +++- drivers/crypto/virtio/virtqueue.h | 223 +++- drivers/meson.build | 1 + drivers/net/virtio/meson.build | 4 +- drivers/net/virtio/virtio.c | 3 +- drivers/net/virtio/virtio_ethdev.c | 5 +- drivers/net/virtio/virtio_net_logs.h | 30 + drivers/net/virtio/virtio_pci.c | 3 +- drivers/net/virtio/virtio_pci_ethdev.c | 3 +- drivers/net/virtio/virtio_rxtx.c | 3 +- drivers/net/virtio/virtio_rxtx_packed.c | 3 +- drivers/net/virtio/virtio_rxtx_packed.h | 3 +- drivers/net/virtio/virtio_rxtx_packed_avx.h | 3 +- drivers/net/virtio/virtio_rxtx_simple.h | 3 +- drivers/net/virtio/virtio_user/vhost_kernel.c | 4 +- .../net/virtio/virtio_user/vhost_kernel_tap.c | 3 +- drivers/net/virtio/virtio_user/vhost_user.c | 2 +- .../net/virtio/virtio_user/virtio_user_dev.c | 6 +- .../net/virtio/virtio_user/virtio_user_dev.h | 24 +- drivers/net/virtio/virtio_user_ethdev.c | 5 +- drivers/net/virtio/virtqueue.c | 3 +- drivers/net/virtio/virtqueue.h | 3 +- examples/vhost_crypto/main.c | 54 +- lib/cryptodev/cryptodev_pmd.h | 6 + lib/vhost/vhost_crypto.c | 504 +++++++- lib/vhost/vhost_user.h | 33 +- lib/vhost/virtio_crypto.h | 82 +- 53 files changed, 4846 insertions(+), 615 deletions(-) create mode 100644 drivers/common/virtio/meson.build create mode 100644 drivers/common/virtio/version.map rename drivers/{net => common}/virtio/virtio_logs.h (61%) rename drivers/{net => common}/virtio/virtio_user/vhost.h (98%) rename drivers/{net => common}/virtio/virtio_user/vhost_vdpa.c (96%) rename drivers/crypto/virtio/{virtio_logs.h => virtio_crypto_logs.h} (74%) 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_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 create mode 100644 drivers/net/virtio/virtio_net_logs.h -- 2.25.1