Mlxdevm port add: kernel answers: No space left on device

It looks like /sbin/mlnx_bf_configure script fails to add SFs with message kernel answers: No space left on device

ubuntu@localhost:~$ sudo /sbin/mlnx-sf -v --action create --device 0000:03:00.0 --sfnum 0 --hwaddr 02:22:59:15:99:d8
Namespace(device='0000:03:00.0', action='create', sfnum='0', sfindex=None, hwaddr='02:22:59:15:99:d8', enable_trust=False, enable_eswitch=False, disable_roce=False, cpu_list=None, json=False, pretty=False, verbose=True, version
=False)
Running command: mlxdevm port add pci/0000:03:00.0 flavour pcisf pfnum 0 sfnum 0
Running mlxdevm port add pci/0000:03:00.0 flavour pcisf pfnum 0 sfnum 0 failed (error[1])
Output:
 kernel answers: No space left on device
kernel answers: No space left on device

In this case I have latest firmware installed but it’s the same with older versions.


Image type:            FS4
FW Version:            24.43.2402
FW Release Date:       24.12.2024
Product Version:       24.43.2402
Rom Info:              type=UEFI Virtio net version=21.4.13 cpu=AMD64,AARCH64
                       type=UEFI Virtio blk version=22.4.14 cpu=AMD64,AARCH64
                       type=UEFI version=14.36.21 cpu=AMD64,AARCH64
                       type=PXE version=3.7.500 cpu=AMD64
Description:           UID                GuidsNumber
Base GUID:             946dae03002f27b6        16
Base MAC:              946dae2f27b6            16
Image VSD:             N/A
Device VSD:            N/A
PSID:                  DEL0000000033
Security Attributes:   secure-fw

Ok so that’s my config went wrong, reconfiguring SFs sorts this particular issue:

sudo mlxconfig -d 0000:03:00.1 s PER_PF_NUM_SF=1 PF_TOTAL_SF=252 PF_SF_BAR_SIZE=12 NUM_OF_PF=2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.