From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A0E745A5E for ; Wed, 5 Aug 2015 04:40:57 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 04 Aug 2015 19:40:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,613,1432623600"; d="scan'208,217";a="742374441" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by orsmga001.jf.intel.com with ESMTP; 04 Aug 2015 19:40:54 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 5 Aug 2015 10:40:52 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.18]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.188]) with mapi id 14.03.0224.002; Wed, 5 Aug 2015 10:40:51 +0800 From: "Hu, FangyinX" To: "dev@dpdk.org" Thread-Topic: DPDK bond the virtio NIC run error Thread-Index: AdDPKCGRwR3fjB5nTVW0kfTNdXeiqw== Date: Wed, 5 Aug 2015 02:40:51 +0000 Message-ID: <03C28A2E6091E74E9737B7F654C6FFA51C9BADFD@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK bond the virtio NIC run error 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: Wed, 05 Aug 2015 02:40:58 -0000 HI, I use the qemu-kvm create a virtual machine and give a virtio-net-pci m= ode NIC to the VM, then I run the bond_app example get an error. Here is th= e 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=3Dmytap -netdev t= ap,id=3Dmytap,ifname=3Dtap1,script=3D/etc/qemu-ifup,downscript=3Dno -device= pci-assign,host=3D03:00.1 2. compile the DPDK v2.1.0-rc3 and use the tools/dpdk_nic_bind.py scr= ipt to bind the device to the igb_uio 3. execute the example/bond/build/bond_app -c f -n 2 and get the err= or: EAL: memzone_reserve_aligned_thread_unsafe(): memzone already = exists PMD: slave_configure(1351) - rte_eth_tx_queue_setup: port=3D0 queue_id 0, e= rr (-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=3D -1)