]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix rejecting all egress rules not on vlan
authorRoi Dayan <roid@mellanox.com>
Tue, 3 Mar 2020 09:18:53 +0000 (11:18 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 18 Mar 2020 02:41:28 +0000 (19:41 -0700)
commit0316c4c8a6b3d845a81976767c2e9078bec584e2
tree5828c5cfe450f80ba6f4e08f61b199c91ea2cb22
parent8ce18fd1ba5e3b567e5d58221f263a7a696bcd47
net/mlx5e: Fix rejecting all egress rules not on vlan

The original condition rejected all egress rules that
are not on tunnel device.
Also, the whole point of this egress reject was to disallow bad
rules because of egdev which doesn't exists today, so remove
this check entirely.

Fixes: 1808e03e9eda ("net/mlx5e: Support inner header rewrite with goto action")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c