v17: - fix some spelling errors v16: - resplit patches. - complete documentation which is yet there in that patch. - every patch should compile without any warnings or errors. - delete unused comments. v15: - split to more patches. v14: - Uniform Byte Alignment. v13: - resolve some comiler warnings that are being suppressed. v12: - use RTE_LOG_LINE_PREFIX in logging macro. - delete the check for null with rte_mempool_free. - delete some unused initial values. v11: - use RTE_LOG_LINE in logging macro. - fix some known bugs. v10: - delete new blank line at EOF - Cleaning up some code in zsda_log.h v9: - add a new feature in default.ini. - Re-split the patch according to the new PMD guidelines https://patches.dpdk.org/project/dpdk/patch/20241006184 254.53499-1-nandinipersad361@gmail.com/ - Split SM4-XTS tests into a new series to releases. - Separate out datapath(enqueue/dequeue) as a separate patch. v8: - fix some errors in cryptodevs/features/zsda.ini. v7: - add release notes and some documentations. - add MAINTAINERS context in the patch where the file/folder is added. - add files in meason.build which are included in the patch only. - add a check for unsupported on Windows. - notice the implicit cast in C. - add cover letter. - compile each of the patches individually. Hanxiao Li (14): config: add zsda device number common/zsda: configure pci_driver and logging macros for zsda common/zsda: add functions to operate hardware queue common/zsda: configure queue operation common/zsda: configure the enqueue datapath common/zsda: configure the dequeue datapath compress/zsda: initialize compressdev compress/zsda: add compression algo match compress/zsda: process wqe and cqe of compressdev crypto/zsda: initialize cryptodev of zsda crypto/zsda: configure session crypto/zsda: add crypto algo match crypto/zsda: process wqe and cqe app/test: add cryptodev test for zsda MAINTAINERS | 11 + app/test/test_cryptodev.c | 7 + app/test/test_cryptodev.h | 1 + config/rte_config.h | 4 + doc/guides/compressdevs/features/zsda.ini | 15 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/zsda.rst | 45 + doc/guides/cryptodevs/features/zsda.ini | 51 ++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/zsda.rst | 255 ++++++ doc/guides/rel_notes/release_24_11.rst | 12 + drivers/common/zsda/meson.build | 38 + drivers/common/zsda/zsda_common.c | 240 ++++++ drivers/common/zsda/zsda_common.h | 331 ++++++++ drivers/common/zsda/zsda_device.c | 263 ++++++ drivers/common/zsda/zsda_device.h | 123 +++ drivers/common/zsda/zsda_logs.c | 19 + drivers/common/zsda/zsda_logs.h | 27 + drivers/common/zsda/zsda_qp.c | 871 ++++++++++++++++++++ drivers/common/zsda/zsda_qp.h | 149 ++++ drivers/compress/zsda/zsda_comp.c | 391 +++++++++ drivers/compress/zsda/zsda_comp.h | 53 ++ drivers/compress/zsda/zsda_comp_pmd.c | 463 +++++++++++ drivers/compress/zsda/zsda_comp_pmd.h | 34 + drivers/crypto/zsda/zsda_sym.c | 273 ++++++ drivers/crypto/zsda/zsda_sym.h | 49 ++ drivers/crypto/zsda/zsda_sym_capabilities.h | 111 +++ drivers/crypto/zsda/zsda_sym_pmd.c | 438 ++++++++++ drivers/crypto/zsda/zsda_sym_pmd.h | 33 + drivers/crypto/zsda/zsda_sym_session.c | 490 +++++++++++ drivers/crypto/zsda/zsda_sym_session.h | 83 ++ 31 files changed, 4882 insertions(+) create mode 100644 doc/guides/compressdevs/features/zsda.ini create mode 100644 doc/guides/compressdevs/zsda.rst create mode 100644 doc/guides/cryptodevs/features/zsda.ini create mode 100644 doc/guides/cryptodevs/zsda.rst create mode 100644 drivers/common/zsda/meson.build create mode 100644 drivers/common/zsda/zsda_common.c create mode 100644 drivers/common/zsda/zsda_common.h create mode 100644 drivers/common/zsda/zsda_device.c create mode 100644 drivers/common/zsda/zsda_device.h create mode 100644 drivers/common/zsda/zsda_logs.c create mode 100644 drivers/common/zsda/zsda_logs.h create mode 100644 drivers/common/zsda/zsda_qp.c create mode 100644 drivers/common/zsda/zsda_qp.h create mode 100644 drivers/compress/zsda/zsda_comp.c create mode 100644 drivers/compress/zsda/zsda_comp.h create mode 100644 drivers/compress/zsda/zsda_comp_pmd.c create mode 100644 drivers/compress/zsda/zsda_comp_pmd.h create mode 100644 drivers/crypto/zsda/zsda_sym.c create mode 100644 drivers/crypto/zsda/zsda_sym.h create mode 100644 drivers/crypto/zsda/zsda_sym_capabilities.h create mode 100644 drivers/crypto/zsda/zsda_sym_pmd.c create mode 100644 drivers/crypto/zsda/zsda_sym_pmd.h create mode 100644 drivers/crypto/zsda/zsda_sym_session.c create mode 100644 drivers/crypto/zsda/zsda_sym_session.h -- 2.27.0