]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Avoid ACLs in the offloads mode
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 18 Aug 2016 18:09:11 +0000 (21:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 23:09:56 +0000 (16:09 -0700)
commit524c17842a306c8cf62ac7e5391e4f0f2d3025c4
treeab661379a3a8c0c16c0974cd056d1e7b4b2c750c
parente0087b80502817f23fcdc590270045b8d3af5283
net/mlx5: E-Switch, Avoid ACLs in the offloads mode

When we are in the switchdev/offloads mode, HW matching is done as
dictated by the offloaded rules and hence we don't need to enable
the ACLs mechanism used by the legacy mode.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c