From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17CBCC432C0 for ; Mon, 2 Dec 2019 15:36:30 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id BFC1A2073C for ; Mon, 2 Dec 2019 15:36:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="U+XB+Hao" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFC1A2073C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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