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 8A36168CE for ; Wed, 8 Oct 2014 12:03:37 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 08 Oct 2014 03:10:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="397010446" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 08 Oct 2014 03:04:06 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 8 Oct 2014 03:10:52 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 8 Oct 2014 03:10:52 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.230]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.190]) with mapi id 14.03.0195.001; Wed, 8 Oct 2014 18:10:51 +0800 From: "Zhan, Zhaochen" To: David Marchand Thread-Topic: [dpdk-dev] [PATCH] eal/bsd: fix core detection Thread-Index: AQHP4tQAhccv3hy1i0SELNXGiQsVfZwlZlqAgACRIhA= Date: Wed, 8 Oct 2014 10:10:50 +0000 Message-ID: <6D0EE020084B194084D70B0A8D2207B8EDB4CF@SHSMSX104.ccr.corp.intel.com> References: <1412757811-10625-1-git-send-email-david.marchand@6wind.com> <20141008092011.GA5300@BRICHA3-MOBL> In-Reply-To: <20141008092011.GA5300@BRICHA3-MOBL> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 10:03:38 -0000 > > Following "options parsing" patchset (commit d7cb626f and 489a9d6c), co= re > > 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 >=20 > Acked-by: Bruce Richardson Tested-by: Zhaochen Zhan This patch has been verified on FreeBSD 10.0. DPDK base commit: 3043ce5011aa7075b32c80c79b9db96199938602 CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz GCC: gcc48 (FreeBSD Ports Collection) 4.8.3 =20