Anyone knows how to pass sr-iov VF Nic to LXC in pve 4.1?
The VF nic highlight in *** are the ones that I want to pass to LXC
I know first I must set in /etc/pve/lxc/CTID.conf
lxc.cgroup.devices.allow = c XXX:* rwm (where xxx = major *=minor ids)
lxc.mount.entry = /dev/eth0 dev/eth0 none bind,optional,create=file
but I cannot find any VF eth NIC under pve host's /dev/
The VF nic highlight in *** are the ones that I want to pass to LXC
Code:
root@pve-dol1:/sys/class/net/eth6/device# lspci |grep Eth
03:00.0 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T
03:00.1 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T
05:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
05:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
***05:10.1 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
***05:10.3 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
***05:10.5 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
***05:10.7 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
07:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
07:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
I know first I must set in /etc/pve/lxc/CTID.conf
lxc.cgroup.devices.allow = c XXX:* rwm (where xxx = major *=minor ids)
lxc.mount.entry = /dev/eth0 dev/eth0 none bind,optional,create=file
but I cannot find any VF eth NIC under pve host's /dev/