[dpdk-dev] [PATCH v2 0/4] Add rte_security in crypto_cn10k PMD

Anoob Joseph anoobj at marvell.com
Fri Jun 25 08:15:04 CEST 2021


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-17482 ("Add CPT in Marvell CNXK common driver")
Depends-on: series-17483 ("Add Marvell CNXK crypto PMDs")

Changes in v2:
- Rearranged capability additions & feature flag updates as suggested by Akhil
- Rebased on v2 of dependant series

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

 doc/guides/cryptodevs/cnxk.rst                    |  24 ++
 doc/guides/cryptodevs/features/cn10k.ini          |   1 +
 drivers/crypto/cnxk/cn10k_cryptodev.c             |  12 +
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c         |  78 +++++-
 drivers/crypto/cnxk/cn10k_ipsec.c                 | 275 ++++++++++++++++++++++
 drivers/crypto/cnxk/cn10k_ipsec.h                 |  36 +++
 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                  |  20 ++
 drivers/crypto/cnxk/meson.build                   |   6 +-
 14 files changed, 712 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

-- 
2.7.4



More information about the dev mailing list