[PATCH v4 12/13] net/r8169: ensure the old mapping is used

Howard Wang howard_wang at realsil.com.cn
Fri Feb 13 04:20:17 CET 2026


Fix the incorrect link status reported when binding the PMD after
the NIC has been initialized by the vendor driver.

Fixes: 619f6ebce115 ("net/r8169: support hardware configuration")
Cc: stable at dpdk.org

Signed-off-by: Howard Wang <howard_wang at realsil.com.cn>
---
 drivers/net/r8169/r8169_hw.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/r8169/r8169_hw.c b/drivers/net/r8169/r8169_hw.c
index acc16f3e48..27d52c81c9 100644
--- a/drivers/net/r8169/r8169_hw.c
+++ b/drivers/net/r8169/r8169_hw.c
@@ -1083,6 +1083,9 @@ rtl8125_hw_config(struct rtl_hw *hw)
 
 	rtl_mac_ocp_write(hw, 0xE098, 0xC302);
 
+	/* Ensure the old mapping is used. */
+	RTL_W8(hw, INT_CFG0_8125, RTL_R8(hw, INT_CFG0_8125) & ~BIT_0);
+
 	rtl_disable_cfg9346_write(hw);
 
 	rte_delay_us(10);
-- 
2.34.1



More information about the stable mailing list