]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: add STU capability
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 10 May 2016 19:44:29 +0000 (15:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2016 23:34:23 +0000 (19:34 -0400)
commit0f14bd35d29a22481940e92dbb60fa66fdbf0598
tree3fb853c7ca7c68cdae61344267b44aef362c9382
parentb05f596c6304d6f45d276a7dfbb3f897088294f3
net: dsa: mv88e6xxx: add STU capability

Some switch models have a STU (per VLAN port state database). Add a new
capability flag to switches info, instead of checking their family.

Also if the 6165 family has an STU, it must have a VTU, so add the
MV88E6XXX_FLAG_VTU to its family flags.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h