public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 220280] New: mlx5 VF node_guid stays 0 in host
@ 2025-06-27  9:58 bugzilla-daemon
  0 siblings, 0 replies; only message in thread
From: bugzilla-daemon @ 2025-06-27  9:58 UTC (permalink / raw)
  To: linux-rdma

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: drivers_infiniband-rdma@kernel-bugs.osdl.org
          Reporter: axel@gembe.net
        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:


> 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

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-27  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27  9:58 [Bug 220280] New: mlx5 VF node_guid stays 0 in host bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox