net: mscc: ocelot: rename aggr_count to num_ports_in_lag
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 5 Feb 2021 22:02:18 +0000 (00:02 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Feb 2021 22:51:51 +0000 (14:51 -0800)
commit21357b614d3fcf8203b32468d1c8e6332ea25aa1
tree0c2413999baeed5014c5d122d186453dfb0f657f
parent528d3f190c98c8f7d9581f68db4af021696727b2
net: mscc: ocelot: rename aggr_count to num_ports_in_lag

It makes it a bit easier to read and understand the code that deals with
balancing the 16 aggregation codes among the ports in a certain LAG.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mscc/ocelot.c