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 app/test-pmd/cmdline_flow.c | 70 +++++++++++++ doc/guides/nics/mlx5.rst | 2 +- doc/guides/prog_guide/rte_flow.rst | 14 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 ++ 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 + drivers/net/mlx5/steering/mlx5dr_definer.c | 110 ++++++++++++++++++-- drivers/net/mlx5/steering/mlx5dr_definer.h | 6 +- lib/librte_ethdev/rte_flow.c | 4 + lib/librte_ethdev/rte_flow.h | 25 +++++ lib/librte_net/meson.build | 3 +- lib/librte_net/rte_icmp6.h | 48 +++++++++ 14 files changed, 419 insertions(+), 16 deletions(-) create mode 100644 lib/librte_net/rte_icmp6.h -- 2.27.0