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 7A13EA034F; Mon, 11 Oct 2021 20:48:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFB9941130; Mon, 11 Oct 2021 20:48:56 +0200 (CEST) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by mails.dpdk.org (Postfix) with ESMTP id 093DE410FA; Mon, 11 Oct 2021 20:48:54 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 78339580C02; Mon, 11 Oct 2021 14:48:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 11 Oct 2021 14:48:53 -0400 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=fm2; bh= vSKP5OJ07T1Ul2fQrj3mislyIp2MfyqVLZ8qUdOfWW0=; b=OWUfm2CouogaCSkf NE0zGo9cSzBa6MUBuRhhG2IOzVcMCZ3GSci3cWITLPgyKHZ/Acko3/bD1Ficmehp YGodg5VXPEpf/lUoX1dULkTFOh3nzAKCj8uAv4JZuoUzq3gFVlFPFW56m8gJDrrT CoIEPtac45pOw6QSn2xmZidK7xn1dRI5JLrdmsokhKoqn2yOyUFbgxiKQ0viAh99 FTB+788njjsTcNPva7nEiZWJcrl0CXW04VTDdKFwFwoYY4c2E44Txy0dh+9qfpZK d+ciMueHmFMSoUwE9yh3fr5RbnVDp9orn2IvIYumSrMZaKmQVT0bTUp1wvd43SIS 00QOxQ== 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=fm1; bh=vSKP5OJ07T1Ul2fQrj3mislyIp2MfyqVLZ8qUdOfW W0=; b=gIOFIbVIf2vwWSmbP4FMP99FY8U/UL8v4aAUch1iHnQjXQ5zMfyFtqaJr oqo7ioC2RjcYQk7g8D/RkJjqV2LFM80GFiglRBsMoCGXPCw1+t4AoAg0A+/8jk8p rS+rjM/kMnm4koezc2ADjxb8WAAJEHhomJZTJGN68Cya1am2JxaTmChoJKecTJ66 C8TrDl2qSQ7tEZrf0OaSVPstyVoNDl2KjOLnLXMLjxxnNAa+2CBCXFiEoZqZPVAI YrjRQo3weWI0Lt9gpM3yL9hb0s7m1/z6cG/L2fvGIij88FJcfF695ecOKmJ963HS anIow9QIg69YS1Gy0I/wEctk/06oA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtiedguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtuf ertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghs sehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepudeggfdvfeduffdtfe eglefghfeukefgfffhueejtdetuedtjeeuieeivdffgeehnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonh drnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 11 Oct 2021 14:48:49 -0400 (EDT) From: Thomas Monjalon To: navasile@microsoft.com Cc: dev@dpdk.org, dmitry.kozliuk@gmail.com, khot@microsoft.com, dmitrym@microsoft.com, roretzla@microsoft.com, talshn@nvidia.com, ocardona@microsoft.com, stable@dpdk.org, bruce.richardson@intel.com, david.marchand@redhat.com, pallavi.kadam@intel.com, stable@dpdk.org Date: Mon, 11 Oct 2021 20:48:46 +0200 Message-ID: <5045374.jdPX3CK3We@thomas> In-Reply-To: <1629294360-5737-1-git-send-email-navasile@linux.microsoft.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v3] eal/windows: ensure all enabled CPUs are counted X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 18/08/2021 15:46, Narcisa Ana Maria Vasile: > 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 Applied, thanks. Sorry for the delay.