LXC SRIOV passthrough shows no-carrier

ewaldo

Member
Jan 1, 2020
8
3
23
45
I have a Mellanox ConnectX-3 card configured with VFs connected to Voltaire 4036's that are running my subnet manager. I have ib_ipoib loaded on the Proxmox host and can successfully assign an IP to the VF and ping my other IB hosts. When I pass the VF to a [un]priviliged LXC container with or without apparmor disabled, ip link shows the interface with NO-CARRIER and does not work. I've tried setting a type of infiniband, but the current LXC version in Proxmox does not recognize this type.

lxc.net.1.type: phys
lxc.net.1.flags: up
lxc.net.1.link: ibp8s0v2
lxc.net.1.ipv4.address: 192.168.4.22/24
lxc.net.1.mtu: 65520

root@local:~# ip link | grep ibp8s0v2
11: ibp8s0v2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 65520 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 256

root@local:~# cat /sys/class/net/ibp8s0v2/mode
connected
 
Last edited: