Skip to contentSkip to conversation

New: mlx5 VF node_guid stays 0 in host

Bug 220280 [email protected] 1 participant 1 message Jun 27, 2025 InfiniBand

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=220280

            Bug ID: 220280
           Summary: mlx5 VF node_guid stays 0 in host
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Infiniband/RDMA
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I have a mlx5 setup with switchdev and SR-IOV and I want to make RDMA work using a VF in the host. VFs attached to a VM work fine, but using the same VF in the host works for networking but not for RDMA. It seems that this does not work because the node GUID as shown in ibv_devices stays zero. I found a workaround for this using the following:

Quoted 5 lines

devlink port # find your VF in the list here and copy the id devlink port function set pci/0000:10:00.1/65537 hw_addr 72:e4:64:e0:87:a0 rmmod mlx5_ib
modprobe mlx5_ib
ibv_devices # should show a non-zero node_guid for the VF now

https://forums.developer.nvidia.com/t/how-to-use-vf-on-host/277750/4?u=derago

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.