View Issue Details

IDProjectCategoryView StatusLast Update
0001158channel: elrepo/el8--elrepo--request-for-enhancement--public2024-10-28 11:33
Reportertjb Assigned Totqhoang  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Platformx86_64OSel8OS Version8.4
Summary0001158: Please add the R8125 driver to el8
DescriptionPlease add the kmod-r8125 driver to the el8 repos - it's already part of el7.

As requested, here's the pci -nn of the device under el7:

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125]

Let me know if you need anything else.
TagsNo tags attached.

Activities

pperry

2021-11-08 16:19

administrator   ~0007971

Thanks for the device ID.

It looks like this device is natively supported by the kernel r8169 driver in RHEL8:

[phil@Build64R8 ~]$ grep -i 10ec /lib/modules/*/modules.alias | grep -i 8125
/lib/modules/4.18.0-305.19.1.el8_4.x86_64/modules.alias:alias pci:v000010ECd00008125sv*sd*bc*sc*i* r8169
/lib/modules/4.18.0-305.25.1.el8_4.x86_64/modules.alias:alias pci:v000010ECd00008125sv*sd*bc*sc*i* r8169
/lib/modules/4.18.0-305.el8.x86_64/modules.alias:alias pci:v000010ECd00008125sv*sd*bc*sc*i* r8169

Have you tried this driver? If it works, I'd use that as it will receive constant updates through RHEL, but we can certainly look to build kmod-r8125 if it doesn't work for you.

tjb

2021-11-08 16:21

reporter   ~0007972

Thanks. I wasn't sure - I noticed the firmware was included but I couldn't find an r8125 module and the system with the card in it is currently running el7. I didn't want to upgrade it without having a driver. I'll try it and let you know.

pperry

2021-11-08 16:32

administrator   ~0007973

Great. See how you get on with the kernel r8169 driver, and if it's not working well for you then come back here and we can certainly look at building r8125 for el8 for you to try. It's good to have options!

lefarre

2024-08-08 14:47

reporter   ~0010012

Hello, it would have the same native driver but from the information that the following command gives me it only traffics at 1Giga.
Doing traffic tests does not result in traffic with that driver at 2.5 G and is consistent with traffic at 1G.
Would it be possible to have the r8125 alternative to try with that?
lshw -class network
  *-network
       description: Ethernet interface
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: lan0
       version: 04
       serial: 48:22:54:e7:37:c4
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=4.18.0-553.8.1.el8_10.x86_64 duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 ip=192.168.101.1 latency=0 link=yes multicast=yes port=MII
       resources: irq:16 ioport:3000(size=256) memory:84a00000-84a0ffff memory:84a10000-84a13fff

grep -i 10ec /lib/modules/*/modules.alias | grep -i 8125
alias pci:v000010ECd00008125sv*sd*bc*sc*i* r8169

tqhoang

2024-08-11 14:22

manager   ~0010017

The following r8125 packages are syncing to our mirrors. Please provide feedback.
kmod-r8125-9.013.02-1.el8_10.elrepo.x86_64.rpm
kmod-r8125-9.013.02-1.el8_10.elrepo.src.rpm

In case you need it in the future, we also added the r8126 driver.
kmod-r8126-10.013.00-1.el8_10.elrepo.x86_64.rpm
kmod-r8126-10.013.00-1.el8_10.elrepo.src.rpm

lefarre

2024-08-12 11:10

reporter   ~0010018

Perfect, I'll try it and let you know anything.
Thank you so much

tqhoang

2024-08-20 17:29

manager   ~0010042

Any update?

lefarre

2024-08-21 17:33

reporter   ~0010048

I pass some tests.
Detect that traffic improved but did not achieve traffic that was at 2.5 GB
What catches my attention is what lshw shows in capacity.
Try new cables and another switch port.
lshw -class network
*-network
       description: Ethernet interface
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0

 ethtool -I lan0
Settings for lan0:
        Supported ports: [ TP ]
        Supported link modes: 10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes: 10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseX/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes: 10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
                                             2500baseX/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes

       logical name: lan0
       version: 04
       serial: 48:22:54:e7:37:c4
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8125 driverversion=9.013.02-NAPI-PTP duplex=full ip=192.168.101.1 latency=0 link=yes multicast=yes port=twisted pair
       resources: irq:16 ioport:3000(size=256) memory:84a00000-84a0ffff memory:84a10000-84a13fff

