linux-stable/drivers/net/ethernet/microchip/lan966x
Horatiu Vultur 0c94d657d2 net: lan966x: Fix the vlan used by host ports
The blamed commit changed the vlan used by the host ports to be 4095
instead of 0.
Because of this change the following issues are seen:
- when the port is probed first it was adding an entry in the MAC table
  with the wrong vlan (port->pvid which is default 0) and not HOST_PVID
- when the port is removed from a bridge, it was using the wrong vlan to
  add entries in the MAC table. It was using the old PVID and not the
  HOST_PVID

This patch fixes this two issues by using the HOST_PVID instead of
port->pvid.

Fixes: 6d2c186afa ("net: lan966x: Add vlan support.")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-12-27 12:16:30 +00:00
..
Kconfig net: lan966x: Add support to offload the forwarding. 2021-12-20 11:44:05 +00:00
lan966x_ethtool.c net: lan966x: add ethtool configuration and statistics 2021-11-29 12:58:38 +00:00
lan966x_fdb.c net: lan966x: Extend switchdev with fdb support 2021-12-20 11:44:06 +00:00
lan966x_ifh.h
lan966x_mac.c net: lan966x: More MAC table functionality 2021-12-20 11:44:05 +00:00
lan966x_main.c net: lan966x: Fix the vlan used by host ports 2021-12-27 12:16:30 +00:00
lan966x_main.h net: lan966x: Add support for multiple bridge flags 2021-12-23 11:19:06 +00:00
lan966x_phylink.c
lan966x_port.c net: lan966x: Fix the configuration of the pcs 2021-12-13 14:39:41 +00:00
lan966x_regs.h net: lan966x: Add support for multiple bridge flags 2021-12-23 11:19:06 +00:00
lan966x_switchdev.c net: lan966x: Add support for multiple bridge flags 2021-12-23 11:19:06 +00:00
lan966x_vlan.c net: lan966x: Extend switchdev with fdb support 2021-12-20 11:44:06 +00:00
Makefile net: lan966x: Extend switchdev with fdb support 2021-12-20 11:44:06 +00:00