]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Add number of MACs in the ATU
authorAndrew Lunn <andrew@lunn.ch>
Tue, 5 Nov 2019 00:12:58 +0000 (01:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 02:09:45 +0000 (18:09 -0800)
commit14ab68325cd696c19ceefdaecc45307977dbdd4e
treef0ddfd9be6d3ff1da9e666851a672dc20f693ece
parent71faa97eeb8c457fd460c365356e452a3f9ed193
net: dsa: mv88e6xxx: Add number of MACs in the ATU

For each supported switch, add an entry to the info structure for the
number of MACs which can be stored in the ATU. This will later be used
to export the ATU as a devlink resource, and indicate its occupancy,
how full the ATU is.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h