-----Original Message----- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara Sent: Monday, March 7, 2016 7:48 PM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH v3] pmd/snow3g: add new SNOW 3G SW PMD
Added new SW PMD which makes use of the libsso SW library, which provides wireless algorithms SNOW 3G UEA2 and UIA2 in software. This PMD supports cipher-only, hash-only and chained operations ("cipher then hash" and "hash then cipher") of the following algorithms: - RTE_CRYPTO_SYM_CIPHER_SNOW3G_UEA2 - RTE_CRYPTO_SYM_HASH_SNOW3G_UIA2 The SNOW 3G hash and cipher algorithms, which are enabled by this crypto PMD are implemented by Intel's libsso software library. For library download and build instructions, see the documentation included (doc/guides/cryptodevs/snow3g.rst) The patch also contains the related unit tests function to test the PMD supported operations. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com> --- This patch depends on "Snow3G support for Intel Quick Assist Devices" patchset (http://dpdk.org/ml/archives/dev/2016-March/034503.html). Changes in v3: - Corrected patch dependency Changes in v2: - Rebased against crypto API changes - Removed static config options and allow user to provide them as virtual device parameters. - Added unit tests - Changed DPDK version references from 2.3 to 16.04 - Fixed crypto operation status handling - Fixed copyright dates - Fixed enqueue error stats MAINTAINERS | 4 + app/test/test_cryptodev.c | 78 ++++ config/common_base | 6 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/snow3g.rst | 69 +++ doc/guides/rel_notes/release_16_04.rst | 4 + drivers/crypto/Makefile | 3 +- drivers/crypto/snow3g/Makefile | 64 +++ drivers/crypto/snow3g/rte_pmd_snow3g_version.map | 3 + drivers/crypto/snow3g/rte_snow3g_pmd.c | 531 +++++++++++++++++++++++ drivers/crypto/snow3g/rte_snow3g_pmd_ops.c | 291 +++++++++++++ drivers/crypto/snow3g/rte_snow3g_pmd_private.h | 107 +++++ lib/librte_cryptodev/Makefile | 3 +- lib/librte_cryptodev/rte_cryptodev.h | 120 ++++- mk/rte.app.mk | 6 +- 15 files changed, 1286 insertions(+), 4 deletions(-) create mode 100644 doc/guides/cryptodevs/snow3g.rst create mode 100644 drivers/crypto/snow3g/Makefile create mode 100644 drivers/crypto/snow3g/rte_pmd_snow3g_version.map create mode 100644 drivers/crypto/snow3g/rte_snow3g_pmd.c create mode 100644 drivers/crypto/snow3g/rte_snow3g_pmd_ops.c create mode 100644 drivers/crypto/snow3g/rte_snow3g_pmd_private.h -- 2.5.0 Acked-by: Deepak Kumar JAIN <deepak.k.jain at intel.com>