]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: support the VTU Page bit
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 1 May 2017 18:05:26 +0000 (14:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 19:03:13 +0000 (15:03 -0400)
commit0deebd4d241a1fe7931bc1c2981f742763500d22
treeb0db4be986c64957038facc6ba4e69d0bff55ba3
parentdb382a408990cc6feb863467e38532346a678338
net: dsa: mv88e6xxx: support the VTU Page bit

Newer chips such as the 88E6390 have a VTU Page bit in the VTU VID
register to specify a 13th bit for the VID. This can be used to support
8K VLANs.

When dumping the whole VTU, all VID bits must be set to one, including
this VTU Page bit. Add support for VID greater than 4095.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global1_vtu.c
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h