剛巧昨晚看到 tetsuka 兄提及的 RTL8127 網路卡,或許 16K Jumbo Frames 方面的支援並非想像中那麼簡單。

首先 in-kernel driver 那邊該於 2025 年 5 月的時候已經增添了相關的支援:

https://github.com/torvalds/linux/co...7829ee2efd43f2
This adds support for 10Gbs chip RTL8127A.
可惜對岸的網兄證實了那個 r8169_main.c 完全不行:

https://forum.archlinuxcn.org/t/topic/15497

然後 AUR 提供的這個 r8127-dkms 則只有支援 9K Jumbo Frames,因此比較雞肋的說:

https://github.com/HurricanePootis/r...in/src/r8127.h
代碼:
#define Jumbo_Frame_9k  (9*1024 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN)
https://github.com/HurricanePootis/r.../src/r8127_n.c
代碼:
static const struct {        const char *name;
        u8 mcfg;
        u32 RCR_Cfg;
        u32 RxConfigMask;   /* Clears the bits supported by this chip */
        u32 jumbo_frame_sz;
} rtl_chip_info[] = {
        _R("RTL8127",
        CFG_METHOD_1,
        Rx_Fetch_Number_8 | Rx_Close_Multiple | RxCfg_pause_slot_en | EnableInnerVlan | EnableOuterVlan | (RX_DMA_BURST_512 << RxCfgDMAShift),
        0xff7e5880,
        Jumbo_Frame_9k),


        _R("RTL8127",
        CFG_METHOD_2,
        Rx_Fetch_Number_8 | Rx_Close_Multiple | RxCfg_pause_slot_en | EnableInnerVlan | EnableOuterVlan | (RX_DMA_BURST_512 << RxCfgDMAShift),
        0xff7e5880,
        Jumbo_Frame_9k),


        _R("Unknown",
        CFG_METHOD_DEFAULT,
        (RX_DMA_BURST_512 << RxCfgDMAShift),
        0xff7e5880,
        Jumbo_Frame_1k)
};


其實 kernel 內建的東西,Realtek 於這方面總是令人詬病,因此唯一可取之處就是提供 16K Jumbo Frames 方面的支援罷了,哈哈:

https://forums.unraid.net/bug-report...t-cards-r2214/
The in-tree kernel driver r8169 is pretty bad for these cards. It is supported, it works, but the throughput with r8169 driver is nowhere near the throughput of r8125 driver.
https://forums.linuxmint.com/viewtopic.php?t=323395
As I said, the kernel support for the R8152 is woeful, so I recommend installing a better driver.
[PATCH] r8169: add support for 16K jumbo frames on RTL8125B
https://lore.kernel.org/netdev/[email protected]/



基本上 Diretta DDS 的用家還是乖乖的選擇 RTL8156 或者 RTL8125 比較不會費時失事,畢竟驅動方面的問題實在是十分難纏。

假如想試試 USB4 V2(80Gbps)的線材也可以考慮 Zhipulink 的 RTL8156:

https://audiophilestyle.com/forums/t...omment-1326596



稍後小弟將會嘗試提供一個 Diretta DDS 的簡易攻略。