DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Ouyang, Changchun" <changchun.ouyang@intel.com>
To: "Hu, FangyinX" <fangyinx.hu@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] DPDK bond the virtio NIC run error
Date: Wed, 5 Aug 2015 02:52:02 +0000	[thread overview]
Message-ID: <F52918179C57134FAEC9EA62FA2F962511C656EE@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <03C28A2E6091E74E9737B7F654C6FFA51C9BADFD@SHSMSX101.ccr.corp.intel.com>



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Hu, FangyinX
> Sent: Wednesday, August 5, 2015 10:41 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] DPDK bond the virtio NIC run error
> 
> HI, I use the qemu-kvm create a virtual machine and give a virtio-net-pci
> mode NIC to the VM, then I run the bond_app example get an error. Here is
> the steps.
> 
> 1.       qemu-kvm -enable-kvm -had /home/images/fedora.qcow2 -m 2048 -
> smp 8 -cpu qemu64,+ssse3,+sse4.2 -device virtio-net-pci,netdev=mytap -
> netdev tap,id=mytap,ifname=tap1,script=/etc/qemu-ifup,downscript=no -
> device pci-assign,host=03:00.1
> 
> 2.       compile the DPDK v2.1.0-rc3 and use the tools/dpdk_nic_bind.py script
> to bind the device to the igb_uio
> 
> 3.       execute the example/bond/build/bond_app -c f -n 2  and get the error:
> 
> EAL: memzone_reserve_aligned_thread_unsafe(): memzone <port0_rvq0>
> already exists
> 
> PMD: slave_configure(1351) - rte_eth_tx_queue_setup: port=0 queue_id 0,
> err (-22)
> 
> PMD: bond_ethdev_start(1497) - bonded port (2) failed to reconfigure slave
> device (0)
> 
> EAL: Error - exiting with code: -1
> 
> Cause: Start port 2 failed (res= -1)

Are the rx_mode.hw_vlan_*  enabled on default? 
You may disable it first and try it again.

      reply	other threads:[~2015-08-05  2:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05  2:40 Hu, FangyinX
2015-08-05  2:52 ` Ouyang, Changchun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F52918179C57134FAEC9EA62FA2F962511C656EE@shsmsx102.ccr.corp.intel.com \
    --to=changchun.ouyang@intel.com \
    --cc=dev@dpdk.org \
    --cc=fangyinx.hu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).