> -----Original Message-----
> From: Coyle, David <[email protected]>
> Sent: Tuesday, June 23, 2020 11:14 AM
> To: [email protected]; Doherty, Declan <[email protected]>; De
> Lara Guarch, Pablo <[email protected]>; Trahe, Fiona
> <[email protected]>; Zhang, Roy Fan <[email protected]>;
> Ananyev, Konstantin <[email protected]>
> Cc: [email protected]; [email protected]; Yigit, Ferruh
> <[email protected]>; Ryan, Brendan <[email protected]>;
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> Richardson, Bruce <[email protected]>; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; Coyle, David
> <[email protected]>; O'loingsigh, Mairtin <[email protected]>
> Subject: [PATCH v2 2/6] security: add support for DOCSIS protocol
> 
> Add support for DOCSIS protocol to rte_security library. This support 
> currently
> comprises the combination of Crypto and CRC operations.
> 
> A security operation definition is also added. This allow security protocol 
> related
> parameters be specified at the operation level. For DOCSIS, these parameters
> include CRC length and offset. The security operation is accessed via a crypto
> operation.
> 
> Signed-off-by: David Coyle <[email protected]>
> Signed-off-by: Mairtin o Loingsigh <[email protected]>

...

> +++ b/lib/librte_security/rte_security.h
> @@ -293,6 +293,30 @@ struct rte_security_pdcp_xform {
>       uint32_t hfn_ovrd;
>  };
> 
> +/** DOCSIS direction */
> +enum rte_security_docsis_direction {
> +     RTE_SECURITY_DOCSIS_UPLINK,
> +     /**< Uplink
> +      * - Decryption, followed by CRC Verification
> +      */
> +     RTE_SECURITY_DOCSIS_DOWNLINK,
> +     /**< Downlink
> +      * - CRC Generation, followed by Encryption
> +      */
> +};
> +
> +/**
> + * DOCSIS security session configuration.
> + *
> + * This structure contains data required to create a DOCSIS security session.
> + */
> +struct rte_security_docsis_xform {
> +     enum rte_security_docsis_direction direction;
> +     /** DOCSIS direction */

Missing "<" here.


Reply via email to