get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/59058/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 59058,
    "url": "http://patches.dpdk.org/api/patches/59058/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1568103959-25572-2-git-send-email-arybchenko@solarflare.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": "<1568103959-25572-2-git-send-email-arybchenko@solarflare.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1568103959-25572-2-git-send-email-arybchenko@solarflare.com",
    "date": "2019-09-10T08:25:41",
    "name": "[01/18] net/bonding: fix link speed update in broadcast mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e3fe1fef8170fbf40c5d1e61875f3e056813d12f",
    "submitter": {
        "id": 607,
        "url": "http://patches.dpdk.org/api/people/607/?format=api",
        "name": "Andrew Rybchenko",
        "email": "arybchenko@solarflare.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/1568103959-25572-2-git-send-email-arybchenko@solarflare.com/mbox/",
    "series": [
        {
            "id": 6350,
            "url": "http://patches.dpdk.org/api/series/6350/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6350",
            "date": "2019-09-10T08:25:41",
            "name": "ethdev: change link status get functions return value to int",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/6350/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/59058/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/59058/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 C3E391ECC5;\n\tTue, 10 Sep 2019 10:26:21 +0200 (CEST)",
            "from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com\n\t[148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 501BA1EB02;\n\tTue, 10 Sep 2019 10:26:20 +0200 (CEST)",
            "from webmail.solarflare.com (webmail.solarflare.com\n\t[12.187.104.26])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby mx1-us2.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id\n\tCB1B21C0068; Tue, 10 Sep 2019 08:26:18 +0000 (UTC)",
            "from ocex03.SolarFlarecom.com (10.20.40.36) by\n\tocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server\n\t(TLS) id 15.0.1395.4; Tue, 10 Sep 2019 01:26:15 -0700",
            "from opal.uk.solarflarecom.com (10.17.10.1) by\n\tocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server\n\t(TLS) id\n\t15.0.1395.4 via Frontend Transport; Tue, 10 Sep 2019 01:26:15 -0700",
            "from ukv-loginhost.uk.solarflarecom.com\n\t(ukv-loginhost.uk.solarflarecom.com [10.17.10.39])\n\tby opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id\n\tx8A8QE9j002196; Tue, 10 Sep 2019 09:26:14 +0100",
            "from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1])\n\tby ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id\n\t5C3741613D2; Tue, 10 Sep 2019 09:26:14 +0100 (BST)"
        ],
        "X-Virus-Scanned": "Proofpoint Essentials engine",
        "From": "Andrew Rybchenko <arybchenko@solarflare.com>",
        "To": "Chas Williams <chas3@att.com>",
        "CC": "<dev@dpdk.org>, Igor Romanov <igor.romanov@oktetlabs.ru>,\n\t<stable@dpdk.org>",
        "Date": "Tue, 10 Sep 2019 09:25:41 +0100",
        "Message-ID": "<1568103959-25572-2-git-send-email-arybchenko@solarflare.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1568103959-25572-1-git-send-email-arybchenko@solarflare.com>",
        "References": "<1568103959-25572-1-git-send-email-arybchenko@solarflare.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-TM-AS-Product-Ver": "SMEX-12.5.0.1300-8.5.1010-24898.005",
        "X-TM-AS-Result": "No-2.752800-4.000000-10",
        "X-TMASE-MatchedRID": "YeFRLOJIG73wxP67pPeLzpr5ykm9NtIcL1eX+z9B1QytoJm7kj+/wIB5\n\tw6KBECW19rat2/So2B6TYH7CGnYD1b4br6qTk1yGo7iJS6I6zaF6i696PjRPiAdkFovAReUoaUX\n\ts6FguVy07jKV1tWL3wH8ZtJhEdnVZo1ezCH3oysR1e7Xbb6Im2n0tCKdnhB589yM15V5aWpj6C0\n\tePs7A07QdNP5JHgU8AckpXVdNbCabo1zp+P7NjofJ1HuhXrQpmtqgPveaojd3THQzetcyrtky9D\n\tZ/PK92sLiMekQx6uafTIhaLIDV7T0qPrVOIQE1y2kC7SwvGlKhDwb7Jglhh1lFkOwaJdCKgGObb\n\tx/Uctjc=",
        "X-TM-AS-User-Approved-Sender": "No",
        "X-TM-AS-User-Blocked-Sender": "No",
        "X-TMASE-Result": "10--2.752800-4.000000",
        "X-TMASE-Version": "SMEX-12.5.0.1300-8.5.1010-24898.005",
        "X-MDID": "1568103979-OF17guZygbVC",
        "Subject": "[dpdk-dev] [PATCH 01/18] net/bonding: fix link speed update in\n\tbroadcast mode",
        "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: Igor Romanov <igor.romanov@oktetlabs.ru>\n\nFix the issue that the link speed of the bond device was set to the\nlink speed of the first active slave in broadcast mode.\n\nSet the link speed of the bond device to the minimum value across\nall of the slaves in that case.\n\nFixes: deba8a2f8b0b (\"net/bonding: fix link properties management\")\nCc: stable@dpdk.org\n\nSigned-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>\nSigned-off-by: Andrew Rybchenko <arybchenko@solarflare.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 f774e5677..fed71bd95 100644\n--- a/drivers/net/bonding/rte_eth_bond_pmd.c\n+++ b/drivers/net/bonding/rte_eth_bond_pmd.c\n@@ -2395,8 +2395,8 @@ bond_ethdev_link_update(struct rte_eth_dev *ethdev, int wait_to_complete)\n \t\t * packet loss will occur on this slave if transmission at rates\n \t\t * greater than this are attempted\n \t\t */\n-\t\tfor (idx = 1; idx < bond_ctx->active_slave_count; idx++) {\n-\t\t\tlink_update(bond_ctx->active_slaves[0],\t&slave_link);\n+\t\tfor (idx = 0; idx < bond_ctx->active_slave_count; idx++) {\n+\t\t\tlink_update(bond_ctx->active_slaves[idx], &slave_link);\n \n \t\t\tif (slave_link.link_speed <\n \t\t\t\t\tethdev->data->dev_link.link_speed)\n",
    "prefixes": [
        "01/18"
    ]
}