Xiaoyu Min d53aa89aea net/mlx5: support matching on ICMP/ICMP6
On DV/DR flow engine, MLX5 can match on ICMP/ICMP6's code and type field
via FLEX Parser, which can be enabled by config FW using FLEX Parser
profile 2:

mlxconfig -d <mst device> -y set FLEX_PARSER_PROFILE_ENABLE=2

The testpmd commands could be:

  testpmd> flow create 0 ingress pattern eth / ipv4 /
           icmp type is 8 code is 0 / end
	   actions rss queues 0 1 end / end

  testpmd> flow create 0 ingress pattern  eth / ipv6 /
           icmp6 type is 128 code is 0 / end
	   actions rss queues 0 1 end / end

Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-07-08 21:26:52 +02:00
..
2018-09-28 01:41:03 +02:00
2017-10-06 02:49:47 +02:00
2017-04-04 19:02:45 +02:00
2018-10-26 22:14:05 +02:00
2019-07-05 02:15:55 +02:00
2019-06-28 20:31:49 +02:00
2019-05-03 18:45:22 +02:00
2019-01-18 09:47:26 +01:00
2018-02-08 18:42:14 +01:00
2019-04-19 14:51:54 +02:00
2019-05-24 13:34:45 +02:00
2019-07-03 12:57:30 +02:00
2018-11-22 10:31:52 +01:00
2018-10-26 22:14:05 +02:00