From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] eal/bsd: fix core detection Date: Wed, 8 Oct 2014 10:20:11 +0100 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 Cc: dev-VfR2kkLFssw@public.gmane.org To: David Marchand Return-path: Content-Disposition: inline In-Reply-To: <1412757811-10625-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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