Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63506/?format=api
http://patches.dpdk.org/api/patches/63506/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191202154210.10837-1-david.marchand@redhat.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20191202154210.10837-1-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191202154210.10837-1-david.marchand@redhat.com", "date": "2019-12-02T15:42:10", "name": "[3/4] eal: display all detected cores at startup", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "fa6a618755bd912e004b2ea3f268316114330e2e", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191202154210.10837-1-david.marchand@redhat.com/mbox/", "series": [ { "id": 7707, "url": "http://patches.dpdk.org/api/series/7707/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7707", "date": "2019-12-02T15:35:55", "name": "Extend --lcores to run on cores > RTE_MAX_LCORE", "version": 1, "mbox": "http://patches.dpdk.org/series/7707/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/63506/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/63506/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 8EF61A04B5;\n\tMon, 2 Dec 2019 16:42:20 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 719051BE3D;\n\tMon, 2 Dec 2019 16:42:20 +0100 (CET)", "from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com\n [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 803851BE3D\n for <dev@dpdk.org>; Mon, 2 Dec 2019 16:42:18 +0100 (CET)", "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-382-E6-I7UFeNbu6MQPKkxYO2w-1; Mon, 02 Dec 2019 10:42:17 -0500", "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com\n [10.5.11.11])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0D8F81099BB1\n for <dev@dpdk.org>; Mon, 2 Dec 2019 15:42:16 +0000 (UTC)", "from dmarchan.remote.csb (ovpn-205-88.brq.redhat.com [10.40.205.88])\n by smtp.corp.redhat.com (Postfix) with ESMTP id B3768600C8;\n Mon, 2 Dec 2019 15:42:14 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1575301338;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=ziPQrN0/eev7S2nwq9z4NKxVwAv428fZRgRx1k1TynY=;\n b=D8qjCMiJWYGh+F0LYt63ykRNkn7KyqIlQtPb3/SZ0ZHrxRtIw4CS+cau9p8JNzj3hciYCc\n XhbOO9QDMt7cQiZGQKRVr7Xmsqt2vPBVwbkNBCdcWRhxL3EJnSN99/XquraShXjAKFr4t1\n V1+5lY4xPa74Eng2ryGPX8P/sUZGoao=", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "aconole@redhat.com", "Date": "Mon, 2 Dec 2019 16:42:10 +0100", "Message-Id": "<20191202154210.10837-1-david.marchand@redhat.com>", "In-Reply-To": "<20191202153559.9709-1-david.marchand@redhat.com>", "References": "<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": "E6-I7UFeNbu6MQPKkxYO2w-1", "X-Mimecast-Spam-Score": "0", "Content-Type": "text/plain; charset=US-ASCII", "Content-Transfer-Encoding": "quoted-printable", "Subject": "[dpdk-dev] [PATCH 3/4] eal: display all detected cores at startup", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add debug logs to have a trace of unused cores for -c/-l options on\nsystems with more cores than RTE_MAX_LCORE.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/librte_eal/common/eal_common_lcore.c | 8 ++++++++\n 1 file changed, 8 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/eal_common_lcore.c b/lib/librte_eal/common/eal_common_lcore.c\nindex 1d16fb2156..5404922a87 100644\n--- a/lib/librte_eal/common/eal_common_lcore.c\n+++ b/lib/librte_eal/common/eal_common_lcore.c\n@@ -159,6 +159,14 @@ rte_eal_cpu_init(void)\n \t\t\t\tlcore_config[lcore_id].socket_id);\n \t\tcount++;\n \t}\n+\tfor (; lcore_id < CPU_SETSIZE; lcore_id++) {\n+\t\tif (eal_cpu_detected(lcore_id) == 0)\n+\t\t\tcontinue;\n+\t\tRTE_LOG(DEBUG, EAL, \"Skipped lcore %u as core %u on socket %u\\n\",\n+\t\t\tlcore_id, eal_cpu_core_id(lcore_id),\n+\t\t\teal_cpu_socket_id(lcore_id));\n+\t}\n+\n \t/* Set the count of enabled logical cores of the EAL configuration */\n \tconfig->lcore_count = count;\n \tRTE_LOG(DEBUG, EAL,\n", "prefixes": [ "3/4" ] }{ "id": 63506, "url": "