From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 64D13106A for ; Mon, 12 Dec 2016 22:08:28 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP; 12 Dec 2016 13:08:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,338,1477983600"; d="scan'208";a="201789188" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 12 Dec 2016 13:08:27 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 12 Dec 2016 13:08:27 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.68]) by FMSMSX157.amr.corp.intel.com ([169.254.14.184]) with mapi id 14.03.0248.002; Mon, 12 Dec 2016 13:08:26 -0800 From: "Wiles, Keith" To: Vincent Li CC: "users@dpdk.org" Thread-Topic: [dpdk-users] Pktgen with bonding port Thread-Index: AQHSVKoYaEbjeb6OJk+leNMTXr87aKEFVImA Date: Mon, 12 Dec 2016 21:08:25 +0000 Message-ID: <7316C74C-5EE4-4986-AA63-B669D68D11D8@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.133.241] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Pktgen with bonding port X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 21:08:29 -0000 > On Dec 12, 2016, at 1:00 PM, Vincent Li wrote: >=20 > Hi, >=20 > It appears to me Pktgen can't be used with DPDK bonding port after > reading the app/pktgen-port-cfg.c and bonding example code under DPDK > source example/bond/main.c. is that the case? >=20 > does Pktgen need to be patched to use DPDK bonding port? I plan to use > Intel 82599 dual 10G port in bonding so I could achieve ~20G > throughput, any thought? For DPDK bonding to work the application must call TX routines even when id= le, Pktgen did not do this in older versions. Now Pktgen does work with bonding driver and I have been using it for a few= week now. Please have a look at the current version of Pktgen. should be a= 3.1.0 version on master. What is the version you are using now? Here is a command line I used to for 8 port/ 2 bonds of 4 ports each. ./app/app/x86_64-native-linuxapp-gcc/app/pktgen -l 1-3,18-19 -n 4 --proc-ty= pe auto --log-level 8 --socket-mem 4096,4096 --file-prefix pg --vdev=3Dnet_= bonding0,mode=3D4,xmit_policy=3Dl23,slave=3D0000:04:00.0,slave=3D0000:04:00= .1,slave=3D0000:04:00.2,slave=3D0000:04:00.3 --vdev=3Dnet_bonding1,mode=3D4= ,xmit_policy=3Dl23,slave=3D0000:81:00.0,slave=3D0000:81:00.1,slave=3D0000:8= 1:00.2,slave=3D0000:81:00.3 -b 05:00.0 -b 05:00.1 -b 82:00.0 -b 83:00.0 -- = -T -P --crc-strip -m [2:3].0 -m [18:19].1 -f themes/black-yellow.theme >=20 > Thanks >=20 > Vincent Regards, Keith