]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/mlx5e: Disable VLAN filter in promiscuous mode
authorAchiad Shochat <achiad@mellanox.com>
Thu, 8 Oct 2015 12:26:18 +0000 (15:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:43:43 +0000 (07:43 -0700)
commitc07543431e9f3d126d083808efa0e76461d8833b
tree5a936bc78cf541a5dba8df81b481449a9214e48a
parent13b7938883ea6e70e7e23f30dece6f79d7a2961d
net/mlx5e: Disable VLAN filter in promiscuous mode

When the device was set to promiscuous mode, we didn't disable
VLAN filtering, which is wrong behaviour, fix that.

Now when the device is set to promiscuous mode RX packets
sent over any VLAN (or no VLAN tag at all) will be accepted.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_flow_table.c