]> 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)
commitd0645b3780954b7133d9a908009d166ae686bd2a
tree5828c5cfe450f80ba6f4e08f61b199c91ea2cb22
parent636bb96852398548bfc797dc29a2a6d4f95fc693
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: 0a7fcb78cc21 ("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