]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7384ca1a9ff192fea881f16273b8f6a2f97745d7
tree0c2413999baeed5014c5d122d186453dfb0f657f
parent2913b7387047da14f74cc086a9ed462ed267bd58
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