Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/53263/?format=api
http://patches.dpdk.org/api/patches/53263/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190503172507.5272-2-stephen@networkplumber.org/", "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": "<20190503172507.5272-2-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20190503172507.5272-2-stephen@networkplumber.org", "date": "2019-05-03T17:25:03", "name": "[v3,1/5] eal: use unsigned int in rte_lcore.h functions", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4226ab14157ee077a4f5fce83092eac335cb69a4", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190503172507.5272-2-stephen@networkplumber.org/mbox/", "series": [ { "id": 4560, "url": "http://patches.dpdk.org/api/series/4560/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4560", "date": "2019-05-03T17:25:02", "name": "prepare to make lcore_config not visible in ABI", "version": 3, "mbox": "http://patches.dpdk.org/series/4560/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/53263/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/53263/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 42A291B10D;\n\tFri, 3 May 2019 19:25:20 +0200 (CEST)", "from mail-pl1-f195.google.com (mail-pl1-f195.google.com\n\t[209.85.214.195]) by dpdk.org (Postfix) with ESMTP id A11B94C77\n\tfor <dev@dpdk.org>; Fri, 3 May 2019 19:25:17 +0200 (CEST)", "by mail-pl1-f195.google.com with SMTP id x15so2994556pln.9\n\tfor <dev@dpdk.org>; Fri, 03 May 2019 10:25:17 -0700 (PDT)", "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tt13sm3109578pgj.49.2019.05.03.10.25.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 03 May 2019 10:25:15 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Nx17vRmNuik8ALLa9BMVsahPMcMDaaRmxLi8wsm1p6k=;\n\tb=o1WB9bmOLywhxoC8IeLyeTzdUid5ZyxYdDU7IrMZzUGKtkWfRbLCmiERj6UmFJTR7Y\n\thlbk7X84DkypuCBMbf7WbOBvu76j6Mvvwd+Drt9k1PPjSERE8i+au5gsHvHQ+6jbsCJ0\n\tDpoSOvAvgcvy6Kcz4DRgvaKEh/pr5hGKojOPWYt4AiFNR/+G7gqCLhUNmfewlV7YMRru\n\t0flyf6P5+6Wffba0ZFw2BqerrwtJ4af3isLgSQoQKQFZPmVSkODgGA9zR/F6rxm3eY9f\n\tKTJ0j5Vu3Pbp7NPkJ1G8Th+0M2p3ZEYg6N1O9JLSOPeM80aXJJS3QsRe5gaAzmWS3in0\n\tF+FA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=Nx17vRmNuik8ALLa9BMVsahPMcMDaaRmxLi8wsm1p6k=;\n\tb=g37AKJHobTaV+jcPo4eamvwyjmQBsXMr2s7GN1OOcemREfRE2+sm1Cro61GoLAOn7W\n\tjwWcSL8nrl1GpmV/sm2V+RxCTw0Ynlt80qx/NXlyVr7NnZ6QPPjEHjv1VGOmhvI7pNVN\n\tflnypjrhPyYg7LWDwvMebj3VK7dFA1xzH30aDXDW8rDJxM51TjI88NsxlM+pjFuWBENm\n\t43HPpxDWJZTig5EchsgiuLxqBovGpXsjcovItz/zNa5J6SZu1OMUln86b1DED/ZKJHc5\n\t+7uFr1GAIVLLKdPbVJ0TuGqcEUdAbNAqWnoIkLKK1Jxn/8TnEA6a7czY8cEXv9tZUR4J\n\tjEJQ==", "X-Gm-Message-State": "APjAAAV1C3ox8vkGEcDO5YEeMx267GESxLHy1o8khAqlpoYWox6YBt+J\n\tSHNUvAeozOWnFj0ZSNrawbUQAq0UsFs=", "X-Google-Smtp-Source": "APXvYqzTiXE0jSB9naeb4W211UPtrhGybNmhfTwLx3y4rV2k/l+z7huMtfpHL95gzNoAQvt6H4d6Bw==", "X-Received": "by 2002:a17:902:e402:: with SMTP id\n\tci2mr12191359plb.154.1556904316489; \n\tFri, 03 May 2019 10:25:16 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n\tDavid Marchand <david.marchand@redhat.com>", "Date": "Fri, 3 May 2019 10:25:03 -0700", "Message-Id": "<20190503172507.5272-2-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20190503172507.5272-1-stephen@networkplumber.org>", "References": "<20190410171603.8979-1-stephen@networkplumber.org>\n\t<20190503172507.5272-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3 1/5] eal: use unsigned int in rte_lcore.h\n\tfunctions", "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": "Purely cosmetic change, use unsigned int instead of unsigned alone.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\nReviewed-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(-)", "diff": "diff --git a/lib/librte_eal/common/include/rte_lcore.h b/lib/librte_eal/common/include/rte_lcore.h\nindex be757a32e085..705594acbb5e 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 @@ rte_lcore_index(int lcore_id)\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 @@ rte_socket_id_by_idx(unsigned int idx);\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 @@ rte_lcore_to_socket_id(unsigned lcore_id)\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 @@ rte_lcore_is_enabled(unsigned lcore_id)\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": [ "v3", "1/5" ] }{ "id": 53263, "url": "