RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1897004 - Advertised link modes not show 2500baseT and 5000baseT
Summary: Advertised link modes not show 2500baseT and 5000baseT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.3
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.6
Assignee: Thomas Haller
QA Contact: Vladimir Benes
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-12 03:29 UTC by beikesea
Modified: 2022-05-10 15:31 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.34.0-0.2.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 14:54:06 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2022:1985 0 None None None 2022-05-10 14:54:38 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 972 0 None None None 2021-09-09 07:41:12 UTC

Description beikesea 2020-11-12 03:29:13 UTC
Description of problem:

The 2.5G and 5G link mode not working after upgraded from redhat 8.2 to 8.3.

I found that the ethtool only shows 100baseT/Full, 1000baseT/Full and 10000baseT/Full respectively while the supported link modes support 2500baseT/Full and 5000baseT/Full.

However, the link speed could recover to 5000bastT/Full after executing command "sudo ethtool -s enp2s0f1 autoneg on".

My network card is Dell 10G 2P X550-t Adapter with firmware 19.5.12. The switch is NETGEAR MS510TXPP.


Version-Release number of selected component (if applicable):
ethtool -i enp2s0f1
driver: ixgbe
version: 5.1.0-k-rh8.2.0
firmware-version: 0x80000f32, 19.5.12
expansion-rom-version: 
bus-info: 0000:02:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes


How reproducible:


Steps to Reproduce:
1.nmcli connection show enp2s0f1 | grep 802-3-ethernet
connection.type:                        802-3-ethernet
802-3-ethernet.port:                    --
802-3-ethernet.speed:                   0
802-3-ethernet.duplex:                  --
802-3-ethernet.auto-negotiate:          yes
802-3-ethernet.mac-address:             --
802-3-ethernet.cloned-mac-address:      --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist:   --
802-3-ethernet.mtu:                     9000
802-3-ethernet.s390-subchannels:        --
802-3-ethernet.s390-nettype:            --
802-3-ethernet.s390-options:            --
802-3-ethernet.wake-on-lan:             default
802-3-ethernet.wake-on-lan-password:    --

2.ethtool enp2s0f1
Settings for enp2s0f1:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full 
	                        1000baseT/Full 
	                        10000baseT/Full 
	                        2500baseT/Full 
	                        5000baseT/Full 
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  100baseT/Full 
	                        1000baseT/Full 
	                        10000baseT/Full 
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes

3. ethtool -s enp2s0f1 autoneg on

4. ethtool enp2s0f1
Settings for enp2s0f1:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full 
	                        1000baseT/Full 
	                        10000baseT/Full 
	                        2500baseT/Full 
	                        5000baseT/Full 
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  100baseT/Full 
	                        1000baseT/Full 
	                        10000baseT/Full 
	                        2500baseT/Full 
	                        5000baseT/Full 
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 5000Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes

Actual results:


Expected results:


Additional info:

Comment 3 Thomas Haller 2021-03-24 10:04:56 UTC
from the provided information it's not clear that you configured autoneg/speed/duplex via NetworkManager.

the profile you share leaves those parameters unset, which means NetworkManger does not touch them.

that means, the ethtool settings depend on what was configured previously. And which component configure that, and why.


Please provide a full level=TRACE log of NetworkManager that shows what happens. Read https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/contrib/fedora/rpm/NetworkManager.conf#n28 for hints about logging.

Thank you.

Comment 4 Beniamino Galvani 2021-08-03 19:43:46 UTC
This should be fixed upstream by commit:

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/4a81fe13ae18cb6d157d7cb3eec300f3061263fe

