linux/drivers/net
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
..
appletalk
arcnet
bonding bonding: fix send_peer_notif overflow 2023-05-10 09:27:20 +01:00
caif
can
dsa net: dsa: mt7530: fix network connectivity with multiple CPU ports 2023-05-05 09:22:04 +01:00
ethernet net: mscc: ocelot: fix stat counter register values 2023-05-10 12:11:18 +01:00
fddi net: fddi: skfp: rmt: Clean up some inconsistent indenting 2023-04-11 12:46:26 +02:00
fjes
hamradio hamradio: drop ISA_DMA_API dependency 2023-04-19 13:11:41 +01:00
hippi
hyperv hv_netvsc: Remove second mapping of send and recv buffers 2023-04-17 19:19:04 +00:00
ieee802154 spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
ipa
ipvlan ipvlan:Fix out-of-bounds caused by unclear skb->cb 2023-05-10 10:33:06 +01:00
mctp
mdio net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() 2023-05-07 14:59:02 +01:00
netdevsim
pcs net: pcs: xpcs: fix incorrect number of interfaces 2023-05-10 10:25:02 +01:00
phy net: phy: bcm7xx: Correct read from expansion register 2023-05-09 20:25:52 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt net: thunderbolt: Fix typos in comments 2023-04-12 21:09:12 -07:00
usb r8152: fix the autosuspend doesn't work 2023-05-03 09:12:10 +01:00
vmxnet3 net: vmxnet3: Fix NULL pointer dereference in vmxnet3_rq_rx_complete() 2023-04-19 09:03:05 +01:00
vxlan
wan spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
wireguard
wireless Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
wwan Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
xen-netback
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig net: veth: add page_pool stats 2023-04-24 18:07:08 -07:00
LICENSE.SRC
loopback.c
macsec.c macsec: Don't rely solely on the dst MAC address to identify destination MACsec device 2023-04-21 08:22:15 +01:00
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: add vlan_get_protocol_and_depth() helper 2023-05-10 10:25:55 +01:00
tun.c Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
veth.c net: veth: add page_pool stats 2023-04-24 18:07:08 -07:00
virtio_net.c virtio_net: suppress cpu stall when free_unused_bufs 2023-05-05 09:30:28 +01:00
vrf.c
vsockmon.c
xen-netfront.c