DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] problem in binding interfaces of virtio-pci on the VM
@ 2015-02-26 14:11 Srinivasreddy R
  2015-02-26 15:12 ` [dpdk-dev] [Dpdk-ovs] " Polehn, Mike A
  0 siblings, 1 reply; 10+ messages in thread
From: Srinivasreddy R @ 2015-02-26 14:11 UTC (permalink / raw)
  To: dev, dpdk-ovs

hi ,
I have written sample program for usvhost  supported by ovdk.

i have initialized VM using the below command .
On the VM :

I am able to see two interfaces . and working fine with traffic in
rawsocket mode .
my problem is when i bind the interfaces to pmd driver[ ibg_uio ] my
virtual machine is getting hanged . and  i am not able to access it further
.
now my question is . what may be the reason for the behavior . and how can
in debug the root cause .
please help in finding out the problem .



 ./tools/dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
<none>

Network devices using kernel driver
===================================
0000:00:03.0 '82540EM Gigabit Ethernet Controller' if=ens3 drv=e1000
unused=igb_uio *Active*
0000:00:04.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio
0000:00:05.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio

Other network devices
=====================
<none>


./dpdk_nic_bind.py --bind=igb_uio 00:04.0 00:05.0



./x86_64-softmmu/qemu-system-x86_64 -cpu host -boot c  -hda
/home/utils/images/vm1.img  -m 2048M -smp 3 --enable-kvm -name 'VM1'
-nographic -vnc :1 -pidfile /tmp/vm1.pid -drive
file=fat:rw:/tmp/qemu_share,snapshot=off -monitor
unix:/tmp/vm1monitor,server,nowait  -net none -no-reboot -mem-path
/dev/hugepages -mem-prealloc -netdev
type=tap,id=net1,script=no,downscript=no,ifname=usvhost1,vhost=on -device
virtio-net-pci,netdev=net1,mac=00:16:3e:00:03:03,csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off
-netdev type=tap,id=net2,script=no,downscript=no,ifname=usvhost2,vhost=on
-device
virtio-net-pci,netdev=net2,mac=00:16:3e:00:03:04,csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off




----------
thanks
srinivas.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-27 18:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 14:11 [dpdk-dev] problem in binding interfaces of virtio-pci on the VM Srinivasreddy R
2015-02-26 15:12 ` [dpdk-dev] [Dpdk-ovs] " Polehn, Mike A
2015-02-26 16:38   ` Srinivasreddy R
2015-02-26 17:00     ` Bruce Richardson
2015-02-26 17:16       ` Srinivasreddy R
2015-02-27 10:06         ` Bruce Richardson
2015-02-27 10:59           ` Srinivasreddy R
2015-02-27 11:09             ` Bruce Richardson
2015-02-27 14:17             ` Mussar, Gary
2015-02-27 18:21               ` Srinivasreddy R

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).