[PVE-User] Mellanox ConnectX-5 and SR-IOV

Chris Hofstaedtler | Deduktiva chris.hofstaedtler at deduktiva.com
Thu May 14 23:13:55 CEST 2020


* Uwe Sauter <uwe.sauter.de at gmail.com> [200514 22:23]:
[...]
> More details:
> 
> I followed these two instructions:
> 
> https://community.mellanox.com/s/article/howto-configure-sr-iov-for-connectx-4-connectx-5-with-kvm--ethernet-x
> 
> https://community.mellanox.com/s/article/howto-configure-sr-iov-for-connect-ib-connectx-4-with-kvm--infiniband-x
> 
> At about halfway through the second site I can't go on because the mentioned paths are not available in /sys:
> /sys/class/infiniband/mlx5_0/device/sriov/0/policy
> /sys/class/infiniband/mlx5_0/device/sriov/0/node
> /sys/class/infiniband/mlx5_0/device/sriov/0/port

Disclaimer: I don't have the hardware you're talking about.

However, I took a quick look at the mainline kernel drivers and the
driver sources from mellanox.com - the mainline kernel does _NOT_
have the code for these files.

I guess if you want to use that, you'll have to install the ofed
driver from mellanox.com (preferably by starting with the sources
for Ubuntu 20.04).

PS: [1] looks like up to date documentation
[1] https://docs.mellanox.com/pages/viewpage.action?pageId=25146819#SingleRootIOVirtualization(SR-IOV)-settingupsr-iov
 
-- 
Chris Hofstaedtler / Deduktiva GmbH (FN 418592 b, HG Wien)
www.deduktiva.com / +43 1 353 1707



More information about the pve-user mailing list