android_kernel_sony_sdm845/drivers/net/dsa
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Florian Fainelli 34e95e9f1f net: dsa: b53: Rework ARL bin logic
[ Upstream commit 6344dbde6a27d10d16246d734b968f84887841e2 ]

When asking the ARL to read a MAC address, we will get a number of bins
returned in a single read. Out of those bins, there can essentially be 3
states:

- all bins are full, we have no space left, and we can either replace an
  existing address or return that full condition

- the MAC address was found, then we need to return its bin index and
  modify that one, and only that one

- the MAC address was not found and we have a least one bin free, we use
  that bin index location then

The code would unfortunately fail on all counts.

Fixes: 1da6df85c6 ("net: dsa: b53: Implement ARL add/del/dump operations")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-10 10:28:02 +02:00
..
b53 net: dsa: b53: Rework ARL bin logic 2020-05-10 10:28:02 +02:00
mv88e6xxx net: dsa: mv88e6xxx: wait after reset deactivation 2019-08-04 09:33:33 +02:00
bcm_sf2.c net: dsa: bcm_sf2: Ensure correct sub-node is parsed 2020-04-13 10:32:54 +02:00
bcm_sf2.h net: dsa: bcm_sf2: Get VLAN_PORT_MASK from b53_device 2016-09-11 19:37:02 -07:00
bcm_sf2_regs.h net: dsa: bcm_sf2: Remove duplicate code 2016-08-26 13:15:48 -07:00
Kconfig net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00
Makefile net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00
mv88e6060.c mv88e6060: disable hardware level MAC learning 2018-12-21 14:11:38 +01:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00
qca8k.c net: dsa: qca8k: Enable delay for RGMII_ID mode 2020-01-29 10:24:16 +01:00
qca8k.h net: dsa: qca8k: Enable delay for RGMII_ID mode 2020-01-29 10:24:16 +01:00