LXC SRIOV passthrough shows no-carrier

ewaldo

Member
Jan 1, 2020
8
1
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!