Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/53959/?format=api
http://patches.dpdk.org/api/patches/53959/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1559317022-28779-2-git-send-email-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": "<1559317022-28779-2-git-send-email-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1559317022-28779-2-git-send-email-david.marchand@redhat.com", "date": "2019-05-31T15:36:58", "name": "[v5,1/5] eal: use unsigned int in lcore API prototypes", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4226ab14157ee077a4f5fce83092eac335cb69a4", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1559317022-28779-2-git-send-email-david.marchand@redhat.com/mbox/", "series": [ { "id": 4839, "url": "http://patches.dpdk.org/api/series/4839/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4839", "date": "2019-05-31T15:36:57", "name": "make lcore_config internal", "version": 5, "mbox": "http://patches.dpdk.org/series/4839/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/53959/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/53959/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5FE361B993;\n\tFri, 31 May 2019 17:37:20 +0200 (CEST)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id EF4BC1B974\n\tfor <dev@dpdk.org>; Fri, 31 May 2019 17:37:18 +0200 (CEST)", "from smtp.corp.redhat.com\n\t(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 580F9FA8AF;\n\tFri, 31 May 2019 15:37:13 +0000 (UTC)", "from dmarchan.remote.csb (ovpn-116-185.ams2.redhat.com\n\t[10.36.116.185])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id F328A60BFC;\n\tFri, 31 May 2019 15:37:11 +0000 (UTC)" ], "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, stephen@networkplumber.org,\n\tbruce.richardson@intel.com", "Date": "Fri, 31 May 2019 17:36:58 +0200", "Message-Id": "<1559317022-28779-2-git-send-email-david.marchand@redhat.com>", "In-Reply-To": "<1559317022-28779-1-git-send-email-david.marchand@redhat.com>", "References": "<20190408182510.16078-1-stephen@networkplumber.org>\n\t<1559317022-28779-1-git-send-email-david.marchand@redhat.com>", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.38]); Fri, 31 May 2019 15:37:13 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH v5 1/5] eal: use unsigned int in lcore API\n\tprototypes", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Stephen Hemminger <stephen@networkplumber.org>\n\nPurely cosmetic change, use unsigned int instead of unsigned alone.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/librte_eal/common/include/rte_lcore.h | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)\n\nChangelog since v3:\n- updated title", "diff": "diff --git a/lib/librte_eal/common/include/rte_lcore.h b/lib/librte_eal/common/include/rte_lcore.h\nindex be757a3..705594a 100644\n--- a/lib/librte_eal/common/include/rte_lcore.h\n+++ b/lib/librte_eal/common/include/rte_lcore.h\n@@ -137,7 +137,7 @@ struct lcore_config {\n * @return\n * the ID of current lcoreid's physical socket\n */\n-unsigned rte_socket_id(void);\n+unsigned int rte_socket_id(void);\n \n /**\n * Return number of physical sockets detected on the system.\n@@ -177,8 +177,8 @@ struct lcore_config {\n * @return\n * the ID of lcoreid's physical socket\n */\n-static inline unsigned\n-rte_lcore_to_socket_id(unsigned lcore_id)\n+static inline unsigned int\n+rte_lcore_to_socket_id(unsigned int lcore_id)\n {\n \treturn lcore_config[lcore_id].socket_id;\n }\n@@ -193,7 +193,7 @@ struct lcore_config {\n * True if the given lcore is enabled; false otherwise.\n */\n static inline int\n-rte_lcore_is_enabled(unsigned lcore_id)\n+rte_lcore_is_enabled(unsigned int lcore_id)\n {\n \tstruct rte_config *cfg = rte_eal_get_configuration();\n \tif (lcore_id >= RTE_MAX_LCORE)\n@@ -214,8 +214,8 @@ struct lcore_config {\n * @return\n * The next lcore_id or RTE_MAX_LCORE if not found.\n */\n-static inline unsigned\n-rte_get_next_lcore(unsigned i, int skip_master, int wrap)\n+static inline unsigned int\n+rte_get_next_lcore(unsigned int i, int skip_master, int wrap)\n {\n \ti++;\n \tif (wrap)\n", "prefixes": [ "v5", "1/5" ] }{ "id": 53959, "url": "