Currently, rte_flow API does not support matching ID and sequence fields of icmp6 echo packets.
This patchset is used to support match icmpv6 ID and sequence in rte_flow. It adds needed API in rte_flow, and gives corresponding implementation for mlx5 pmd. Leo Xu (3): ethdev: add ICMPv6 ID and sequence net/mlx5: add ICMPv6 ID and sequence match support net/mlx5/hws: add ICMPv6 ID and sequence match support --- v2: * rebase 23.03 app/test-pmd/cmdline_flow.c | 70 ++++++++++++++++ doc/guides/nics/mlx5.rst | 2 +- doc/guides/prog_guide/rte_flow.rst | 14 ++++ doc/guides/rel_notes/release_23_03.rst | 10 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 +++ drivers/net/mlx5/hws/mlx5dr_definer.c | 88 +++++++++++++++++++++ drivers/net/mlx5/mlx5_flow.c | 61 ++++++++++++++ drivers/net/mlx5/mlx5_flow.h | 4 + drivers/net/mlx5/mlx5_flow_dv.c | 76 ++++++++++++++++++ drivers/net/mlx5/mlx5_flow_hw.c | 2 + lib/ethdev/rte_flow.c | 4 + lib/ethdev/rte_flow.h | 25 ++++++ lib/net/meson.build | 1 + lib/net/rte_icmp6.h | 48 +++++++++++ 14 files changed, 414 insertions(+), 1 deletion(-) create mode 100644 lib/net/rte_icmp6.h -- 2.27.0