From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8F5EBA04B5; Mon, 2 Dec 2019 16:36:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D74EB1B9B7; Mon, 2 Dec 2019 16:36:28 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id BDA2D5681 for ; Mon, 2 Dec 2019 16:36:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575300987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gQWiRK4clldx55hGSO9nx1QvQcCmkBxxzB3TiNZNcok=; b=U+XB+HaoXcASY2mon8h1xFUMfqPaU69eeWvR4g8e9cC6IYs5IsIdM1/CutnmZ8D4I5T1fZ SNo8DlAKejk81PgDc6Ha9uL0xC8ILIy0M7vF3tAeEFLXuPL2aB+palc3/tyFBspVBvOpj7 Tj1hKbhbulqMqO/ZRYm7zTkGjZzCbaU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-124-qymGvJFUMgyrfBbNwYnfPQ-1; Mon, 02 Dec 2019 10:36:23 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 714958BDDC2 for ; Mon, 2 Dec 2019 15:36:22 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-205-88.brq.redhat.com [10.40.205.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 38DAA600C8; Mon, 2 Dec 2019 15:36:21 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: aconole@redhat.com Date: Mon, 2 Dec 2019 16:35:55 +0100 Message-Id: <20191202153559.9709-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: qymGvJFUMgyrfBbNwYnfPQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH 0/4] Extend --lcores to run on cores > RTE_MAX_LCORE 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" We are currently stuck with no option but recompile a DPDK if the system has more cores than RTE_MAX_LCORE. A bit of a pity when you get a system with more than 200+ cores and your testpmd has been built and packaged with RTE_MAX_LCORE =3D=3D 128. The --lcores does not need to care about the underlying cores, remove this limitation. --=20 David Marchand David Marchand (4): eal/windows: fix cpuset macro name eal: do not cache lcore detection state eal: display all detected cores at startup eal: remove limitation on cpuset with --lcores drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 31 +++++---- lib/librte_eal/common/eal_common_lcore.c | 12 +++- lib/librte_eal/common/eal_common_options.c | 73 +++++++++++----------- lib/librte_eal/common/eal_common_thread.c | 4 +- lib/librte_eal/common/eal_private.h | 1 - lib/librte_eal/windows/eal/include/sched.h | 8 +-- 6 files changed, 68 insertions(+), 61 deletions(-) --=20 2.23.0