[PATCH v1 0/6] net/r8169: hardware updates, optimizations, and a bug fix

Howard Wang howard_wang at realsil.com.cn
Thu Jun 11 10:28:27 CEST 2026


This patch series primarily focuses on updating hardware configurations, 
optimizing the datapath, and refining device behaviors for the net/r8169 PMD. 
Additionally, it includes one bug fix for a segmentation fault encountered 
during initialization.

Summary of the series:

  - Patch 1: Updates RX CRC drop behavior for RTL8125BP and later MAC versions
    to align with device shutdown sequences and prevent cross-driver states.
  - Patch 2: Optimizes the Tx datapath performance by removing redundant branch
    checks for malformed packets, replacing them with RTE_ASSERT.
  - Patch 3: Enhances RTL8125+ flow control by utilizing a new formula for 
    nearfull and nearempty thresholds.
  - Patch 4: Removes RTL9151 CSI (DBI) channel support, as firmware handling 
    latency makes it no longer suitable for the driver.
  - Patch 5: Updates PHY and MAC MCU configurations for RTL9151A and RTL8125BP.
  - Patch 6: Fixes a segmentation fault during RTL8168 initialization by 
    restricting RTL8125-specific RSS/VMQ configurations to the correct hardware.

Howard Wang (6):
  net/r8169: disable RX CRC drop for RTL8125BP and later
  net/r8169: optimize Tx datapath by removing redundant packet checks
  net/r8169: improve RTL8125+ flow control
  net/r8169: remove RTL9151 CSI (DBI) channel support
  net/r8169: update hardware configurations for 8125
  net/r8169: fix segmentation fault during RTL8168 initialization

 drivers/net/r8169/base/rtl8125bp_mcu.c | 15 ++--
 drivers/net/r8169/base/rtl9151a.c      |  8 +++
 drivers/net/r8169/base/rtl9151a_mcu.c  | 14 +++-
 drivers/net/r8169/r8169_compat.h       |  1 +
 drivers/net/r8169/r8169_hw.c           | 98 ++++++++++++++++++++++++--
 drivers/net/r8169/r8169_hw.h           |  2 +-
 drivers/net/r8169/r8169_rxtx.c         | 32 ++++-----
 7 files changed, 137 insertions(+), 33 deletions(-)

-- 
2.43.0



More information about the dev mailing list