linux-stable/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 net: ethernet: 8390: axnet_cs: remove unused xfer_count variable 2023-03-28 23:48:02 -07:00
actions
adaptec
adi net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
aeroflex
agere
alacritech
allwinner
alteon net: alteon: remove unused len variable 2023-04-02 13:43:43 +01:00
altera
amazon net: ena: removed unused tx_bytes variable 2023-03-29 21:39:35 -07:00
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 net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
atheros net: atheros: atl1c: remove unused atl1c_irq_reset function 2023-03-21 21:18:54 -07:00
broadcom Including fixes from netfilter. 2023-05-05 19:12:01 -07:00
brocade
cadence net: macb: Optimize reading HW timestamp 2023-04-13 22:16:09 -07:00
calxeda
cavium net: liquidio: Remove redundant pci_clear_master 2023-03-24 09:09:27 +00:00
chelsio Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
cirrus
cisco
cortina
davicom spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
dec
dlink
emulex net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
engleder tsnep: Add XDP socket zero-copy TX support 2023-04-24 18:22:38 -07:00
ezchip
faraday
freescale net: fec: correct the counting of XDP sent frames 2023-05-05 09:58:06 +01:00
fujitsu
fungible net/fungible: Remove redundant pci_clear_master 2023-03-24 09:09:27 +00:00
google gve: Remove the code of clearing PBA bit 2023-05-10 10:30:46 +01:00
hisilicon - Nick Piggin's "shoot lazy tlbs" series, to improve the peformance of 2023-04-27 19:42:02 -07:00
huawei
i825xx i825xx: sni_82596: use eth_hw_addr_set() 2023-03-16 17:35:21 -07:00
ibm mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
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 v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
micrel ksz884x: Remove unused functions 2023-04-12 09:38:19 +01:00
microchip lan966x: Don't use xdp_frame when action is XDP_TX 2023-04-24 18:58:04 -07:00
microsoft net: mana: Check if netdev/napi_alloc_frag returns single page 2023-04-24 18:08:34 -07:00
moxa
mscc net: mscc: ocelot: fix stat counter register values 2023-05-10 12:11:18 +01:00
myricom
natsemi net/sonic: use dma_mapping_error() for error check 2023-03-21 21:29:34 -07:00
neterion
netronome Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-26 10:17:46 +02:00
ni net: ni: drop of_match_ptr for ID table 2023-03-15 08:02:45 +00:00
nvidia
nxp
oki-semi
packetengines
pasemi net: pasemi: Fix return type of pasemi_mac_start_tx() 2023-03-21 13:48:35 +01:00
pensando ionic: catch failure from devlink_alloc 2023-05-03 09:14:47 +01:00
qlogic net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
qualcomm spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
rdc
realtek r8169: use new macro netif_subqueue_completed_wake in the tx cleanup path 2023-04-18 12:59:01 +02:00
renesas Revert "sh_eth: remove open coded netif_running()" 2023-03-28 19:23:32 -07:00
rocker
samsung net: samsung: sxgbe: drop of_match_ptr for ID table 2023-03-15 08:02:45 +00:00
seeq
sfc sfc: Fix module EEPROM reporting for QSFP modules 2023-05-01 07:34:04 +01:00
sgi
silan
sis
smsc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
socionext
stmicro net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register 2023-05-09 19:42:59 -07:00
sun Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
sunplus ethernet: remove superfluous clearing of phydev 2023-03-22 20:47:27 -07:00
synopsys
tehuti
ti Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
toshiba net/ps3_gelic_net: Use dma_mapping_error 2023-03-20 10:20:40 +00:00
tundra
vertexcom
via net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
wangxun net: libwx: fix memory leak in wx_setup_rx_resources 2023-04-20 15:39:15 +02:00
wiznet
xilinx net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
xircom xirc2ps_cs: Fix use after free bug in xirc2ps_detach 2023-03-19 10:42:02 +00:00
xscale
dnet.c
dnet.h
ec_bhf.c ethernet: ec_bhf: Remove redundant pci_clear_master 2023-03-24 09:09:28 +00:00
ethoc.c
fealnx.c eth: fealnx: bring back this old driver 2023-03-08 23:22:04 -08:00
jme.c
jme.h
Kconfig net: restore alpha order to Ethernet devices in config 2023-03-09 23:36:28 -08:00
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile eth: fealnx: bring back this old driver 2023-03-08 23:22:04 -08:00