Comment 5 Beniamino Galvani 2021-08-06 20:16:13 UTC
I can reproduce the problem on RHEL 8.3:

  [root@dell]# nmcli --version
  nmcli tool, version 1.26.0-14.el8_3

  [root@dell]# nmcli -f general device show eno1
  GENERAL.DEVICE:                         eno1
  GENERAL.TYPE:                           ethernet
  GENERAL.NM-TYPE:                        NMDeviceEthernet
  GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/Devices/2
  GENERAL.VENDOR:                         Intel Corporation
  GENERAL.PRODUCT:                        Ethernet Controller 10G X550T (Ethernet 10G 4P X550/I350 rNDC)
  GENERAL.DRIVER:                         ixgbe
  GENERAL.DRIVER-VERSION:                 5.1.0-k-rh8.2.0
  GENERAL.FIRMWARE-VERSION:               0x80000f33, 19.5.12
  [...]

  [root@dell]# nmcli connection modify eno1 ethernet.auto-negotiate yes

  [root@dell]# nmcli connection up eno1
  Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/4)

  [root@dell]# ethtool eno1
  Settings for eno1:
        Supported ports: [ TP ]
	Supported link modes:   100baseT/Full
                                1000baseT/Full
				10000baseT/Full
                                2500baseT/Full
				5000baseT/Full
        Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
				1000baseT/Full
                                10000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes


With NM 1.32 (RHEL 8.5) all the modes are advertised:

  [root@dell]# nmcli --version
  nmcli tool, version 1.32.6-1.el8

  [root@dell]# nmcli connection modify eno1 ethernet.auto-negotiate yes

  [root@dell]# nmcli connection up eno1
  Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/4)

  [root@dell]# ethtool eno1
  Settings for eno1:
        Supported ports: [ TP ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
                                2500baseT/Full
                                5000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
                                2500baseT/Full
                                5000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: Unknown
        Supports Wake-on: umbg
        Wake-on: g
          Current message level: 0x00000007 (7)
                                 drv probe link
        Link detected: yes

Comment 9 Vladimir Benes 2021-08-27 13:27:23 UTC
[root@dell-per730-02 ~]# nmcli  connection modify enp5s0f0 802-3-ethernet.auto-negotiate yes
[root@dell-per730-02 ~]# nmcli  connection up id enp5s0f0
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/4)
[root@dell-per730-02 ~]# ethtool enp5s0f0
Settings for enp5s0f0:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full
	                        1000baseT/Full
	                        10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 10000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes

Comment 10 Vladimir Benes 2021-08-27 13:30:18 UTC
hmm actually we can see
	Advertised link modes:  10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full


and we can see this every second upping, is this expected?

[root@dell-per730-02 ~]# ethtool enp5s0f0
Settings for enp5s0f0:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full
	                        1000baseT/Full
	                        10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  100baseT/Full
	                        1000baseT/Full
	                        10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 10000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes
[root@dell-per730-02 ~]# nmcli  connection up id enp5s0f0
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)
[root@dell-per730-02 ~]# ethtool enp5s0f0
Settings for enp5s0f0:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full
	                        1000baseT/Full
	                        10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 10000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes
[root@dell-per730-02 ~]# nmcli  connection up id enp5s0f0
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)
[root@dell-per730-02 ~]# ethtool enp5s0f0
Settings for enp5s0f0:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full
	                        1000baseT/Full
	                        10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  100baseT/Full
	                        1000baseT/Full
	                        10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 10000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes
[root@dell-per730-02 ~]# nmcli  connection up id enp5s0f0
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/8)
[root@dell-per730-02 ~]# ethtool enp5s0f0
Settings for enp5s0f0:
	Supported ports: [ TP ]
	Supported link modes:   100baseT/Full
	                        1000baseT/Full
	                        10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10000baseT/Full
	                        2500baseT/Full
	                        5000baseT/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 10000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes

Comment 11 Vladimir Benes 2021-08-27 13:59:32 UTC
moving back to assigned unless we have answer for above mentioned question.

Comment 16 Thomas Haller 2021-09-07 06:51:59 UTC
fixed upstream with https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/972 on `main` and `nm-1-32` branches.

Comment 20 Vladimir Benes 2021-09-30 12:56:06 UTC
ok, trying to up/down, up/up, everything works as expected.

Comment 23 errata-xmlrpc 2022-05-10 14:54:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:1985


Note You need to log in before you can comment on or make changes to this bug.