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. --- v2: * rebase 23.03 --- v3: * Merge content of rte_icmp6.h into rte_icmp.h. Just keep one header file(rte_icmp.h) for icmp. * Correct some code style problems. 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 .mailmap | 1 + app/test-pmd/cmdline_flow.c | 70 ++++++++++++++++ doc/guides/nics/features/default.ini | 2 + doc/guides/nics/features/mlx5.ini | 2 + doc/guides/nics/mlx5.rst | 4 +- doc/guides/prog_guide/rte_flow.rst | 14 ++++ doc/guides/rel_notes/release_23_03.rst | 9 +++ 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 | 2 + lib/ethdev/rte_flow.h | 24 ++++++ lib/net/rte_icmp.h | 22 ++++++ 16 files changed, 389 insertions(+), 2 deletions(-) -- 2.27.0