From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4867DA0C41 for ; Sat, 9 Oct 2021 01:56:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3759B40685; Sat, 9 Oct 2021 01:56:25 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id ED5834003C; Sat, 9 Oct 2021 01:56:22 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1059) id D10EA20B8008; Fri, 8 Oct 2021 16:56:21 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D10EA20B8008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1633737381; bh=W7rjGZC2gPZhGm+/nTBqjc4GPwq9F7jJ3P6m39i28LE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V0jPMwfhdNGdYGWdkAWgO1GqrSrf2EVWTszP9r7VKYRTsay0r17o9EGX5PG1egz4t 3y8iDSvGueU6umZN+1W90+9LewY1TeBFsDPpRZCwvcIO/juFucI/1/3Lxab2Evq69M sNKI/RQ0EPH0v4+MY0EOLEoEHix466TWoF/EHnnI= Date: Fri, 8 Oct 2021 16:56:21 -0700 From: Narcisa Ana Maria Vasile To: dev@dpdk.org, thomas@monjalon.net, dmitry.kozliuk@gmail.com, khot@microsoft.com, navasile@microsoft.com, dmitrym@microsoft.com, roretzla@microsoft.com, talshn@nvidia.com, ocardona@microsoft.com Cc: bruce.richardson@intel.com, david.marchand@redhat.com, pallavi.kadam@intel.com, stable@dpdk.org Message-ID: <20211008235621.GA28406@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1625018165-27103-1-git-send-email-navasile@linux.microsoft.com> <1629294360-5737-1-git-send-email-navasile@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1629294360-5737-1-git-send-email-navasile@linux.microsoft.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3] eal/windows: ensure all enabled CPUs are counted X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Wed, Aug 18, 2021 at 06:46:00AM -0700, Narcisa Ana Maria Vasile wrote: > From: Narcisa Vasile > > On Windows, -l/--lcores EAL option was unable to process CPU sets > containing CPUs other than 0 and 1, because CPU_COUNT() macro > only checked these CPUs in the set. Fix CPU_COUNT() by enumerating > all possible CPU indices. > > Fixes: e8428a9d89f1 ("eal/windows: add some basic functions and macros") > Cc: pallavi.kadam@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Narcisa Vasile > Acked-by: Dmitry Kozlyuk > Acked-by: Pallavi Kadam > --- Can this be merged? This small fix will solve the issues related to threads affinity on Windows. Thanks!