[dpdk-dev] [PATCH v2 17/20] crypto/ccp: add cpu based md5 and sha2 family auth algo support
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Mon Jan 8 18:36:07 CET 2018
Hi Ravi,
> -----Original Message-----
> From: Ravi Kumar [mailto:Ravi1.kumar at amd.com]
> Sent: Friday, January 5, 2018 9:40 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Subject: [PATCH v2 17/20] crypto/ccp: add cpu based md5 and sha2 family
> auth algo support
>
> Auth operations can be performed on CPU without offloading to CCP if
> CONFIG_RTE_LIBRTE_PMD_CCP_CPU_AUTH is enabled in DPDK
> configuration.
>
> Signed-off-by: Ravi Kumar <Ravi1.kumar at amd.com>
...
> --- a/drivers/crypto/ccp/ccp_crypto.c
> +++ b/drivers/crypto/ccp/ccp_crypto.c
...
> }
>
> @@ -2638,13 +2874,23 @@ static inline void ccp_auth_dq_prepare(struct
> rte_crypto_op *op) }
>
> static int
> -ccp_prepare_ops(struct rte_crypto_op **op_d,
> +ccp_prepare_ops(struct ccp_qp *qp,
There is a compilation error if the PMD is enabled and
CONFIG_RTE_LIBRTE_PMD_CCP_CPU_AUTH=n.
You need to set the struct ccp_qp *qp parameter as __rte_unused,
in case this option is not enabled.
Pablo
More information about the dev
mailing list