I have an Intel X540 SR-IOV NIC in a box with ACS support running RHEL6.4.
Hi Hongming, I'm hoping you can please help with two issues:
1. The pool works, but I transparent VLAN with the pool does not. I
have to manually run "ip" afterwards to get it to work.
# virsh net-dumpxml em2net
<network connections='1'>
<name>em2net</name>
<uuid>d5dabeb2-fa09-3edf-660a-db42d8cd3f4d</uuid>
<forward mode='hostdev' managed='yes'>
<pf dev='em2'/>
<snip giant list of VFs>
</forward>
</network>
# virsh dumpxml guestbox
---
<interface type='network'>
<mac address='52:54:00:c0:de:00'/>
<source network='em2net'/>
<vlan>
<tag id='17'/>
</vlan>
<alias name='hostdev0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x07'
function='0x0'/>
</interface>
---
The networking doesn't work until I run the following command on the host:
ip link set em2 vf 0 vlan 17
Then networking in the guest starts working and the following shows up
in dmesg on the host:
ixgbe 0000:01:00.1: Setting VLAN 17, QOS 0x0 on VF 0
2. I can only do a single SR-IOV NIC per guest. If I try to add
another NIC (or even PCI passthrough), I get "Duplicate ID 'hostdev0'
for device"
Best regards,
Dax Kelson