commit | 90b6dbdf415e74b5a317f1d6069c48eb731a0b7a | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Fri Sep 18 21:11:06 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 18 18:17:45 2020 -0700 |
tree | 10c698b9e9b9991cffb69247cacd134b471b8f53 | |
parent | 9dd43aa211809f5c6641fa6c11a7eaf1514e5d53 [diff] |
net: dsa: mv88e6xxx: Create helper for FIDs in use Refactor the code in mv88e6xxx_atu_new() which builds a bitmaps of FIDs in use into a helper function. This will be reused by the devlink code when dumping the ATU. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>