netplan fails to create NIC VFs at boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Medium
|
Unassigned |
Bug Description
I have a BCM57406 installed in my machine, and netplan fails to create VF(s) at boot. Once booting is completed, I can create VF by "netplan apply", but it means I cannot autostart my VMs which depend on the VFs. Error could be Broadcom specific, as I have no such problem with Intel I350-AM2.
Reproducible: always
----- selected dmesg output -----
[ 0.942238] bnxt_en 0000:02:00.0 eth0: Broadcom BCM57406 NetXtreme-E 10GBase-T Ethernet found at mem 2000000000, node addr 00:0a:f7:**:**:**
[ 0.943436] bnxt_en 0000:02:00.0: 31.504 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x4 link at 0000:00:1c.0 (capable of 63.008 Gb/s with 8.0 GT/s PCIe x8 link)
[ 0.996415] bnxt_en 0000:02:00.1 eth1: Broadcom BCM57406 NetXtreme-E 10GBase-T Ethernet found at mem 2000020000, node addr 00:0a:f7:**:**:**
[ 0.997730] bnxt_en 0000:02:00.1: 31.504 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x4 link at 0000:00:1c.0 (capable of 63.008 Gb/s with 8.0 GT/s PCIe x8 link)
[ 1.789199] bnxt_en 0000:02:00.0 enp2s0f0np0: renamed from eth0
[ 1.807616] bnxt_en 0000:02:00.1 enp2s0f1np1: renamed from eth1
[ 3.811616] bnxt_en 0000:02:00.1 bcm57406_p1: renamed from enp2s0f1np1
[ 3.838499] bnxt_en 0000:02:00.0 bcm57406_p0: renamed from enp2s0f0np0
[ 4.285390] bnxt_en 0000:02:00.0 bcm57406_p0: Reject SRIOV config request since if is down!
[ 4.285394] bnxt_en 0000:02:00.0: 2 VFs requested; only 0 enabled
[ 4.288718] bnxt_en 0000:02:00.0 bcm57406_p0: Reject SRIOV config request since if is down!
[ 4.288723] bnxt_en 0000:02:00.0: 2 VFs requested; only 0 enabled
[ 364.411119] bnxt_en 0000:02:02.0: enabling device (0000 -> 0002)
[ 364.431524] bnxt_en 0000:02:02.0 eth0: Broadcom NetXtreme-E Ethernet Virtual Function found at mem 2000040000, node addr **:**:**:**:**:**
[ 364.431556] bnxt_en 0000:02:02.0: 0.000 Gb/s available PCIe bandwidth (Unknown x8 link)
[ 364.445920] bnxt_en 0000:02:02.0 enp2s0f0v0: renamed from eth0
[ 364.447002] bnxt_en 0000:02:02.1: enabling device (0000 -> 0002)
[ 364.506045] bnxt_en 0000:02:02.1 eth0: Broadcom NetXtreme-E Ethernet Virtual Function found at mem 2000044000, node addr **:**:**:**:**:**
[ 364.506058] bnxt_en 0000:02:02.1: 0.000 Gb/s available PCIe bandwidth (Unknown x8 link)
[ 364.508217] bnxt_en 0000:02:02.1 enp2s0f0v1: renamed from eth0
affects: | sriov-netplan-shim → netplan |
Changed in netplan: | |
status: | Expired → New |
Yes, this is likely HW related.
"[ 4.285390] bnxt_en 0000:02:00.0 bcm57406_p0: Reject SRIOV config request since if is down!"
Could you please provide some systemd/journalctl logs when booting that system? And maybe check if masking "netplan- sriov-rebind. service" changes anything in its behavior?