openwrtv4/target/linux/generic/files/drivers/net/phy
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
..
b53 generic: provide get_port_stats() on b53 switches 2017-09-01 09:30:35 +02:00
adm6996.c generic: provide get_port_stats() on adm6996 switches 2017-09-01 09:30:35 +02:00
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ar8216.c generic: provide get_port_stats() on ar8xxx switches 2017-09-01 09:30:35 +02:00
ar8216.h generic: provide get_port_stats() on ar8xxx switches 2017-09-01 09:30:35 +02:00
ar8327.c generic: provide get_port_stats() on ar8xxx switches 2017-09-01 09:30:35 +02:00
ar8327.h ar8327: Add workarounds for AR8337 switch. 2017-03-30 09:48:52 +02:00
ip17xx.c ip17xx: correct aneg_done return value 2017-06-07 11:06:29 +02:00
mvsw61xx.c mvsw61xx: add support for MV88E6352 2017-01-13 17:12:40 +01:00
mvsw61xx.h mvsw61xx: add support for MV88E6352 2017-01-13 17:12:40 +01:00
mvswitch.c mvswitch: fix autonegotiation issue 2017-06-07 11:06:12 +02:00
mvswitch.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
psb6970.c kernel: update phy drivers for 4.9 2017-02-03 12:35:44 +01:00
rtl8306.c kernel: update phy drivers for 4.9 2017-02-03 12:35:44 +01:00
rtl8366_smi.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8366_smi.h generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8366rb.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8366s.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8367.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
rtl8367b.c generic: provide get_port_stats() on rtl836x switches 2017-09-01 09:30:35 +02:00
swconfig.c linux/swconfig_get_attr: fix leak of msg in case of error 2017-06-11 14:22:44 +02:00
swconfig_leds.c generic: make switch_port_stats tx/rx_bytes long long 2017-09-01 09:30:35 +02:00