Date: Tue, 04 Nov 2025 16:11:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 290793] iovctl on mlx5en won't work Message-ID: <bug-290793-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290793 Bug ID: 290793 Summary: iovctl on mlx5en won't work Product: Base System Version: 15.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jcduss13@gmail.com Hello, I am not able to create functional VF on Freebsd 15, while it works on 14.3. I tried different scenarios, setting or not a mac-addr, one VF or multiple for example, but it made no difference. Plus, I tried firmwares 14.32.1010 and 14.32.1908. The behavior is the same on different machines. --------------------------------- The iovctl config looks like (mac-addr edited): PF { device : "mlx5_core0"; num_vfs : 1; } DEFAULT { passthrough : false; } VF-0 { mac-addr : "aa:bb:cc:dd:ee:ff"; } -------------------------------------------- pciconf: for the 1st port root@pulseczar:~ # pciconf -lcv mlx5_core0@pci0:1:0:0 mlx5_core0@pci0:1:0:0: class=0x020000 rev=0x00 hdr=0x00 vendor=0x15b3 device=0x1015 subvendor=0x15b3 subdevice=0x0003 vendor = 'Mellanox Technologies' device = 'MT27710 Family [ConnectX-4 Lx]' class = network subclass = ethernet cap 10[60] = PCI-Express 2 endpoint max data 512(512) FLR RO NS max read 512 link x8(x8) speed 8.0(8.0) ASPM L1(L1) cap 03[48] = VPD cap 11[9c] = MSI-X supports 64 messages, enabled Table in map 0x10[0x2000], PBA in map 0x10[0x3000] cap 09[c0] = vendor (length 24) cap 01[40] = powerspec 3 supports D0 D3 current D0 ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 000e[150] = ARI 1 ecap 0010[180] = SR-IOV 1 IOV enabled, Memory Space enabled, ARI enabled 2 VFs configured out of 8 supported First VF RID Offset 0x0002, VF RID Stride 0x0001 VF Device ID 0x1016 Page Sizes: 4096 (enabled), 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304 iov bar [1a4] = type Prefetchable Memory, range 64, base 0xfcf6000000, size 1048576, enabled ecap 0019[1c0] = PCIe Sec 1 lane errors 0 ecap 000d[230] = ACS 1 Source Validation unavailable, Translation Blocking unavailable P2P Req Redirect unavailable, P2P Cmpl Redirect unavailable P2P Upstream Forwarding unavailable, P2P Egress Control unavailable P2P Direct Translated unavailable, Enhanced Capability unavailable ---------------------------------------------------------- pciconf for the 1st VF: none0@pci0:1:0:2: class=0x020000 rev=0x00 hdr=0x00 vendor=0x15b3 device=0x1016 subvendor=0x15b3 subdevice=0x0003 vendor = 'Mellanox Technologies' device = 'MT27710 Family [ConnectX-4 Lx Virtual Function]' class = network subclass = ethernet cap 10[60] = PCI-Express 2 endpoint max data 128(512) FLR max read 128 link x0(x8) speed 0.0(8.0) ASPM disabled(L1) cap 11[9c] = MSI-X supports 12 messages Table in map 0x10[0x2000], PBA in map 0x10[0x3000] ----------------------------------------------------------- extract from dmesg: mlx5_core: INFO: (mlx5_core0): E-Switch: SRIOV enabled: active vports(3) mlx5_core2: <mlx5_core> at device 0.2 on pci1 mlx5_core2: lkpi_pci_request_region: failed to alloc bar 0 type 3 rid 16 mlx5_core2: WARN: wait_fw_init:778:(pid 4309): Waiting for FW initialization, timeout abort in 3 s mlx5_core2: WARN: wait_fw_init:778:(pid 4309): Waiting for FW initialization, timeout abort in 0 s mlx5_core2: Firmware over 5000 MS in pre-initializing state, aborting mlx5_core2: ERR: init_one:1709:(pid 4309): mlx5_load_one failed -16 device_attach: mlx5_core2 attach returned 16 ---------------------------------- -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290793-227>
