Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/51386/?format=api
http://patches.dpdk.org/api/patches/51386/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1553082442-18850-3-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": "<1553082442-18850-3-git-send-email-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1553082442-18850-3-git-send-email-david.marchand@redhat.com", "date": "2019-03-20T11:47:19", "name": "[2/5] net/bonding: fix incorrect bond port id types", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4804a557babbdbf8a7f6dd36c2064a7fdd9a71a7", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "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/1553082442-18850-3-git-send-email-david.marchand@redhat.com/mbox/", "series": [ { "id": 3816, "url": "http://patches.dpdk.org/api/series/3816/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3816", "date": "2019-03-20T11:47:17", "name": "bonding fixes", "version": 1, "mbox": "http://patches.dpdk.org/series/3816/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/51386/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/51386/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 2B4F35B20;\n\tWed, 20 Mar 2019 12:47:45 +0100 (CET)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 1EAE45B12;\n\tWed, 20 Mar 2019 12:47:43 +0100 (CET)", "from smtp.corp.redhat.com\n\t(int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22])\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 8471C307EA97;\n\tWed, 20 Mar 2019 11:47:42 +0000 (UTC)", "from dmarchan.remote.csb (ovpn-204-129.brq.redhat.com\n\t[10.40.204.129])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 5E5421001E71;\n\tWed, 20 Mar 2019 11:47:41 +0000 (UTC)" ], "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "chas3@att.com,\n\tstable@dpdk.org", "Date": "Wed, 20 Mar 2019 12:47:19 +0100", "Message-Id": "<1553082442-18850-3-git-send-email-david.marchand@redhat.com>", "In-Reply-To": "<1553082442-18850-1-git-send-email-david.marchand@redhat.com>", "References": "<1553082442-18850-1-git-send-email-david.marchand@redhat.com>", "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.22", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.44]); Wed, 20 Mar 2019 11:47:42 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH 2/5] net/bonding: fix incorrect bond port id types", "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": "Following the port id conversion to 16bits, two references to bonding\nport id have been missed.\n\nFixes: f8244c6399d9 (\"ethdev: increase port id range\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/bonding/rte_eth_bond_pmd.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c\nindex b0d191d..df0a3b4 100644\n--- a/drivers/net/bonding/rte_eth_bond_pmd.c\n+++ b/drivers/net/bonding/rte_eth_bond_pmd.c\n@@ -2196,7 +2196,7 @@ struct bwg_slave {\n bond_ethdev_close(struct rte_eth_dev *dev)\n {\n \tstruct bond_dev_private *internals = dev->data->dev_private;\n-\tuint8_t bond_port_id = internals->port_id;\n+\tuint16_t bond_port_id = internals->port_id;\n \tint skipped = 0;\n \tstruct rte_flow_error ferror;\n \n@@ -2663,7 +2663,7 @@ struct bwg_slave {\n \tif (type != RTE_ETH_EVENT_INTR_LSC || param == NULL)\n \t\treturn rc;\n \n-\tbonded_eth_dev = &rte_eth_devices[*(uint8_t *)param];\n+\tbonded_eth_dev = &rte_eth_devices[*(uint16_t *)param];\n \n \tif (check_for_bonded_ethdev(bonded_eth_dev))\n \t\treturn rc;\n", "prefixes": [ "2/5" ] }{ "id": 51386, "url": "