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/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290793 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=20 root@pulseczar:~ # pciconf -lcv mlx5_core0@pci0:1:0:0 mlx5_core0@pci0:1:0:0: class=3D0x020000 rev=3D0x00 hdr=3D0x00 vendor=3D0x1= 5b3 device=3D0x1015 subvendor=3D0x15b3 subdevice=3D0x0003 vendor =3D 'Mellanox Technologies' device =3D 'MT27710 Family [ConnectX-4 Lx]' class =3D network subclass =3D ethernet cap 10[60] =3D 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] =3D VPD cap 11[9c] =3D MSI-X supports 64 messages, enabled Table in map 0x10[0x2000], PBA in map 0x10[0x3000] cap 09[c0] =3D vendor (length 24) cap 01[40] =3D powerspec 3 supports D0 D3 current D0 ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 000e[150] =3D ARI 1 ecap 0010[180] =3D SR-IOV 1 IOV enabled, Memory Space enabled, ARI enab= led 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] =3D type Prefetchable Memory, range 64, base 0xfcf600000= 0, size 1048576, enabled ecap 0019[1c0] =3D PCIe Sec 1 lane errors 0 ecap 000d[230] =3D ACS 1 Source Validation unavailable, Translation Blo= cking 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=3D0x020000 rev=3D0x00 hdr=3D0x00 vendor=3D0x1= 5b3 device=3D0x1016 subvendor=3D0x15b3 subdevice=3D0x0003 vendor =3D 'Mellanox Technologies' device =3D 'MT27710 Family [ConnectX-4 Lx Virtual Function]' class =3D network subclass =3D ethernet cap 10[60] =3D 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] =3D 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 initializatio= n, timeout abort in 3 s mlx5_core2: WARN: wait_fw_init:778:(pid 4309): Waiting for FW initializatio= n, 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 ---------------------------------- --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290793-227>
