From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 42E62A0588; Thu, 16 Apr 2020 16:38:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 138881D54C; Thu, 16 Apr 2020 16:38:12 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 84B061D536 for ; Thu, 16 Apr 2020 16:38:10 +0200 (CEST) IronPort-SDR: 2zMrR6TkUZSVLZy8o09f7iWrzbZJjqZR4GK3zy+CEmKnTqAZGxiWZr6Lw58uX7Mnx+DxHqYN+/ 0MuF/3hthNMQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 07:38:09 -0700 IronPort-SDR: pV9xswuvx+NKWS5qzhYjbuH6gWzpChuz8uui9XnYDW1mxIpsB2H9a2uEMTT5EZyO26gzcx25xs nqQVovu95kkA== X-IronPort-AV: E=Sophos;i="5.72,391,1580803200"; d="scan'208";a="427851948" Received: from bricha3-mobl.ger.corp.intel.com ([10.251.93.194]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 16 Apr 2020 07:38:08 -0700 Date: Thu, 16 Apr 2020 15:38:04 +0100 From: Bruce Richardson To: Sahil Khandelwal Cc: dev@dpdk.org Message-ID: <20200416143804.GB1695@bricha3-MOBL.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] Error while running basic forward sample application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Apr 16, 2020 at 05:19:34PM +0530, Sahil Khandelwal wrote: > I am trying to run the basic forwarding sample application with following > arguments > > sudo ./build/basicfwd -l 1 -n 4 > > The error says number of ports must be even > > By ports does it mean by number of nic in my system? In many cases, yes. However, some some nics have multiple ports/interfaces on them. Testpmd, and some other sample apps, don't have this restriction - the basicfwd app does just to keep the code as short and as simple as possible. /Bruce