mbox series

[0/4] Add rte_security in crypto_cn10k PMD

Message ID 1622653862-22830-1-git-send-email-anoobj@marvell.com (mailing list archive)
Headers show
Series Add rte_security in crypto_cn10k PMD | expand

Message

Anoob Joseph June 2, 2021, 5:10 p.m. UTC
Add rte_security (lookaside protocol - IPsec) support in crypto_cn10k.

IPsec operations can be offloaded to CPT's SE and IE engines, which
can process IPsec protcol operations including atomic sequence number
increment (for outbound operations) and anti replay window check (for
inbound operations).

Depends-on: series-17212 ("Add CPT in Marvell CNXK common driver")
Depends-on: series-17213 ("Add Marvell CNXK crypto PMDs")

Anoob Joseph (1):
  crypto/cnxk: add security capabilities

Srujana Challa (1):
  crypto/cnxk: add security ctx skeleton

Tejasree Kondoj (2):
  crypto/cnxk: add security session ops
  crypto/cnxk: add security handling in datapath ops

 drivers/crypto/cnxk/cn10k_cryptodev.c             |  12 +
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c         |  78 +++-
 drivers/crypto/cnxk/cn10k_ipsec.c                 | 520 ++++++++++++++++++++++
 drivers/crypto/cnxk/cn10k_ipsec.h                 |  38 ++
 drivers/crypto/cnxk/cn10k_ipsec_la_ops.h          |  74 +++
 drivers/crypto/cnxk/cnxk_cryptodev.h              |   4 +
 drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 114 +++++
 drivers/crypto/cnxk/cnxk_cryptodev_capabilities.h |   9 +-
 drivers/crypto/cnxk/cnxk_cryptodev_sec.c          |  48 ++
 drivers/crypto/cnxk/cnxk_cryptodev_sec.h          |  14 +
 drivers/crypto/cnxk/cnxk_ipsec.h                  |  18 +
 drivers/crypto/cnxk/meson.build                   |   4 +-
 12 files changed, 930 insertions(+), 3 deletions(-)
 create mode 100644 drivers/crypto/cnxk/cn10k_ipsec.c
 create mode 100644 drivers/crypto/cnxk/cn10k_ipsec.h
 create mode 100644 drivers/crypto/cnxk/cn10k_ipsec_la_ops.h
 create mode 100644 drivers/crypto/cnxk/cnxk_cryptodev_sec.c
 create mode 100644 drivers/crypto/cnxk/cnxk_cryptodev_sec.h
 create mode 100644 drivers/crypto/cnxk/cnxk_ipsec.h

Comments

Akhil Goyal June 16, 2021, 8:15 p.m. UTC | #1
> Add rte_security (lookaside protocol - IPsec) support in crypto_cn10k.
> 
> IPsec operations can be offloaded to CPT's SE and IE engines, which
> can process IPsec protcol operations including atomic sequence number
> increment (for outbound operations) and anti replay window check (for
> inbound operations).
> 
> Depends-on: series-17212 ("Add CPT in Marvell CNXK common driver")
> Depends-on: series-17213 ("Add Marvell CNXK crypto PMDs")
> 
Do you need any update in the documentation of the PMD for this patchset.
Please also update release notes appropriately.