openwrtv3/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 treewide: populate boardname and model earlier 2017-07-15 23:13:34 +02:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx kernel: update kernel 4.9 to version 4.9.40 2017-07-28 22:46:17 +02:00
ar7 ar7: add NULL clock fix send upstream 2017-07-29 09:24:17 +02:00
ar71xx kernel: update 4.4 to 4.4.85 2017-08-31 19:14:52 +02:00
arc770 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
archs38 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
armvirt kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
at91 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
ath25 kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
au1000 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
bcm53xx bcm53xx: backport DTS commits that setup USB LEDs 2017-08-17 10:29:31 +02:00
brcm47xx brcm47xx: fix switch port mapping on Asus RT-N12 and RT-N16 models 2017-07-21 08:09:45 +02:00
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 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
gemini kernel: use .patch extension for all patches 2017-06-27 06:37:46 +02:00
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 treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
kirkwood treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
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 kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
mcs814x treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
mediatek mediatek: various additional ethernet fixes 2017-08-30 17:05:10 +02:00
mpc85xx treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
mvebu kernel: update 4.4 to 4.4.83 2017-08-17 14:31:45 +02:00
mxs treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
octeon treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
omap kernel: cleanup CONFIG_SCHED_HRTICK 2017-06-29 04:46:59 +02:00
omap24xx treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
orion treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
oxnas kernel: update kernel 4.4 to version 4.4.79 2017-07-28 22:46:26 +02:00
pistachio kernel: update 4.9 to 4.9.44 2017-08-17 12:34:34 +02:00
ppc40x treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips ramips: provide get_port_stats() on mt7530/762x switches 2017-09-01 09:30:35 +02:00
rb532 kernel: update kernel 4.4 to version 4.4.79 2017-07-28 22:46:26 +02:00
sunxi treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
uml kernel: update kernel 4.4 to version 4.4.79 2017-07-28 22:46:26 +02:00
x86 x86: Fix xen serial console by removing conflicting PATA driver 2017-07-16 11:31:52 +02:00
xburst xburst: enable high-res timers, refresh kernel config 2017-06-07 18:31:10 +02:00
zynq treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
Makefile