[dpdk-dev] [PATCH v2] crypto/ccp: support command line option to enable CPU based auth

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed May 9 17:27:56 CEST 2018


Hi Ravi,

> -----Original Message-----
> From: Ravi Kumar [mailto:Ravi1.kumar at amd.com]
> Sent: Wednesday, May 9, 2018 1:46 PM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> thomas at monjalon.net; hemant.agrawal at nxp.com
> Subject: [PATCH v2] crypto/ccp: support command line option to enable 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 at amd.com>

...

>  RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_CCP_PMD,
> cryptodev_ccp_pmd_drv);
>  RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_CCP_PMD,
> -	"max_nb_queue_pairs=<int> max_nb_sessions=<int> socket_id=<int>");
> +	"max_nb_queue_pairs=<int> "
> +	"max_nb_sessions=<int> "
> +	"socket_id=<int> "
> +	"ccp_auth_opt=<int>");


Die_num is not in this list. I was going to add it myself,
but then I realized that it is not actually used anywhere.
Am I missing something?

Also, I think it is worth updating the documentation of the PMD with these parameters.

Thanks,
Pablo



More information about the dev mailing list