From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 217E52C50 for ; Tue, 21 Feb 2017 15:20:34 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2017 06:20:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,189,1484035200"; d="scan'208";a="60781036" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 21 Feb 2017 06:20:12 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 21 Feb 2017 06:20:11 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.17]) by FMSMSX119.amr.corp.intel.com ([169.254.14.85]) with mapi id 14.03.0248.002; Tue, 21 Feb 2017 06:20:11 -0800 From: "Wiles, Keith" To: SaurabhGL CC: "users@dpdk.org" Thread-Topic: [dpdk-users] Effect of Run pktgen application with NIC under linux control and dpdk control Thread-Index: AQHSjEovG2JIqIs3u0W3OEMe0xTeo6F0CL6A Date: Tue, 21 Feb 2017 14:20:10 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.93.69] Content-Type: text/plain; charset="us-ascii" Content-ID: <13B430DFF346934D8B10B0A4A86AC383@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Effect of Run pktgen application with NIC under linux control and dpdk control 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: Tue, 21 Feb 2017 14:20:35 -0000 > On Feb 21, 2017, at 7:54 AM, SaurabhGL wrote: >=20 > Hi Dpdk Team, >=20 > I am new to dpdk and am trying to run dpdk pktgen application by command > mentioned below : > ./pktgen -c 0x1f -n 3 --vdev=3Deth_pcap0,iface=3Denp2s0 -- -P -m "[1:3].0= " >=20 > Before run the application i execute the script named "dpdk-devbind.py > --status" It's showing status as mentioned below: The virtual devices will not show up in dpdk-devbind.py and if the enp2s0 i= s not suppose to be in the list, but I have not run the eth_pcap device bef= ore. >=20 > Network devices using DPDK-compatible driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >=20 > Network devices using kernel driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:02:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' > if=3Denp2s0 drv=3Dr8169 unused=3D *Active* > 0000:04:01.0 '82546EB Gigabit Ethernet Controller (Copper)' if=3Denp4s1f0 > drv=3De1000 unused=3D > 0000:04:01.1 '82546EB Gigabit Ethernet Controller (Copper)' if=3Denp4s1f1 > drv=3De1000 unused=3D >=20 > Other network devices > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >=20 > It is showing no interface are under the DPDK-compatible driver list, Is = it > means that we are not using the interface enp2s0 with dpdk? > if not, Is it affecting on performance of pktgen application ? >=20 > And Next I to bring the interfaces "enp2s0" from kernel driver list to th= e > "DPDK-compatible driver" list as shown below >=20 > Network devices using DPDK-compatible driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:02:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' > drv=3Digb_uio unused=3Dr8169,uio_pci_generic >=20 > Network devices using kernel driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:04:01.0 '82546EB Gigabit Ethernet Controller (Copper)' if=3Denp4s1f0 > drv=3De1000 unused=3Digb_uio,uio_pci_generic > 0000:04:01.1 '82546EB Gigabit Ethernet Controller (Copper)' if=3Denp4s1f1 > drv=3De1000 unused=3Digb_uio,uio_pci_generic >=20 > Other network devices > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >=20 > but I am not able to got the it interface name and not in active mode als= o, > How to use now pktgen application without interface name? I think the eth_pcap the interface needs to be owned by the kernel not DPDK= , but I could wrong here. When you use PCAP the first way does it work? >=20 > Thanks in advance for quick solution > --=20 > Thanks & Regards >=20 > Saurabh Aggarwal Regards, Keith