linux-mainline/drivers/net/ethernet
Colin Foster cdc2e28e21 net: mscc: ocelot: fix stat counter register values
Commit d4c3676507 ("net: mscc: ocelot: keep ocelot_stat_layout by reg
address, not offset") organized the stats counters for Ocelot chips, namely
the VSC7512 and VSC7514. A few of the counter offsets were incorrect, and
were caught by this warning:

WARNING: CPU: 0 PID: 24 at drivers/net/ethernet/mscc/ocelot_stats.c:909
ocelot_stats_init+0x1fc/0x2d8
reg 0x5000078 had address 0x220 but reg 0x5000079 has address 0x214,
bulking broken!

Fix these register offsets.

Fixes: d4c3676507 ("net: mscc: ocelot: keep ocelot_stat_layout by reg address, not offset")
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-10 12:11:18 +01:00
..
3com
8390
actions
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd pds_core: fix mutex double unlock in error path 2023-05-05 10:02:47 +01:00
apm
apple
aquantia Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2023-05-05 13:35:45 -07:00
arc
asix
atheros
broadcom Including fixes from netfilter. 2023-05-05 19:12:01 -07:00
brocade
cadence
calxeda
cavium
chelsio
cirrus
cisco
cortina
davicom
dec
dlink
emulex
engleder
ezchip
faraday
freescale net: fec: correct the counting of XDP sent frames 2023-05-05 09:58:06 +01:00
fujitsu
fungible
google gve: Remove the code of clearing PBA bit 2023-05-10 10:30:46 +01:00
hisilicon
huawei
i825xx
ibm
intel ice: block LAN in case of VF to VF offload 2023-05-05 09:29:21 +01:00
litex
marvell octeontx2-vf: Detach LF resources on probe cleanup 2023-05-03 09:03:00 +01:00
mediatek net: ethernet: mtk_eth_soc: fix NULL pointer dereference 2023-05-10 09:23:53 +01:00
mellanox
micrel
microchip
microsoft
moxa
mscc net: mscc: ocelot: fix stat counter register values 2023-05-10 12:11:18 +01:00
myricom
natsemi
neterion
netronome
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando ionic: catch failure from devlink_alloc 2023-05-03 09:14:47 +01:00
qlogic
qualcomm
rdc
realtek
renesas
rocker
samsung
seeq
sfc
sgi
silan
sis
smsc
socionext
stmicro net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register 2023-05-09 19:42:59 -07:00
sun
sunplus
synopsys
tehuti
ti
toshiba
tundra
vertexcom
via
wangxun
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile