linux/drivers/net/dsa/microchip
Ben Hutchings 3a24e12130 net: dsa: microchip: ksz8795: Use software untagging on CPU port
commit 9130c2d30c upstream.

On the CPU port, we can support both tagged and untagged VLANs at the
same time by doing any necessary untagging in software rather than
hardware.  To enable that, keep the CPU port's Remove Tag flag cleared
and set the dsa_switch::untag_bridge_pvid flag.

Fixes: e66f840c08 ("net: dsa: ksz: Add Microchip KSZ8795 DSA driver")
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backport to 5.10: adjust context]
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-18 08:59:19 +02:00
..
Kconfig net: dsa: ksz: Select KSZ protocol tag 2020-03-31 10:04:40 -07:00
ksz_common.c net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port 2021-08-18 08:59:19 +02:00
ksz_common.h net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration 2021-08-18 08:59:19 +02:00
ksz8795_reg.h
ksz8795_spi.c net: dsa: microchip: Add shared regmap mutex 2019-10-17 15:38:46 -04:00
ksz8795.c net: dsa: microchip: ksz8795: Use software untagging on CPU port 2021-08-18 08:59:19 +02:00
ksz9477_i2c.c net: dsa: microchip: add ksz9563 to ksz9477 I2C driver 2020-10-09 13:05:56 -07:00
ksz9477_reg.h
ksz9477_spi.c net: dsa: microchip: enable module autoprobe 2020-02-07 18:45:12 +01:00
ksz9477.c net: dsa: microchip: enable phy errata workaround on 9567 2021-06-16 12:01:37 +02:00
Makefile