From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id EC1DB7CB0; Thu, 7 Mar 2019 16:36:10 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id BACC2373D; Thu, 7 Mar 2019 10:36:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 07 Mar 2019 10:36:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=OMY5RhCr10Ov2AQ277+/PXpwKaFaVX6WdZG/Fy5CLmM=; b=AFNlQi3ybIlc sDGWdkDFGZncbA1O4+a6Ihp2POGMUuroBu0VQjEFYrCqzr+PZD6/STXJv+Usfxu0 5cmI0hMbyk8K/zt+A14BLtH7V2ta8z9n6GwmhrvSTGv0yFvC3U2GKtca2qMLNdzN /tAfwR1qyc6hYpbwobmrttD0VHyI1To= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=OMY5RhCr10Ov2AQ277+/PXpwKaFaVX6WdZG/Fy5CL mM=; b=HKq5K/ZudAAHR8ivsXVW+NjMgDcs02kgnP57v2UuWSWUB+s9hjuP121zI uElbCvkFa0ya3PcQiGtI8eEEbhi9fMH3XWErOKP9Z6N0s0Btzt8AJ4+ZP4tOwsgP f16hy3fsep6FA9Ojqoj4nNWms9lmwvumfhnxJxXmdEAkFZ995LOn3VnNRKA9u7xP 03RU14Q7F0vyvMBrR024M1fwCcGOnh/cqShcxAOECp5Xtb0o+xWr3o6QXwE9Q5qF vdu5ltBOJPchrs0yHM7KDV4AiNkRTwFOFqLLhl5SGFtv4TI7q7Wv8diVJaIf3F++ JBpTyB8kxmKeedZkpii1KZNk1boIA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrfeekgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 43752E465F; Thu, 7 Mar 2019 10:36:07 -0500 (EST) From: Thomas Monjalon To: David Marchand Cc: stable@dpdk.org, "Burakov, Anatoly" , dev@dpdk.org Date: Thu, 07 Mar 2019 16:36:05 +0100 Message-ID: <4580955.3nGxzKOxPX@xps> In-Reply-To: References: <1550150874-9535-1-git-send-email-david.marchand@redhat.com> <1550608693-12882-1-git-send-email-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] eal: fix check when retrieving current cpu affinity 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: , X-List-Received-Date: Thu, 07 Mar 2019 15:36:11 -0000 20/02/2019 17:02, Burakov, Anatoly: > On 19-Feb-19 8:38 PM, David Marchand wrote: > > pthread_getaffinity_np returns a >0 value when failing. > > > > This is mainly for the sake of correctness. > > The only case where it could fail is when passing an incorrect cpuset > > size wrt to the kernel. > > > > Fixes: 2eba8d21f3c9 ("eal: restrict cores auto detection") > > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > > Reviewed-by: Anatoly Burakov Applied, thanks