pocopico / rp-ext

GNU General Public License v2.0
529 stars 363 forks source link

Please add driver support for Realtek 8125B 2.5Gbps LAN controller #174

Open artzavod opened 1 year ago

artzavod commented 1 year ago

https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software

pocopico commented 1 year ago

I will try to update to the latest version.

pocopico commented 1 year ago

Updated r8125 extension to 9.010.01-NAPI. The supported PCIIDs remain the same

version: 9.010.01-NAPI license: GPL description: Realtek RTL8125 2.5Gigabit Ethernet driver author: Realtek and the Linux r8125 crew netdev@vger.kernel.org srcversion: 3486D267CAEF3366D60E950 alias: pci:v000010ECd00003000svsdbcsci alias: pci:v000010ECd00008162svsdbcsci alias: pci:v000010ECd00008125svsdbcsci*

Please pass your lspci -nnq to compare

artzavod commented 1 year ago

Thank you! I will be able to send the result of the command in a few hours

artzavod commented 1 year ago

I have 2 motherboards MSI h510i pro wifi

first: 00:00.0 Host bridge [0600]: Intel Corporation 10th Gen Core Processor Host Bridg e/DRAM Registers [8086:9b63] (rev 03) 00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-S GT2 [UHD Graphics 630] [8086:9bc8] (rev 03) 00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911] 00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xH CI Host Controller [8086:43ed] (rev 11) 00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-H Shared SRAM [8086:43ef ] (rev 11) 00:14.3 Network controller [0280]: Intel Corporation Tiger Lake PCH CNVi WiFi [8 086:43f0] (rev 11) 00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-H Manageme nt Engine Interface [8086:43e0] (rev 11) 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11) 00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:43b3] (rev 11) 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4388] (rev 11) 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:f0c8] (rev 11) 00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-H SMBus Controller [8086:43a3 ] (rev 11) 00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H SPI Control ler [8086:43a4] (rev 11) 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5G bE Controller [10ec:8125] (rev 05)

second: root@arpl:/opt/arpl# lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers [8086:9b63] (rev 03) 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 03) 00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-S GT2 [UHD Graphics 630] [8086:9bc8] (rev 03) 00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911] 00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller [8086:43ed] (rev 11) 00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-H Shared SRAM [8086:43ef] (rev 11) 00:14.3 Network controller [0280]: Intel Corporation Tiger Lake PCH CNVi WiFi [8086:43f0] (rev 11) 00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-H Management Engine Interface [8086:43e0] (rev 11) 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11) 00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:43b3] (rev 11) 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4388] (rev 11) 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:f0c8] (rev 11) 00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-H SMBus Controller [8086:43a3] (rev 11) 00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H SPI Controller [8086:43a4] (rev 11) 01:00.0 Serial controller [0700]: MosChip Semiconductor Technology Ltd. MCS9922 PCIe Multi-I/O Controller [9710:9922] 01:00.1 Serial controller [0700]: MosChip Semiconductor Technology Ltd. MCS9922 PCIe Multi-I/O Controller [9710:9922] 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)

sdhawade commented 10 months ago

There are multiple updates to the driver since it was last updated, can you please update the extension to the current version, the reason for asking is that I am not getting the performance (caps out at 1.5~1.6 Gbps) which give ~2.3 Gbps with other OS distros and moreover when I do a lsmod i see 2 drivers r8125 and r8125v9. Is this expected ?

r8125 151796 0 r8125_v9 156699 0

srctar commented 9 months ago

Updated r8125 extension to 9.010.01-NAPI. The supported PCIIDs remain the same

version: 9.010.01-NAPI license: GPL description: Realtek RTL8125 2.5Gigabit Ethernet driver author: Realtek and the Linux r8125 crew netdev@vger.kernel.org srcversion: 3486D267CAEF3366D60E950 alias: pci:v000010ECd00003000sv_sd_bc_sc_i alias: pci:v000010ECd00008162sv_sd_bc_sc_i alias: pci:v000010ECd00008125sv_sd_bc_sc_i*

Please pass your lspci -nnq to compare

I found the driver of 8125 only support 918plus-42218, what about the later version, such as 7.1.1 or 7.2.1. and , I drived my 8125b and 8125bg last night, thanks a lot !

sdhawade commented 7 months ago

Just noticed that the driver does not support RSS, is it possible to build it with RSS enabled ?