]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Set the actions for offloaded rules properly
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 3 Nov 2016 23:48:46 +0000 (01:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2016 18:59:37 +0000 (14:59 -0400)
commit1a563539c7905c785ec69acd353539b9224c9039
tree234e882eb8be8f888b2802abb6a2d2c4617fe370
parent8099393aba3ad2ecbf6f2ec9e13f1724c680911e
net/mlx5: E-Switch, Set the actions for offloaded rules properly

As for the current generation of the mlx5 HW (CX4/CX4-Lx) per flow vlan
push/pop actions are emulated, we must not program them to the firmware.

Fixes: 45b821641ae9 ('net/mlx5: E-Switch, Support VLAN actions in the offloads mode')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Paul Blakey <paulb@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_offloads.c