net/mlx5e: Use the inner headers to determine tc/pedit offload limitation on decap...
authorGuy Shattah <sguy@mellanox.com>
Mon, 28 Jan 2019 13:58:07 +0000 (13:58 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 5 Feb 2019 20:10:19 +0000 (12:10 -0800)
commit1651925d403e077e3fc86f961905e27c6810e132
tree7a6b5c00220cb07d0f1f4691208e80410cdbc792
parent6363651d6dd79694d586f4ae68967036dd14bc3a
net/mlx5e: Use the inner headers to determine tc/pedit offload limitation on decap flows

In packets that need to be decaped the internal headers
have to be checked, not the external ones.

Fixes: bdd66ac0aeed ("net/mlx5e: Disallow TC offloading of unsupported match/action combinations")
Signed-off-by: Guy Shattah <sguy@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c