linux_dsm_epyc7002/drivers/net/ethernet/realtek
Heiner Kallweit cb9d97de05 r8169: improve rtl_coalesce_choose_scale
The time limit provided by userspace is multiplied with 1000,
what could result in an overflow. Therefore change the time limit
parameter unit from ns to us, and avoid the problematic operation.
If there's no matching scale because provided time limit is too big,
return ERANGE instead of EINVAL to provide a hint to the user what's
wrong.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-30 17:39:15 -07:00
..
8139cp.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
8139too.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
atp.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
atp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig r8169: add support for RTL8125 2019-08-29 17:47:27 -07:00
Makefile r8169: factor out PHY configuration to r8169_phy_config.c 2020-01-10 16:41:35 -08:00
r8169_firmware.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
r8169_firmware.h r8169: factor out firmware handling 2019-06-05 11:41:59 -07:00
r8169_main.c r8169: improve rtl_coalesce_choose_scale 2020-04-30 17:39:15 -07:00
r8169_phy_config.c r8169: add new helper rtl8168g_enable_gphy_10m 2020-03-23 21:27:10 -07:00
r8169.h r8169: add r8169.h 2020-01-10 16:41:35 -08:00