Re: [dpdk-dev] [PATCH 4/8] crypto/octeontx2: add cryptodev sec capabilities

2020-07-02 Thread Akhil Goyal
> > > +static const struct rte_cryptodev_capabilities * > > > +otx2_cpt_sec_caps_get(union cpt_eng_caps *hw_caps) { > > > + SEC_CAPS_ADD(hw_caps, aes); > > > + > > > + sec_caps_add(caps_end, RTE_DIM(caps_end)); > > > + > > > + return otx2_cpt_sec_caps; > > > +} > > SEC_CAPS_ADD should be called ear

Re: [dpdk-dev] [PATCH 4/8] crypto/octeontx2: add cryptodev sec capabilities

2020-07-02 Thread Tejasree Kondoj
Hi Akhil, Please see inline. Thanks Tejasree > -Original Message- > From: Akhil Goyal > Sent: Thursday, July 2, 2020 2:37 AM > To: Tejasree Kondoj ; Radu Nicolau > > Cc: Narayana Prasad Raju Athreya ; Anoob Joseph > ; Vamsi Krishna Attunuru ; > dev@dpdk.org > Subject: [EXT] RE: [PATCH

Re: [dpdk-dev] [PATCH 4/8] crypto/octeontx2: add cryptodev sec capabilities

2020-07-01 Thread Akhil Goyal
> +static const struct rte_cryptodev_capabilities * > +otx2_cpt_sec_caps_get(union cpt_eng_caps *hw_caps) > +{ > + SEC_CAPS_ADD(hw_caps, aes); > + > + sec_caps_add(caps_end, RTE_DIM(caps_end)); > + > + return otx2_cpt_sec_caps; > +} SEC_CAPS_ADD should be called earlier when the securit

[dpdk-dev] [PATCH 4/8] crypto/octeontx2: add cryptodev sec capabilities

2020-06-23 Thread Tejasree Kondoj
Signed-off-by: Vamsi Attunuru Signed-off-by: Tejasree Kondoj --- .../octeontx2/otx2_cryptodev_capabilities.c | 108 ++ .../octeontx2/otx2_cryptodev_capabilities.h | 3 + drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 4 +- 3 files changed, 114 insertions(+), 1 deletion(-