linux/drivers/net/ethernet/rocker
Scott Feldman 027e00dc0b rocker: install/remove router MAC for untagged VLAN when joining/leaving bridge
When the port joins a bridge, the port's internal VLAN ID needs to change
to the bridge's internal VLAN ID.  Likewise, when leaving the bridge, the
internal VLAN ID reverts back the port's original internal VLAN ID.  (The
internal VLAN ID is used by device to internally mark untagged pkts with
some VLAN, which will eventually be removed on egress...think PVID).  When
the internal VLAN ID changes, we need to update the VLAN table entries and
the router MAC entries for IP/IPv6 to reflect the new internal VLAN ID.

This patch makes use of the common rocker_port_vlan_add/del functions to
make sure the tables are updated for the current internal VLAN ID.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-01 17:00:09 -07:00
..
Kconfig net: ethernet: rocker: Add dependency to CONFIG_BRIDGE in Kconfig 2014-12-09 15:26:43 -05:00
Makefile
rocker.c rocker: install/remove router MAC for untagged VLAN when joining/leaving bridge 2015-06-01 17:00:09 -07:00
rocker.h rocker: make checkpatch -f clean 2015-05-12 18:43:56 -04:00