[dpdk-dev] [PATCH v2 2/6] security: add support for DOCSIS protocol

2020-06-23 Thread David Coyle
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 i

Re: [dpdk-dev] [PATCH v2 2/6] security: add support for DOCSIS protocol

2020-06-23 Thread De Lara Guarch, Pablo
> -Original Message- > From: Coyle, David > Sent: Tuesday, June 23, 2020 11:14 AM > To: akhil.go...@nxp.com; Doherty, Declan ; De > Lara Guarch, Pablo ; Trahe, Fiona > ; Zhang, Roy Fan ; > Ananyev, Konstantin > Cc: dev@dpdk.org; tho...@monjalon.net; Yigit, Ferruh > ; Ryan, Brendan ; >

Re: [dpdk-dev] [PATCH v2 2/6] security: add support for DOCSIS protocol

2020-06-23 Thread Akhil Goyal
Hi David, > +/** 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 b

Re: [dpdk-dev] [PATCH v2 2/6] security: add support for DOCSIS protocol

2020-06-24 Thread Coyle, David
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Tuesday, June 23, 2020 7:07 PM > > > > +/** > > + * DOCSIS operation parameters > > + */ > > +struct rte_security_docsis_op { > > + struct rte_crypto_sym_op crypto_sym; > > + /**< Symmetric crypto operation parameters */ > > +

Re: [dpdk-dev] [PATCH v2 2/6] security: add support for DOCSIS protocol

2020-06-26 Thread Coyle, David
Hi Pablo > -Original Message- > From: De Lara Guarch, Pablo > > +/** > > + * DOCSIS security session configuration. > > + * > > + * This structure contains data required to create a DOCSIS security > session. > > + */ > > +struct rte_security_docsis_xform { > > + enum rte_security_docsi