Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63504/?format=api
http://patches.dpdk.org/api/patches/63504/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191202154146.10600-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": "<20191202154146.10600-1-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191202154146.10600-1-david.marchand@redhat.com", "date": "2019-12-02T15:41:46", "name": "[1/4] eal/windows: fix cpuset macro name", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "a63fe174cc5528a3978bd619d6d2c95f385c92d8", "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/20191202154146.10600-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/63504/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/63504/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 75A09A04B5;\n\tMon, 2 Dec 2019 16:42:04 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 46D291BE83;\n\tMon, 2 Dec 2019 16:42:04 +0100 (CET)", "from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com\n [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id D045C1B9B7\n for <dev@dpdk.org>; Mon, 2 Dec 2019 16:42:02 +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-25-EkYGFuxeN2GZGOm1DUvyCA-1; Mon, 02 Dec 2019 10:41:59 -0500", "from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com\n [10.5.11.12])\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 E546564A90;\n Mon, 2 Dec 2019 15:41:57 +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 883BB60C05;\n Mon, 2 Dec 2019 15:41:55 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1575301322;\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=CeF+CjR51GGyKB9W+Sav3deyxrn+JSL1kVPSO3depL4=;\n b=W83VFS+87/u3gLIDC/iAZsLCQcNnvvf8khIIVxLMx7h5XY5U8CUEc2S0+yxTcPWnGLQyuk\n SNfOkYR3xIXTQJifiLNHFBDTDUduGlwjX78xnwKHcIbY1OGmZA4cPxh9ZlhwJ90EkcOIrR\n Wm/BRFP5ZO0ecsA3CxFUFnL2oEMeYo8=", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "aconole@redhat.com, stable@dpdk.org,\n Harini Ramakrishnan <harini.ramakrishnan@microsoft.com>,\n Omar Cardona <ocardona@microsoft.com>, Anand Rawat <anand.rawat@intel.com>,\n Ranjit Menon <ranjit.menon@intel.com>", "Date": "Mon, 2 Dec 2019 16:41:46 +0100", "Message-Id": "<20191202154146.10600-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.12", "X-MC-Unique": "EkYGFuxeN2GZGOm1DUvyCA-1", "X-Mimecast-Spam-Score": "0", "Content-Type": "text/plain; charset=US-ASCII", "Content-Transfer-Encoding": "quoted-printable", "Subject": "[dpdk-dev] [PATCH 1/4] eal/windows: fix cpuset macro name", "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": "Fix the name of CPU_SETSIZE in hope we can reuse it in other parts of\nthe dpdk manipulating some rte_cpuset_t.\n\nFixes: 4dc2b4d2a4cd (\"eal/windows: add headers for compatibility\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/librte_eal/windows/eal/include/sched.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/lib/librte_eal/windows/eal/include/sched.h b/lib/librte_eal/windows/eal/include/sched.h\nindex 257060594c..29868c93d1 100644\n--- a/lib/librte_eal/windows/eal/include/sched.h\n+++ b/lib/librte_eal/windows/eal/include/sched.h\n@@ -14,8 +14,8 @@\n extern \"C\" {\n #endif\n \n-#ifndef CPU_SET_SIZE\n-#define CPU_SET_SIZE RTE_MAX_LCORE\n+#ifndef CPU_SETSIZE\n+#define CPU_SETSIZE RTE_MAX_LCORE\n #endif\n \n #define _BITS_PER_SET (sizeof(long long) * 8)\n@@ -26,7 +26,7 @@ extern \"C\" {\n #define _WHICH_BIT(b) ((b) & (_BITS_PER_SET - 1))\n \n typedef struct _rte_cpuset_s {\n-\tlong long _bits[_NUM_SETS(CPU_SET_SIZE)];\n+\tlong long _bits[_NUM_SETS(CPU_SETSIZE)];\n } rte_cpuset_t;\n \n #define CPU_SET(b, s) ((s)->_bits[_WHICH_SET(b)] |= (1LL << _WHICH_BIT(b)))\n@@ -35,7 +35,7 @@ typedef struct _rte_cpuset_s {\n \tdo {\t\t\t\t\t\t\t\t\\\n \t\tunsigned int _i;\t\t\t\t\t\\\n \t\t\t\t\t\t\t\t\t\\\n-\t\tfor (_i = 0; _i < _NUM_SETS(CPU_SET_SIZE); _i++)\t\\\n+\t\tfor (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++)\t\t\\\n \t\t\t(s)->_bits[_i] = 0LL;\t\t\t\t\\\n \t} while (0)\n \n", "prefixes": [ "1/4" ] }{ "id": 63504, "url": "