Need help to run test_pmd via sr-iov setup
my steps:1. set "intel_iommu=on" in kernel boot parameter2. update host grub 
and reboot3. create VF:    echo 1 > /sys/class/net/eth17/device sriov_numvfs    
echo 1 > /sys/class/net/eth18/device sriov_numvfs    cat 
/sys/class/net/eth17/device sriov_numvfs    1    cat 
/sys/class/net/eth18/device sriov_numvfs    1 4. set Mac    ip link set eth17 
vf 0 mac aa:bb:cc:dd:00:00    ip link set eth18 vf 0 mac aa:bb:cc:dd:01:00 5. 
rmmod ixgbevf 6. start ubuntu 14.04 vm with KVM virt-manager, add two PCI host 
device (Virtual function devices) 7. run dpdk app --- test_pmd in vm (two ports 
connected back to back)    start tx_first    stop    no packets  8. if I run 
test_pmd inside host machine, it works fine. (so those two ports connected fine)
 INTEL X520-SR2 both host and guest vm running as ubuntu 14.04
 any thing wrong with my setup? Please help
part of my virus xml    <hostdev mode='subsystem' type='pci' managed='yes'>     
 <driver name='vfio'/>      <source>        <address domain='0x0000' bus='0x09' 
slot='0x10' function='0x0'/>      </source>      <alias name='hostdev0'/>      
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>    
</hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>      <driver 
name='vfio'/>      <source>        <address domain='0x0000' bus='0x09' 
slot='0x10' function='0x1'/>      </source>      <alias name='hostdev1'/>      
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>    
</hostdev>

Reply via email to