Fix verified Using 5.15.0-1073.75 and 6.8.0-1007 kernel
svc-soc-ver@bu-lab64v1-oob:~$ cat /etc/mlnx-release
bf-bundle-3.1.0-52_25.07_ubuntu-24.04_dev
svc-soc-ver@bu-lab64v1-oob:~$ uname -r
6.8.0-1007-bluefield-64k
svc-soc-ver@bu-lab64v1-oob:~$ sudo ifconfig oob_net0
oob_net0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.255.0.207 netmask 255.255.252.0 broadcast 10.255.3.255
inet6 fe80::a288:c2ff:fe77:e182 prefixlen 64 scopeid 0x20<link>
ether a0:88:c2:77:e1:82 txqueuelen 1000 (Ethernet)
RX packets 10777 bytes 928886 (928.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 255 bytes 26851 (26.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
svc-soc-ver@bu-lab64v1-oob:~$ sudo ethtool oob_net0
Settings for oob_net0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Full
100baseT/Full
1000baseT/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
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 3
Transceiver: external
MDI-X: Unknown
Link detected: yes
svc-soc-ver@bu-lab64v1-oob:~$ sudo ifconfig oob_net0 down
svc-soc-ver@bu-lab64v1-oob:~$ sudo ethtool oob_net0
Settings for oob_net0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Full
100baseT/Full
1000baseT/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
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 3
Transceiver: external
MDI-X: Unknown
Link detected: no
svc-soc-ver@bu-lab64v1-oob:~$ sudo ifconfig oob_net0
oob_net0: flags=4098<BROADCAST,MULTICAST> mtu 1500
inet 10.255.0.207 netmask 255.255.252.0 broadcast 10.255.3.255
ether a0:88:c2:77:e1:82 txqueuelen 1000 (Ethernet)
RX packets 11326 bytes 973985 (973.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 270 bytes 28353 (28.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
svc-soc-ver@bu-lab64v1-oob:~$ sudo ifconfig oob_net0 up
svc-soc-ver@bu-lab64v1-oob:~$ sudo ifconfig oob_net0
oob_net0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.255.0.207 netmask 255.255.252.0 broadcast 10.255.3.255
inet6 fe80::a288:c2ff:fe77:e182 prefixlen 64 scopeid 0x20<link>
ether a0:88:c2:77:e1:82 txqueuelen 1000 (Ethernet)
RX packets 11345 bytes 978494 (978.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 277 bytes 29404 (29.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
svc-soc-ver@bu-lab64v1-oob:~$ sudo ethtool oob_net0
Settings for oob_net0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Full
100baseT/Full
1000baseT/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
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 3
Transceiver: external
MDI-X: Unknown
Link detected: yes
** Tags removed: verification-needed-jammy-linux-bluefield
verification-needed-noble-linux-bluefield
** Tags added: verification-done-jammy-linux-bluefield
verification-done-noble-linux-bluefield
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2116284
Title:
mlxbf_gige: Ethtool speed does not update based on link status
Status in linux-bluefield package in Ubuntu:
New
Status in linux-bluefield source package in Jammy:
New
Status in linux-bluefield source package in Noble:
New
Bug description:
SRU Justification:
[Impact]
The "Speed" and "Duplex" fields displayed by ethtool should report "Unknown"
when the link is down, but instead they continue to show "1000Mb/s" and "Full".
[Fix]
* Set the speed and duplex values reported to ethtool to unknown when the
link is down.
[Test Case]
* Verified ethtool reports correct speed and duplex values based on link
status.
1. ethtool oob_net0
2. ifconfig oob_net0 down
3. ifconfig oob_net0
* Verified basic OOB interface behavior by SSHing to BlueField via OOB.
[Regression Potential]
* The fix affects BlueField 2 and BlueField 3, but the change is relatively
small and only affects the data that is used by ethtool.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2116284/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp