mirror_ubuntu-kernels/drivers/net/ethernet/stmicro/stmmac
Christian Marangi 039550960a net: stmmac: increase TX coalesce timer to 5ms
Commit 8fce333170 ("net: stmmac: Rework coalesce timer and fix
multi-queue races") decreased the TX coalesce timer from 40ms to 1ms.

This caused some performance regression on some target (regression was
reported at least on ipq806x) in the order of 600mbps dropping from
gigabit handling to only 200mbps.

The problem was identified in the TX timer getting armed too much time.
While this was fixed and improved in another commit, performance can be
improved even further by increasing the timer delay a bit moving from
1ms to 5ms.

The value is a good balance between battery saving by prevending too
much interrupt to be generated and permitting good performance for
internet oriented devices.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-10-19 15:41:31 +02:00
..
chain_mode.c net: stmmac: Remove some unnecessary void pointers 2023-04-13 12:50:46 +02:00
common.h net: stmmac: increase TX coalesce timer to 5ms 2023-10-19 15:41:31 +02:00
descs_com.h
descs.h
dwmac4_core.c net: stmmac: move gmac4 specific phylink capabilities to gmac4 2023-08-25 18:55:19 -07:00
dwmac4_descs.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
dwmac4_descs.h
dwmac4_dma.c net: stmmac: dwmac4: Allow platforms to specify some DMA/MTL offsets 2023-04-13 12:50:46 +02:00
dwmac4_dma.h net: stmmac: dwmac4: Allow platforms to specify some DMA/MTL offsets 2023-04-13 12:50:46 +02:00
dwmac4_lib.c net: stmmac: fix incorrect rxq|txq_stats reference 2023-09-19 10:21:15 +02:00
dwmac4.h net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register 2023-05-09 19:42:59 -07:00
dwmac5.c net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence 2023-02-13 20:04:43 -08:00
dwmac5.h
dwmac100_core.c net: stmmac: Disable automatic FCS/Pad stripping 2022-09-08 10:12:20 +02:00
dwmac100_dma.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
dwmac100.h net: stmmac: Disable automatic FCS/Pad stripping 2022-09-08 10:12:20 +02:00
dwmac1000_core.c net: stmmac: Pass stmmac_priv in some callbacks 2023-04-13 12:50:46 +02:00
dwmac1000_dma.c net: stmmac: Pass stmmac_priv in some callbacks 2023-04-13 12:50:46 +02:00
dwmac1000.h net: stmmac: Disable automatic FCS/Pad stripping 2022-09-08 10:12:20 +02:00
dwmac_dma.h net: stmmac: Pass stmmac_priv in some callbacks 2023-04-13 12:50:46 +02:00
dwmac_lib.c net: stmmac: fix incorrect rxq|txq_stats reference 2023-09-19 10:21:15 +02:00
dwmac-anarion.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-dwc-qos-eth.c net: stmmac: dwmac-dwc-qos-eth: use devm_stmmac_probe_config_dt() 2023-09-18 12:44:34 +01:00
dwmac-generic.c net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe() 2023-09-18 12:44:34 +01:00
dwmac-imx.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-ingenic.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-intel-plat.c net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
dwmac-intel.c net: stmmac: intel: remove unnecessary field struct plat_stmmacenet_data::ext_snapshot_num 2023-10-19 13:01:33 +02:00
dwmac-intel.h
dwmac-ipq806x.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-loongson1.c net: stmmac: Add glue layer for Loongson-1 SoC 2023-09-16 11:46:14 +01:00
dwmac-loongson.c net: stmmac: clarify difference between "interface" and "phy_interface" 2023-08-28 12:55:04 -07:00
dwmac-lpc18xx.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-mediatek.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-meson8b.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-meson.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-qcom-ethqos.c net: stmmac: add new mode parameter for fix_mac_speed 2023-08-10 17:26:06 -07:00
dwmac-rk.c net: stmmac: dwmac-rk: use devm_stmmac_probe_config_dt() 2023-09-18 12:44:35 +01:00
dwmac-socfpga.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-starfive.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-sti.c net: stmmac: dwmac-sti: use devm_stmmac_probe_config_dt() 2023-09-18 12:44:35 +01:00
dwmac-stm32.c net: stmmac: dwmac-stm32: refactor clock config 2023-10-13 10:03:19 +01:00
dwmac-sun8i.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-09-21 21:49:45 +02:00
dwmac-sunxi.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-tegra.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-visconti.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwxgmac2_core.c net: stmmac: move xgmac specific phylink caps to dwxgmac2 core 2023-08-25 18:55:19 -07:00
dwxgmac2_descs.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
dwxgmac2_dma.c net: stmmac: fix incorrect rxq|txq_stats reference 2023-09-19 10:21:15 +02:00
dwxgmac2.h net: stmmac: Check more MAC HW features for XGMAC Core 3.20 2023-08-20 18:19:20 +01:00
dwxlgmac2.h
enh_desc.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
hwif.c net: stmmac: add support for platform specific reset 2023-04-05 19:01:22 -07:00
hwif.h net: stmmac: provide stmmac_mac_phylink_get_caps() 2023-08-25 18:55:19 -07:00
Kconfig net: stmmac: Add glue layer for Loongson-1 SoC 2023-09-16 11:46:14 +01:00
Makefile net: stmmac: Add glue layer for Loongson-1 SoC 2023-09-16 11:46:14 +01:00
mmc_core.c
mmc.h
norm_desc.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
ring_mode.c net: stmmac: Remove some unnecessary void pointers 2023-04-13 12:50:46 +02:00
stmmac_ethtool.c net: stmmac: Remove redundant checking for rx_coalesce_usecs 2023-10-19 12:27:23 +02:00
stmmac_hwtstamp.c net: stmmac: correct MAC propagation delay 2023-08-07 12:17:13 -07:00
stmmac_main.c net: stmmac: move TX timer arm after DMA enable 2023-10-19 15:41:31 +02:00
stmmac_mdio.c net: stmmac: convert plat->phylink_node to fwnode 2023-08-25 18:55:18 -07:00
stmmac_pci.c net: stmmac: replace the tso_en field with a flag 2023-07-13 20:57:14 -07:00
stmmac_pcs.h
stmmac_platform.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-10-05 13:16:47 -07:00
stmmac_platform.h net: stmmac: make stmmac_{probe|remove}_config_dt static 2023-09-18 12:44:36 +01:00
stmmac_ptp.c net: stmmac: do not silently change auxiliary snapshot capture channel 2023-10-19 13:01:33 +02:00
stmmac_ptp.h net: stmmac: use correct PPS capture input index 2023-10-19 13:01:33 +02:00
stmmac_selftests.c netdev: replace napi_reschedule with napi_schedule 2023-10-11 17:28:06 -07:00
stmmac_tc.c net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum 2023-05-31 10:00:30 +01:00
stmmac_xdp.c net: stmmac: fix call trace when stmmac_xdp_xmit() is invoked 2023-05-25 21:01:35 -07:00
stmmac_xdp.h
stmmac.h net: stmmac: fix incorrect rxq|txq_stats reference 2023-09-19 10:21:15 +02:00