Hey everyone,
I'm having trouble understanding how SR-IOV works on the Mellanox CX3 (non-pro) cards.
The cards I have are the VPI 40GbIB/10GbE flashed to 56/40.
Enabled SR-IOV in the bios, proxmox and got it showing inside proxmox.
The question is related to how Nvidia handles SR-IOV in this case.
The system has two CX3 cards installed which live under bus 00:04:00.0 and 00:82:00.0
Both ports of each card show under the same PCI bus, see lshw output below.
Kernel:
Driver options:
lshw output, sorted and renamed by interface:
Notice how the VFs show all on enp130s0 and none on the enp130s0d1 port.
Same for the other card.
if I do ip link show, they show somewhat correct, but still not according to the modprobe settings - should've been 4 VFs per port:
What's causing all this?
Any hints and/or brainstorming is much appreciated!
Thanks in advance
I'm having trouble understanding how SR-IOV works on the Mellanox CX3 (non-pro) cards.
The cards I have are the VPI 40GbIB/10GbE flashed to 56/40.
Enabled SR-IOV in the bios, proxmox and got it showing inside proxmox.
The question is related to how Nvidia handles SR-IOV in this case.
The system has two CX3 cards installed which live under bus 00:04:00.0 and 00:82:00.0
Both ports of each card show under the same PCI bus, see lshw output below.
Kernel:
Code:
uname -r
5.15.116-1-pve
Driver options:
Code:
cat /etc/modprobe.d/mlx4_core.conf
options mlx4_core num_vfs=4,4,0 port_type_array=2,2 probe_vf=4,4,0 log_num_mgm_entry_size=-1
lshw output, sorted and renamed by interface:
Notice how the VFs show all on enp130s0 and none on the enp130s0d1 port.
Same for the other card.
if I do ip link show, they show somewhat correct, but still not according to the modprobe settings - should've been 4 VFs per port:
What's causing all this?
Any hints and/or brainstorming is much appreciated!
Thanks in advance