]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5a89cdb105c5c88e037094e4593a27a85bbc5c5
tree7a6b5c00220cb07d0f1f4691208e80410cdbc792
parent33802398ae05f6c388417cd34e0395bfac6ca2a5
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: f6c05ffa56ff ("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