Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118051/?format=api
http://patches.dpdk.org/api/patches/118051/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221012114523.9569-1-markus.theil@tu-ilmenau.de/", "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": "<20221012114523.9569-1-markus.theil@tu-ilmenau.de>", "list_archive_url": "https://inbox.dpdk.org/dev/20221012114523.9569-1-markus.theil@tu-ilmenau.de", "date": "2022-10-12T11:45:23", "name": "net/bonding: fix socket_id type", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "1dc112f15f44e9359b251cbbeb20e8609b2cefc5", "submitter": { "id": 747, "url": "http://patches.dpdk.org/api/people/747/?format=api", "name": "Markus Theil", "email": "markus.theil@tu-ilmenau.de" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221012114523.9569-1-markus.theil@tu-ilmenau.de/mbox/", "series": [ { "id": 25177, "url": "http://patches.dpdk.org/api/series/25177/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25177", "date": "2022-10-12T11:45:23", "name": "net/bonding: fix socket_id type", "version": 1, "mbox": "http://patches.dpdk.org/series/25177/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/118051/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/118051/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id AFBF7A0093;\n\tWed, 12 Oct 2022 13:45:30 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 57FBE42EF7;\n\tWed, 12 Oct 2022 13:45:30 +0200 (CEST)", "from smail.rz.tu-ilmenau.de (smail.rz.tu-ilmenau.de [141.24.186.67])\n by mails.dpdk.org (Postfix) with ESMTP id 9CCD64003C\n for <dev@dpdk.org>; Wed, 12 Oct 2022 13:45:28 +0200 (CEST)", "from localhost.localdomain (dialin-ip-23-165.ilmenau.net\n [80.88.23.165])\n by smail.rz.tu-ilmenau.de (Postfix) with ESMTPA id 27B83580099;\n Wed, 12 Oct 2022 13:45:28 +0200 (CEST)" ], "From": "Markus Theil <markus.theil@tu-ilmenau.de>", "To": "dev@dpdk.org", "Cc": "Chas Williams <chas3@att.com>, Min Hu <humin29@huawei.com>,\n Thorben Roemer <thorben.roemer@secunet.com>", "Subject": "[PATCH] net/bonding: fix socket_id type", "Date": "Wed, 12 Oct 2022 13:45:23 +0200", "Message-Id": "<20221012114523.9569-1-markus.theil@tu-ilmenau.de>", "X-Mailer": "git-send-email 2.38.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "From: Thorben Roemer <thorben.roemer@secunet.com>\n\nDPDK uses int or u32 in most other places for\nsocket IDs. Fix compilation warnings by also\nusing int in the bonding code.\n\nSigned-off-by: Thorben Roemer <thorben.roemer@secunet.com>\n---\n drivers/net/bonding/rte_eth_bond.h | 2 +-\n drivers/net/bonding/rte_eth_bond_api.c | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/bonding/rte_eth_bond.h b/drivers/net/bonding/rte_eth_bond.h\nindex 874aa91a5f..3ce2b29052 100644\n--- a/drivers/net/bonding/rte_eth_bond.h\n+++ b/drivers/net/bonding/rte_eth_bond.h\n@@ -99,7 +99,7 @@ extern \"C\" {\n *\tPort Id of created rte_eth_dev on success, negative value otherwise\n */\n int\n-rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id);\n+rte_eth_bond_create(const char *name, uint8_t mode, int socket_id);\n \n /**\n * Free a bonded rte_eth_dev device\ndiff --git a/drivers/net/bonding/rte_eth_bond_api.c b/drivers/net/bonding/rte_eth_bond_api.c\nindex b44dd219cb..3c6e236382 100644\n--- a/drivers/net/bonding/rte_eth_bond_api.c\n+++ b/drivers/net/bonding/rte_eth_bond_api.c\n@@ -148,7 +148,7 @@ deactivate_slave(struct rte_eth_dev *eth_dev, uint16_t port_id)\n }\n \n int\n-rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id)\n+rte_eth_bond_create(const char *name, uint8_t mode, int socket_id)\n {\n \tstruct bond_dev_private *internals;\n \tstruct rte_eth_dev *bond_dev;\n", "prefixes": [] }{ "id": 118051, "url": "