null_crypto: add driver for null crypto operations
authorDeclan Doherty <declan.doherty@intel.com>
Fri, 11 Mar 2016 01:04:10 +0000 (01:04 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 11 Mar 2016 01:16:18 +0000 (02:16 +0100)
commit94b0ad8e0aa556230183f4c4d06b68bfd145dce3
treea8b22f1acf74273d93fa93b2406ecfe5a6917f97
parent9f5a9a55117a6784a8fe670dfcfddfd60232b257
null_crypto: add driver for null crypto operations

This patch provides the implementation of a NULL crypto PMD, which supports
NULL cipher and NULL authentication operations, which can be chained together
as follows:

- Authentication Only
- Cipher Only
- Authentication then Cipher
- Cipher then Authentication

As this is a NULL operation device the crypto operations which are submitted for
processing are not actually modified and are stored in a queue pairs processed
packets ring ready for collection when rte_cryptodev_burst_dequeue() is called.

The patch also contains the related unit tests function to test the PMDs
supported operations.

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
13 files changed:
MAINTAINERS
app/test/test_cryptodev.c
config/common_base
doc/guides/cryptodevs/index.rst
doc/guides/cryptodevs/null.rst [new file with mode: 0644]
doc/guides/rel_notes/release_16_04.rst
drivers/crypto/Makefile
drivers/crypto/null/Makefile [new file with mode: 0644]
drivers/crypto/null/null_crypto_pmd.c [new file with mode: 0644]
drivers/crypto/null/null_crypto_pmd_ops.c [new file with mode: 0644]
drivers/crypto/null/null_crypto_pmd_private.h [new file with mode: 0644]
drivers/crypto/null/rte_pmd_null_crypto_version.map [new file with mode: 0644]
mk/rte.app.mk