Openwrt/target/linux
Thibaut VARENE c30a70fc9f generic: make switch_port_stats tx/rx_bytes long long
This generic structure defines tx_bytes and rx_bytes as unsigned long (u32),
while several devices would typically report unsigned long long (u64).

The code can work as is, but there's a chance that with a sufficiently fast
interface the overflow might happen too fast to be correctly noticed by the
consumers of this data.

This patch makes both field unsigned long long and updates the only known
consumer of this data: swconfig_leds.c

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
2017-09-01 09:30:35 +02:00
..
adm5120
adm8668
apm821xx
ar7
ar71xx kernel: update 4.4 to 4.4.85 2017-08-31 19:14:52 +02:00
arc770
archs38
armvirt
at91
ath25
au1000
bcm53xx bcm53xx: backport DTS commits that setup USB LEDs 2017-08-17 10:29:31 +02:00
brcm47xx
brcm63xx brcm63xx: Add Comtrend AR-5315u support 2017-08-26 12:03:55 +02:00
brcm2708 brcm2708: bcm2710: do not activate neon-vfpv4 manually 2017-08-26 12:35:44 +02:00
cns3xxx
gemini
generic generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00
imx6 imx6: add driver for temp/voltage monitoring 2017-08-18 18:47:11 +02:00
ipq806x ipq806x: Archer C2600: fix switch ports numbering 2017-08-24 08:39:12 +02:00
ixp4xx
kirkwood
lantiq lantiq: ACMP252: clean up device modules 2017-08-29 02:21:09 +02:00
layerscape layerscape: do not add custom CFLAGS. 2017-08-26 12:36:02 +02:00
malta
mcs814x
mediatek mediatek: various additional ethernet fixes 2017-08-30 17:05:10 +02:00
mpc85xx
mvebu kernel: update 4.4 to 4.4.83 2017-08-17 14:31:45 +02:00
mxs
octeon
omap
omap24xx
orion
oxnas
pistachio kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
ppc40x
ppc44x
ramips ramips: provide get_port_stats() on mt7530/762x switches 2017-09-01 09:30:35 +02:00
rb532
sunxi
uml
x86
xburst
zynq
Makefile