New: mlx5 VF node_guid stays 0 in host
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: NoI 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_addr72:e4:64:e0:87:a0 rmmodmlx5_ib
modprobemlx5_ibibv_devices# should show a non-zeronode_guidfor 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.