]> 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)
commit855cfcd1f06d2db27c2ffaf1d7ced656781dbfc1
treeb0db4be986c64957038facc6ba4e69d0bff55ba3
parent98ea212ed2b9b10d5366bd57130ead995bc20eaa
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