Using 5.15.0-1062-bluefield, was able to see the "RUNNING" status and oob_net0 
got an IP too.
svc-soc-ver@bu-lab24v-oob:~$ cat /etc/mlnx-release
bf-bundle-2.9.2-47_25.02_ubuntu-22.04_dev
svc-soc-ver@bu-lab24v-oob:~$ uname -r
5.15.0-1062-bluefield
svc-soc-ver@bu-lab24v-oob:~$ sudo ifconfig oob_net0
oob_net0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.255.1.64  netmask 255.255.252.0  broadcast 10.255.3.255
        inet6 fe80::ac0:ebff:fea6:d48c  prefixlen 64  scopeid 0x20<link>
        ether 08:c0:eb:a6:d4:8c  txqueuelen 1000  (Ethernet)
        RX packets 26794  bytes 2394198 (2.3 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 375  bytes 28897 (28.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

svc-soc-ver@bu-lab24v-oob:~$ sudo dmesg | grep phy_task
[   28.486043] mlxbf_gige MLNXBF17:00: phy_task: autoneg pending, timeout=15
[   29.510042] mlxbf_gige MLNXBF17:00: phy_task: autoneg pending, timeout=14
[   30.535608] mlxbf_gige MLNXBF17:00: phy_task: autoneg pending, timeout=13
[   31.558038] mlxbf_gige MLNXBF17:00: phy_task: autoneg succeeded

** Tags removed: verification-needed-jammy-linux-bluefield
** Tags added: verification-done-jammy-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/2100785

Title:
  mlxbf_gige: move BF2 autoneg logic out of open()

Status in linux-bluefield package in Ubuntu:
  New
Status in linux-bluefield source package in Jammy:
  Fix Committed

Bug description:
  SRU Justification:

  [Impact]

  The mlxbf_gige driver open() method includes a segment of BF2-specific
  code that waits for autoneg completion before proceeding.  The open()
  method should not pend waiting for this link up event.

  [Fix]

  The fix is to move BF2 autoneg logic out of open(), replacing it with
  logic that runs asynchronous to open() via a workqueue function.

  [Test Case]

  Boot BF2 with mlxbf_gige driver containing fix
  Verify autoneg completes, i.e. "RUNNING" status shown in "ifconfig oob_net0"
  Verify IP address is assigned to oob_net0

  [Regression Potential]
  Low - workqueue logic is quite simple

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2100785/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to