]> 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)
commitb10723c71d7a9c580d303b4a668cda72d64ebad8
tree7a6b5c00220cb07d0f1f4691208e80410cdbc792
parent0066d0c30c3e3dc01e93661aa338f581b33ca6c5
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: 09d75fc1e83a ("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