linux/drivers/net/dsa/b53
Florian Fainelli cd169d799b net: dsa: b53: Bound check ARL searches
ARL searches are done by reading two ARL entries at a time, do not cap
the search at 1024 which would only limit us to half of the possible ARL
capacity, but use b53_max_arl_entries() instead which does the right
multiplication between bins and indexes.

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>
2020-04-30 17:43:29 -07:00
..
b53_common.c net: dsa: b53: Bound check ARL searches 2020-04-30 17:43:29 -07:00
b53_mdio.c net: dsa: b53: Add BCM5389 support 2018-06-01 11:15:42 -04:00
b53_mmap.c net: dsa: b53: Fix sparse warnings in b53_mmap.c 2018-04-04 11:15:27 -04:00
b53_priv.h net: dsa: b53: Bound check ARL searches 2020-04-30 17:43:29 -07:00
b53_regs.h net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL 2020-04-22 12:50:41 -07:00
b53_serdes.c net: dsa: b53: Don't assign autonegotiation enabled 2018-09-21 19:57:03 -07:00
b53_serdes.h net: dsa: b53: Use the correct style for SPDX License Identifier 2019-09-22 15:24:51 -07:00
b53_spi.c net: dsa: b53: remove .owner and .bus fields for driver 2016-08-14 21:24:25 -07:00
b53_srab.c net: dsa: b53: per-port interrupts are optional 2020-04-18 15:49:39 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile net: dsa: b53: Add SerDes support 2018-09-06 07:48:34 -07:00