mbox series

[0/8] add OCTEON TX2 lookaside IPsec support

Message ID 20200623121228.10355-1-ktejasree@marvell.com (mailing list archive)
Headers
Series add OCTEON TX2 lookaside IPsec support |

Message

Tejasree Kondoj June 23, 2020, 12:12 p.m. UTC
  This series adds lookaside IPsec support in OCTEON TX2 PMD.

Features supported:
* IPv4
* ESP
* Tunnel mode
* AES-128/192/256-GCM

This series is on top of http://patches.dpdk.org/patch/71638/

Tejasree Kondoj (4):
  net/octeontx2: move otx2_sec_session struct to otx2_security.h
  crypto/octeontx2: add lookaside SA context definitions
  crypto/octeontx2: add cryptodev sec registration
  crypto/octeontx2: add cryptodev sec capabilities

Vamsi Attunuru (4):
  crypto/octeontx2: add cryptodev sec misc callbacks
  crypto/octeontx2: add cryptodev sec session create
  crypto/octeontx2: add cryptodev sec enqueue routine
  crypto/octeontx2: add cryptodev sec dequeue routine

 drivers/crypto/octeontx2/Makefile             |   1 +
 drivers/crypto/octeontx2/meson.build          |   3 +-
 drivers/crypto/octeontx2/otx2_cryptodev.c     |  12 +-
 drivers/crypto/octeontx2/otx2_cryptodev.h     |   8 +
 .../octeontx2/otx2_cryptodev_capabilities.c   | 108 ++++
 .../octeontx2/otx2_cryptodev_capabilities.h   |   3 +
 drivers/crypto/octeontx2/otx2_cryptodev_ops.c |  73 ++-
 drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 538 ++++++++++++++++++
 drivers/crypto/octeontx2/otx2_cryptodev_sec.h |  58 ++
 drivers/crypto/octeontx2/otx2_ipsec_po.h      | 450 +++++++++++++++
 drivers/crypto/octeontx2/otx2_ipsec_po_ops.h  | 179 ++++++
 drivers/crypto/octeontx2/otx2_security.h      |  32 ++
 drivers/net/octeontx2/otx2_ethdev_sec.c       |  10 +-
 drivers/net/octeontx2/otx2_ethdev_sec.h       |  11 +-
 drivers/net/octeontx2/otx2_ethdev_sec_tx.h    |   1 +
 15 files changed, 1465 insertions(+), 22 deletions(-)
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_sec.c
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_sec.h
 create mode 100644 drivers/crypto/octeontx2/otx2_ipsec_po.h
 create mode 100644 drivers/crypto/octeontx2/otx2_ipsec_po_ops.h
 create mode 100644 drivers/crypto/octeontx2/otx2_security.h
  

Comments

Akhil Goyal July 1, 2020, 8:54 p.m. UTC | #1
Hi Tejasree,

> Subject: [PATCH 0/8] add OCTEON TX2 lookaside IPsec support
> 
> This series adds lookaside IPsec support in OCTEON TX2 PMD.
> 
> Features supported:
> * IPv4
> * ESP
> * Tunnel mode
> * AES-128/192/256-GCM
> 
> This series is on top of
> http://patches.dpdk.org/patch/71638/
> 

I believe this may need update in the documentation of the PMD.
features/octeontx2.ini should also be updated.
Also a release note entry should be added as this is a new feature added.

Is there any test case addition in the test or test-crypto-perf? Or is it only
Tested via ipsec-secgw?

Regards,
Akhil
  
Tejasree Kondoj July 2, 2020, 10:23 a.m. UTC | #2
Hi Akhil,

Please see inline

Thanks,
Tejasree

> -----Original Message-----
> From: Akhil Goyal <akhil.goyal@nxp.com>
> Sent: Thursday, July 2, 2020 2:24 AM
> To: Tejasree Kondoj <ktejasree@marvell.com>; Radu Nicolau
> <radu.nicolau@intel.com>
> Cc: Narayana Prasad Raju Athreya <pathreya@marvell.com>; Anoob Joseph
> <anoobj@marvell.com>; Vamsi Krishna Attunuru <vattunuru@marvell.com>;
> dev@dpdk.org
> Subject: [EXT] RE: [PATCH 0/8] add OCTEON TX2 lookaside IPsec support
> 
> External Email
> 
> ----------------------------------------------------------------------
> Hi Tejasree,
> 
> > Subject: [PATCH 0/8] add OCTEON TX2 lookaside IPsec support
> >
> > This series adds lookaside IPsec support in OCTEON TX2 PMD.
> >
> > Features supported:
> > * IPv4
> > * ESP
> > * Tunnel mode
> > * AES-128/192/256-GCM
> >
> > This series is on top of
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__patches.dpdk.org_p
> >
> atch_71638_&d=DwIFAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=NjpqGUAf6Xc0ZLz
> xCvv4id
> > f8zRFeSJHioNlG1Wif1Gs&m=J9K0I-
> ZOYq6Mz9vdXTB5uFFJYMPfG7uJs70jHFHUPAM&s=
> > kJTL1Q2_FkUjVFuiLY0imNjDEFKT8oONrMrtCydYdtI&e=
> >
> 
> I believe this may need update in the documentation of the PMD.
> features/octeontx2.ini should also be updated.
> Also a release note entry should be added as this is a new feature added.
> 
[Tejasree] Sure. Will update documentation and release notes.

> Is there any test case addition in the test or test-crypto-perf? Or is it only
> Tested via ipsec-secgw?
> 
[Tejasree] It is tested only via ipsec-secgw.

> Regards,
> Akhil