* [dpdk-users] Need help to run test_pmd via sr-iov setup
[not found] <824172623.112272.1507760060188.ref@mail.yahoo.com>
@ 2017-10-11 22:14 ` zhi ma
0 siblings, 0 replies; only message in thread
From: zhi ma @ 2017-10-11 22:14 UTC (permalink / raw)
To: users
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-11 22:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <824172623.112272.1507760060188.ref@mail.yahoo.com>
2017-10-11 22:14 ` [dpdk-users] Need help to run test_pmd via sr-iov setup zhi ma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).