crypto/ccp: support run-time CPU based auth
authorRavi Kumar <ravi1.kumar@amd.com>
Thu, 10 May 2018 09:20:10 +0000 (05:20 -0400)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 May 2018 16:46:20 +0000 (17:46 +0100)
commite0d88a394e91f446234aa04d0f9e01c150b0d347
tree69acd7d2c10e5052914792f967051e7f0d7a5b5e
parent7ce00bf31bbe8c5566d53d6149354f5f12613048
crypto/ccp: support run-time CPU based auth

CCP PMD supports authentication offload to either of CCP or CPU.
The earlier version of patch provides this option as compile time.
This patch changes this option from compile time to run time.
User can pass "ccp_auth_opt=1" as an additional arguments to vdev
parameter to enable authentication operations on CPU.

Signed-off-by: Ravi Kumar <ravi1.kumar@amd.com>
config/common_base
doc/guides/cryptodevs/ccp.rst
drivers/crypto/ccp/Makefile
drivers/crypto/ccp/ccp_crypto.c
drivers/crypto/ccp/ccp_crypto.h
drivers/crypto/ccp/ccp_pmd_ops.c
drivers/crypto/ccp/ccp_pmd_private.h
drivers/crypto/ccp/rte_ccp_pmd.c