net/mlx5: fix ICMPv6 header rewrite actions
authorShiri Kuzin <shirik@mellanox.com>
Wed, 22 Jan 2020 14:37:54 +0000 (14:37 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commit0e2ceb639d8a32b7221d5fd2acba8a3798cb35d0
tree743260bb2a7b9e9d1354201e8f45929340b94fad
parent813f9bfa12c93737472f0eefe0e1a7d30502e532
net/mlx5: fix ICMPv6 header rewrite actions

The ConnectX-5 HW cannot calculate the checksum for ICMPv6,
therefore flows with pattern 'ipv6 proto is 58' with actions that change
the header should be rejected. the actions that change the header
in this type of flow are 'set_ipv6_src' and 'set_ipv6_dst'.

Fixes: 4bb14c83df95 ("net/mlx5: support modify header using Direct Verbs")
Cc: stable@dpdk.org
Signed-off-by: Shiri Kuzin <shirik@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c