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 5E3E458E6 for ; Wed, 8 Oct 2014 11:13:02 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 08 Oct 2014 02:10:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,676,1406617200"; d="scan'208";a="602193406" Received: from bricha3-mobl.ger.corp.intel.com (HELO bricha3-mobl.ir.intel.com) ([10.243.20.21]) by fmsmga001.fm.intel.com with SMTP; 08 Oct 2014 02:20:12 -0700 Received: by bricha3-mobl.ir.intel.com (sSMTP sendmail emulation); Wed, 08 Oct 2014 10:20:12 +0001 Date: Wed, 8 Oct 2014 10:20:11 +0100 From: Bruce Richardson To: David Marchand Message-ID: <20141008092011.GA5300@BRICHA3-MOBL> References: <1412757811-10625-1-git-send-email-david.marchand@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1412757811-10625-1-git-send-email-david.marchand@6wind.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.22 (2013-10-16) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal/bsd: fix core detection 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, 08 Oct 2014 09:13:02 -0000 On Wed, Oct 08, 2014 at 10:43:31AM +0200, David Marchand wrote: > Following "options parsing" patchset (commit d7cb626f and 489a9d6c), core > detection is not working correctly on bsd. > > ./x86_64-native-bsdapp-gcc/app/test -c f -n 4 -- -i > [...] > EAL: lcore 0 unavailable > EAL: invalid coremask > > Align bsd to linux: > - commit f563a372 "eal: fix recording of detected/enabled logical cores" > - commit 4f04db8b "eal: check coremask against detected lcores" > > Reported-by: Zhan, Zhaochen > Signed-off-by: David Marchand Acked-by: Bruce Richardson