<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Anyone knows how to pass sr-iov VF Nic to LXC in pve 4.1?<br>
<br>
The VF nic highlight in *** are the ones that I want to pass to LXC<br>
<div class="bbCodeBlock bbCodeCode">
<div class="type">Code:</div>
<pre>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)</pre>
</div>
I know first I must set in /etc/pve/lxc/CTID.conf<br>
<br>
lxc.cgroup.devices.allow = c XXX:* rwm (where xxx = major *=minor
ids)<br>
<i>lxc.mount.entry = /dev/eth0 dev/eth0 none
bind,optional,create=file</i><br>
<br>
but I cannot find any VF eth NIC under pve host's /dev/
</body>
</html>