You can test other equipment with another type of board on the same switch and it shows its capacity well.
Just as an example since it is not the same board.
Thank you very much in advance and let me know if you need any additional proof.

lshw -class network
  *-network
       description: Ethernet interface
       product: AQtion AQC107 NBase-T/IEEE 802.3an Ethernet Controller [Atlantic 10G]
       vendor: Aquantia Corp.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: bkl0
       version: 02
       serial: 00:5f:67:d3:1a:34
       size: 2500Mbit/s
       capacity: 10Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress pm msix msi vpd bus_master cap_list ethernet physical tp 100bt-fd 1000bt-fd 2500bt-fd 5000bt-fd 10000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atlantic driverversion=5.14.0-427.26.1.el9_4.x86_64 duplex=full firmware=3.1.100 ip=172.17.78.3 latency=0 link=yes multicast=yes port=twisted pair speed=2.5Gbit/s
       resources: irq:16 memory:49400000-4940ffff memory:49410000-49410fff memory:49000000-493fffff

tqhoang

2024-08-24 00:12

manager   ~0010056

Last edited: 2024-08-24 09:57

Can you check your BIOS/UEFI and see if the PCI-e slot is being limited? For example, is it set to a compatibility Gen 1.0 speed?

For reference: https://www.reddit.com/r/Proxmox/comments/1bxk26y/comment/kzjrnkn/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

lefarre

2024-09-04 09:47

reporter   ~0010086

According to realtek it is due to the I226-V standard
I pass the capruta they sent me.
RTL8125_image002.jpg (35,523 bytes)   
RTL8125_image002.jpg (35,523 bytes)   

lefarre

2024-09-04 09:52

reporter   ~0010087

His response was: BTW, it seems the capacity information is the same as other vendor’s 2.5G NIC as well.

tqhoang

2024-09-04 10:41

manager   ~0010088

Ok, so it appears to just be a cosmetic issue with the driver and/or lshw.

In terms of performance, is the Realtek driver working at/near 2.5Gbps?

tqhoang

2024-10-28 11:33

manager   ~0010164

Closing due to inactivity. Marked as fixed since the manufacturer driver is working.

Issue History

Date Modified Username Field Change
2021-11-08 16:09 tjb New Issue
2021-11-08 16:09 tjb Status new => assigned
2021-11-08 16:09 tjb Assigned To => pperry
2021-11-08 16:16 pperry Project channel: elrepo/el7 => channel: elrepo/el8
2021-11-08 16:16 pperry Category kmod-r8125 => General
2021-11-08 16:17 pperry Category General => --elrepo--request-for-enhancement--
2021-11-08 16:19 pperry Note Added: 0007971
2021-11-08 16:21 tjb Note Added: 0007972
2021-11-08 16:32 pperry Note Added: 0007973
2024-08-08 14:47 lefarre Note Added: 0010012
2024-08-08 18:45 toracat Assigned To pperry => tqhoang
2024-08-11 14:22 tqhoang Note Added: 0010017
2024-08-11 18:23 tqhoang Status assigned => feedback
2024-08-12 11:10 lefarre Note Added: 0010018
2024-08-20 17:29 tqhoang Note Added: 0010042
2024-08-21 17:33 lefarre Note Added: 0010048
2024-08-24 00:12 tqhoang Note Added: 0010056
2024-08-24 09:56 tqhoang Note Edited: 0010056
2024-08-24 09:57 tqhoang Note Edited: 0010056
2024-09-04 09:47 lefarre Note Added: 0010086
2024-09-04 09:47 lefarre File Added: RTL8125_image002.jpg
2024-09-04 09:52 lefarre Note Added: 0010087
2024-09-04 10:41 tqhoang Note Added: 0010088
2024-10-28 11:33 tqhoang Status feedback => closed
2024-10-28 11:33 tqhoang Resolution open => fixed
2024-10-28 11:33 tqhoang Note Added: 0010164