net: dsa: mv88e6xxx: Add number of MACs in the ATU
[ Upstream commit d9ea56206c4df77175321874544eb4ca48c0bac8 ]
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>
Stable-dep-of: b9a61c20179f ("net: dsa: mv88e6xxx: Fix number of databases for 88E6141 / 88E6341")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4b1f3253bfa5a709d0c0003e3272c5a284a36771)
[Vegard: fix conflict in context due to missing commit
bc3931557d1d55584100b1ffefc248137b5cb7e1 ("net: dsa: mv88e6xxx: Add
number of internal PHYs").]
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2 files changed