mbox series

[v2,00/13] Add MACsec unit test cases

Message ID 20230607151940.223417-1-gakhil@marvell.com (mailing list archive)
Headers
Series Add MACsec unit test cases |

Message

Akhil Goyal June 7, 2023, 3:19 p.m. UTC
  Inline MACsec offload was supported in DPDK 22.11
using rte_security APIs.
This patchset adds few minor changes in the rte_security APIs
to specify the direction of SA/SC and update the SC configuration
to set packet number threshold.

The patchset also add functional test cases in dpdk-test app
to verify MACsec functionality.

This patchset is pending from last release [1] due to lack of
hardware to test. Now the test cases are verified on Marvell cnxk PMD
and the pmd support is added as a separate patchset.

[1] https://patches.dpdk.org/project/dpdk/cover/20220928124516.93050-1-gakhil@marvell.com/

Changes in v2:
- Added abignore for experimental APIs
- Fixed build

Akhil Goyal (10):
  security: add direction in SA/SC configuration
  security: add MACsec packet number threshold
  test/security: add inline MACsec cases
  test/security: add MACsec integrity cases
  test/security: verify multi flow MACsec
  test/security: add MACsec VLAN cases
  test/security: add MACsec negative cases
  test/security: verify MACsec stats
  test/security: verify MACsec Tx HW rekey
  test/security: remove no MACsec support case

Ankur Dwivedi (3):
  test/security: verify MACsec interrupts
  test/security: verify MACsec Rx rekey
  test/security: verify MACsec anti replay

 app/test/meson.build                          |    1 +
 app/test/test_security.c                      |   37 -
 app/test/test_security_inline_macsec.c        | 2332 ++++++++++
 .../test_security_inline_macsec_vectors.h     | 3895 +++++++++++++++++
 devtools/libabigail.abignore                  |    7 +
 lib/security/rte_security.c                   |   16 +-
 lib/security/rte_security.h                   |   24 +-
 lib/security/rte_security_driver.h            |   12 +-
 8 files changed, 6273 insertions(+), 51 deletions(-)
 create mode 100644 app/test/test_security_inline_macsec.c
 create mode 100644 app/test/test_security_inline_macsec_vectors.h