net/mlx5: fix RSS action for tunneled packets
authorShahaf Shuler <shahafs@mellanox.com>
Thu, 26 Oct 2017 17:41:57 +0000 (20:41 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:05 +0000 (22:17 +0100)
commit5b3c4b054c42d95d7e8e02fe37c4be4d6836bbff
tree6e9d772d3c700efa64aa9609f71248f6d41f3777
parenta8c839a675bd4f2ae6a84df633f6c99916266d2a
net/mlx5: fix RSS action for tunneled packets

The flow engine in mlx5 searches for the most specific layer in the
pattern in order to set the flow rule priority properly.

Since the RSS can be currently performed only for the outer headers, avoid
updating the layer for the inner headers.

Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow")

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_flow.c