]> 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)
commit8a26fac8436fd6afdaf51c4ff7bc6e5dc39a6687
tree0c2413999baeed5014c5d122d186453dfb0f657f
parent48c304b24d61abc853c583a36ffef46ee12dd684
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