From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) by dpdk.org (Postfix) with ESMTP id B4B022A5D for ; Thu, 26 Feb 2015 15:11:23 +0100 (CET) Received: by labge10 with SMTP id ge10so11125846lab.12 for ; Thu, 26 Feb 2015 06:11:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=iSx7zMGWK8qBI7YpAUSEMeEAlapwh60SEd4vIrBvYzg=; b=w/CL02WapQ1kDXvU0NAxFa7pDM80hGm6SV+SCIHOjRa9gpbAJONOb2zeLoFHM3kNTE c3aP8SMlXjTZOMb0/X9gJVEaYTrZbfGj+jjkOUrZVmYc4TBDcZ/WUh4LwlnCOpe0r/Cp juXxNYYhxNK2zTPqs7XBmu4wlF0J+2MELFghT5XaGNvKt+vGYRzR5ocM26DFkebPIQM+ wnin7gm2lIVX5uAa8dvYo498ofM784K08pAozBIu0ynAo8jbATu+mghgqRkw6O3qc493 qLO2Oe/vyPSKrOevZ7X14y32LaMrrnwC+ouS0lYJfN3+PZQMzNfT6wfYzlvpyFc2taZY iyBQ== MIME-Version: 1.0 X-Received: by 10.112.141.34 with SMTP id rl2mr7707909lbb.26.1424959883326; Thu, 26 Feb 2015 06:11:23 -0800 (PST) Received: by 10.25.206.148 with HTTP; Thu, 26 Feb 2015 06:11:23 -0800 (PST) Date: Thu, 26 Feb 2015 19:41:23 +0530 Message-ID: From: Srinivasreddy R To: "dev@dpdk.org" , dpdk-ovs@lists.01.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] problem in binding interfaces of virtio-pci on the VM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 14:11:24 -0000 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 ============================================ 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 ===================== ./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.