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 D6F031D90; Tue, 12 Dec 2017 15:16:04 +0100 (CET) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2017 06:16:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,395,1508828400"; d="scan'208";a="11679597" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.106]) by orsmga003.jf.intel.com with SMTP; 12 Dec 2017 06:16:01 -0800 Received: by (sSMTP sendmail emulation); Tue, 12 Dec 2017 14:16:00 +0000 Date: Tue, 12 Dec 2017 14:16:00 +0000 From: Bruce Richardson To: Pragash Vijayaragavan Cc: users@dpdk.org Message-ID: <20171212141600.GB7280@bricha3-MOBL3.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.9.1 (2017-09-22) Subject: Re: [dpdk-users] [dpdk-dev] check_port_config error 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, 12 Dec 2017 14:16:05 -0000 On Tue, Dec 12, 2017 at 01:22:16AM -0500, Pragash Vijayaragavan wrote: > Hi, > > I am trying to run dpdk app l3fwd but gives some errors. > > I bind my nics using dpdk-dev-bind script. > > I also set env variables correctly. > > The nb_ports is 0 when i tried printing that inside "check_port_config" > function. > Also I used "igb_uio" module but it still shows net_i40e > > can someone help me please. Thanks > Hi, this question is more suited to the users@dpdk.org rather than the dev@dpdk.org list. However, in order to debug your problem, it could be useful to send on the output of "dpdk-devbind.py -s" to show the current state of the various ports. > pragash@revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$ ./l3fwd -l 1-19 > --no-huge -- -p 0x07 -L --config="(0,0,1),(1,0,2)" --ipv6 --parse-ptype > EAL: Detected 20 lcore(s) > EAL: Probing VFIO support... > EAL: Started without hugepages support, physical addresses not available I notice too, that you are not running as the root user and not using hugepage memory. In this case, the driver may not be able to function as it cannot get the physical address information of the memory in use. Does running using sudo and without the "--no-huge" flag work? /Bruce