From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 02D495A7B for ; Wed, 25 Mar 2015 16:17:28 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 25 Mar 2015 08:17:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,465,1422950400"; d="scan'208";a="472467908" Received: from bricha3-mobl3.ger.corp.intel.com ([10.243.20.28]) by FMSMGA003.fm.intel.com with SMTP; 25 Mar 2015 08:17:26 -0700 Received: by (sSMTP sendmail emulation); Wed, 25 Mar 2015 15:17:25 +0025 Date: Wed, 25 Mar 2015 15:17:25 +0000 From: Bruce Richardson To: Shankari Vaidyalingam Message-ID: <20150325151724.GC5620@bricha3-MOBL3> References: <20150325150352.GB5620@bricha3-MOBL3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Interface name after bound to IGB 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, 25 Mar 2015 15:17:29 -0000 On Wed, Mar 25, 2015 at 08:44:51PM +0530, Shankari Vaidyalingam wrote: > Hi Bruce, > > > If I want to capture the packets received by the interface bound to IGB > (DPDK interface) then I'd like to know what would be the interface name > that must be given. > > Regards > Shankari.V > To capture using DPDK, the port will be picked up automatically by DPDK init sequence, or you can explicitly whitelist it via BDF, if you really want. To capture using something that uses the kernel driver, e.g. using libpcap, you need to unbind from igb_uio and bind back to the kernel driver again. Regards, /Bruce > > On Wed, Mar 25, 2015 at 8:33 PM, Bruce Richardson < > bruce.richardson@intel.com> wrote: > > > On Wed, Mar 25, 2015 at 08:00:02PM +0530, Shankari Vaidyalingam wrote: > > > Hi > > > > > > By what name is the NIC port identified after it is bound to the igb_uio > > > driver (i.e after it becomes a DPDK interface) > > > I'm asking this question because the interface does not get displayed in > > > the output of the "ifconfig" after it gets bound to igb_uio driver. > > > > > > > > > Regards > > > Shankari.V > > > > Identified where, or to what? It still maintains the same PCI > > bus-device-function > > which can be used to identify it, if that is what you mean. > > > > /Bruce > >