[PATCH 0/5] Support and test inline MACsec for cnxk
Akhil Goyal
gakhil at marvell.com
Wed Sep 28 14:45:11 CEST 2022
These patches implement the rte_security MACsec APIs for net/cnxk
and also add test cases to test functionality.
MACsec APIs are introduced in http://patches.dpdk.org/project/dpdk/list/?series=24878
depends-on: http://patches.dpdk.org/project/dpdk/list/?series=24878
The patches are sent to showcase sample implementation and are not
complete. Final patches will be sent in next few weeks.
Akhil Goyal (5):
common/cnxk: add ROC APIs for MACsec
common/cnxk: derive hash key for MACsec
net/cnxk: support MACsec
test/security: add inline MACsec cases
test/security: add more MACsec cases
app/test/meson.build | 1 +
app/test/test_security_inline_macsec.c | 1126 +++++++
.../test_security_inline_macsec_vectors.h | 2639 +++++++++++++++++
drivers/common/cnxk/meson.build | 3 +
drivers/common/cnxk/roc_aes.c | 17 +
drivers/common/cnxk/roc_aes.h | 2 +
drivers/common/cnxk/roc_api.h | 3 +
drivers/common/cnxk/roc_dev.c | 86 +
drivers/common/cnxk/roc_mbox.h | 361 ++-
drivers/common/cnxk/roc_mcs.c | 347 +++
drivers/common/cnxk/roc_mcs.h | 431 +++
drivers/common/cnxk/roc_mcs_priv.h | 52 +
drivers/common/cnxk/roc_mcs_sec_cfg.c | 425 +++
drivers/common/cnxk/roc_mcs_stats.c | 230 ++
drivers/common/cnxk/roc_priv.h | 3 +
drivers/common/cnxk/version.map | 34 +
drivers/net/cnxk/cn10k_ethdev_mcs.c | 407 +++
drivers/net/cnxk/cn10k_ethdev_mcs.h | 59 +
drivers/net/cnxk/cn10k_ethdev_sec.c | 11 +-
drivers/net/cnxk/cn10k_flow.c | 14 +
drivers/net/cnxk/cnxk_ethdev.h | 31 +
drivers/net/cnxk/cnxk_ethdev_sec.c | 2 +-
drivers/net/cnxk/meson.build | 1 +
23 files changed, 6280 insertions(+), 5 deletions(-)
create mode 100644 app/test/test_security_inline_macsec.c
create mode 100644 app/test/test_security_inline_macsec_vectors.h
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/cn10k_ethdev_mcs.c
create mode 100644 drivers/net/cnxk/cn10k_ethdev_mcs.h
--
2.25.1
More information about the dev
mailing list