linux/drivers/net/ethernet/realtek
Justin Lai fea3521e04 rtase: Fix flow control configuration
The hardware has two sets of registers controlling TX/RX flow control.
The effective flow control state is determined by the logical OR of
these two sets of bits.

RTASE_FORCE_TXFLOW_EN and RTASE_FORCE_RXFLOW_EN in RTASE_CPLUS_CMD are
the bits used by the driver to control TX/RX flow control according to
the ethtool pause configuration.

RTASE_TXFLOW_EN and RTASE_RXFLOW_EN in RTASE_GPHY_STD_00 are another
set of TX/RX flow control enable bits. Clear them by default so they do
not keep flow control enabled independently of the driver setting.

With the RTASE_GPHY_STD_00 bits cleared, the effective flow control
state is controlled through RTASE_CPLUS_CMD, so the ethtool setting can
take effect correctly.

Signed-off-by: Justin Lai <justinlai0215@realtek.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260505064121.31286-1-justinlai0215@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
History 2026-05-06 17:27:35 -07:00
..
rtase rtase: Fix flow control configuration 2026-05-06 17:27:35 -07:00
8139cp.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
8139too.c net: ethernet: use module_pci_driver; remove useless driver versions 2026-02-02 17:25:13 -08:00
Kconfig net: atp: drop ancient parallel-port Ethernet driver 2026-01-22 13:32:53 +01:00
Makefile net: atp: drop ancient parallel-port Ethernet driver 2026-01-22 13:32:53 +01:00
r8169.h r8169: add support for RTL8125cp 2026-03-05 13:41:48 +01:00
r8169_firmware.c r8169: remove optional size argument in calls to strscpy 2026-01-26 19:31:11 -08:00
r8169_firmware.h r8169: factor out firmware handling 2019-06-05 11:41:59 -07:00
r8169_leds.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
r8169_main.c r8169: add support for RTL8125cp 2026-03-05 13:41:48 +01:00
r8169_phy_config.c r8169: add support for RTL8125cp 2026-03-05 13:41:48 +01:00