Skip to content

net/cnxk: add MACsec support

Akhil Goyal dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest15 patches 1 replyIn review
  2. v415 patches 1 replySuperseded
  3. v315 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v215 patches1 replySuperseded
v115 patches5 repliesSuperseded

Changes in v5 from the cover letter

- fix copyright year
- fix release notes
- fix checkpatch warning

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15common/cnxk: add ROC MACsec initializationdrivers/common/cnxk/meson.build drivers/common/cnxk/roc_api.h drivers/common/cnxk/roc_features.h +10 more+472 -10 replies
2/15common/cnxk: add MACsec SA configurationdrivers/common/cnxk/meson.build drivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.h +2 more+271 -00 replies
3/15common/cnxk: add MACsec SC configuration APIsdrivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.h drivers/common/cnxk/roc_mcs_sec_cfg.c +1 more+257 -00 replies
4/15common/cnxk: add MACsec secy and flow configurationdrivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.h drivers/common/cnxk/roc_mcs_sec_cfg.c +1 more+195 -00 replies
5/15common/cnxk: add MACsec PN and LMAC mode configurationdrivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.c drivers/common/cnxk/roc_mcs.h +2 more+212 -00 replies
6/15common/cnxk: add MACsec statsdrivers/common/cnxk/meson.build drivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.h +2 more+377 -00 replies
7/15common/cnxk: add MACsec interrupt APIsdrivers/common/cnxk/roc_dev.c drivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.c +3 more+394 -10 replies
8/15common/cnxk: add MACsec port configurationdrivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.c drivers/common/cnxk/roc_mcs.h +1 more+438 -00 replies
9/15common/cnxk: add MACsec control port configurationdrivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.c drivers/common/cnxk/roc_mcs.h +1 more+258 -00 replies
10/15common/cnxk: add MACsec FIPS mboxdrivers/common/cnxk/roc_mbox.h drivers/common/cnxk/roc_mcs.h+143 -00 replies
11/15common/cnxk: derive hash key for MACsecdrivers/common/cnxk/roc_aes.c drivers/common/cnxk/roc_aes.h drivers/common/cnxk/version.map+60 -310 replies
12/15net/cnxk: add MACsec initializationdrivers/net/cnxk/cn10k_ethdev_sec.c drivers/net/cnxk/cnxk_ethdev.c drivers/net/cnxk/cnxk_ethdev.h +3 more+251 -00 replies
13/15net/cnxk: create/destroy MACsec SC/SAdrivers/net/cnxk/cn10k_ethdev_sec.c drivers/net/cnxk/cnxk_ethdev_mcs.c drivers/net/cnxk/cnxk_ethdev_mcs.h+274 -40 replies
14/15net/cnxk: add MACsec session and flow configurationdrivers/net/cnxk/cn10k_ethdev_sec.c drivers/net/cnxk/cn10k_flow.c drivers/net/cnxk/cnxk_ethdev.c +5 more+342 -40 replies
15/15net/cnxk: add MACsec statsdoc/guides/rel_notes/release_23_07.rst drivers/net/cnxk/cn10k_ethdev_sec.c drivers/net/cnxk/cnxk_ethdev_mcs.c +1 more+87 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 00/15] net/cnxk: add MACsec support

Added MACsec support in Marvell cnxk PMD. The patchset is pending from last release [1] Sending as a new series as the functionality is now complete and tested on hardware.

[1] https://patches.dpdk.org/project/dpdk/cover/[email protected]/

Changes in v5:
- fix copyright year
- fix release notes
- fix checkpatch warning

Changes in v4:
Fix build with RHEL/CentOS

Changes in v3:
- rebased
- fixed warning PRI*64
- added release notes

Changes in v2:
- Addressed review comments from Jerin.

Akhil Goyal (15):
common/cnxk: add ROC MACsec initialization common/cnxk: add MACsec SA configuration common/cnxk: add MACsec SC configuration APIs common/cnxk: add MACsec secy and flow configuration common/cnxk: add MACsec PN and LMAC mode configuration common/cnxk: add MACsec stats
common/cnxk: add MACsec interrupt APIs common/cnxk: add MACsec port configuration common/cnxk: add MACsec control port configuration common/cnxk: add MACsec FIPS mbox common/cnxk: derive hash key for MACsec net/cnxk: add MACsec initialization
net/cnxk: create/destroy MACsec SC/SA net/cnxk: add MACsec session and flow configuration net/cnxk: add MACsec stats

 doc/guides/rel_notes/release_23_07.rst |  10 +-
 drivers/common/cnxk/meson.build        |   3 +
 drivers/common/cnxk/roc_aes.c          |  86 ++-
 drivers/common/cnxk/roc_aes.h          |   4 +-
 drivers/common/cnxk/roc_api.h          |   3 +
 drivers/common/cnxk/roc_dev.c          |  86 +++
 drivers/common/cnxk/roc_features.h     |  12 +
 drivers/common/cnxk/roc_idev.c         |  46 ++
 drivers/common/cnxk/roc_idev.h         |   3 +
 drivers/common/cnxk/roc_idev_priv.h    |   1 +
 drivers/common/cnxk/roc_mbox.h         | 524 ++++++++++++++-
 drivers/common/cnxk/roc_mcs.c          | 871 +++++++++++++++++++++++++
 drivers/common/cnxk/roc_mcs.h          | 624 ++++++++++++++++++
 drivers/common/cnxk/roc_mcs_priv.h     |  73 +++
 drivers/common/cnxk/roc_mcs_sec_cfg.c  | 528 +++++++++++++++
 drivers/common/cnxk/roc_mcs_stats.c    | 193 ++++++
 drivers/common/cnxk/roc_priv.h         |   3 +
 drivers/common/cnxk/roc_utils.c        |   5 +
 drivers/common/cnxk/version.map        |  45 ++
 drivers/net/cnxk/cn10k_ethdev_sec.c    |  25 +-
 drivers/net/cnxk/cn10k_flow.c          |  23 +-
 drivers/net/cnxk/cnxk_ethdev.c         |  15 +
 drivers/net/cnxk/cnxk_ethdev.h         |  30 +
 drivers/net/cnxk/cnxk_ethdev_mcs.c     | 730 +++++++++++++++++++++
 drivers/net/cnxk/cnxk_ethdev_mcs.h     | 116 ++++
 drivers/net/cnxk/cnxk_ethdev_sec.c     |   2 +-
 drivers/net/cnxk/cnxk_flow.c           |   5 +
 drivers/net/cnxk/meson.build           |   1 +
 28 files changed, 4025 insertions(+), 42 deletions(-)
 create mode 100644 drivers/common/cnxk/roc_mcs.c
 create mode 100644 drivers/common/cnxk/roc_mcs.h
 create mode 100644 drivers/common/cnxk/roc_mcs_priv.h
 create mode 100644 drivers/common/cnxk/roc_mcs_sec_cfg.c
 create mode 100644 drivers/common/cnxk/roc_mcs_stats.c
 create mode 100644 drivers/net/cnxk/cnxk_ethdev_mcs.c
 create mode 100644 drivers/net/cnxk/cnxk_ethdev_mcs.h
Signature · 1 line
2.25.1