]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Rename num_arl_entries to num_arl_bins
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 30 Apr 2020 18:49:08 +0000 (11:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 00:43:29 +0000 (17:43 -0700)
commit443faa14acc71441dfda7ca03392117aa212546f
tree86af83bed16c2a174ac5e3cd83f60cc766ef8d43
parentd1482dee0ba0c4346b2410f4f52beea312e0cc57
net: dsa: b53: Rename num_arl_entries to num_arl_bins

The variable currently holds the number of ARL bins per ARL buckets,
which is different from the number of ARL entries which would be bins
times buckets. We will be adding a num_arl_buckets in a subsequent patch
so get variables straight now.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h