]> git.baikalelectronics.ru Git - kernel.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)
commit35f1e7e9799d9eb36e01a382b6922beb0712ee42
tree5a936bc78cf541a5dba8df81b481449a9214e48a
parented9bec6e7d30338591b94fe2a49cdd22d52ad9d9
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