get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 73600,
    "url": "https://patches.dpdk.org/api/patches/73600/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200709080046.65879-4-guinanx.sun@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20200709080046.65879-4-guinanx.sun@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200709080046.65879-4-guinanx.sun@intel.com",
    "date": "2020-07-09T08:00:30",
    "name": "[v3,03/19] net/ixgbe/base: fix x550em 10G NIC link status report",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7b7569fd46d7438f68f9985fccef5109439cbc26",
    "submitter": {
        "id": 1476,
        "url": "https://patches.dpdk.org/api/people/1476/?format=api",
        "name": "Guinan Sun",
        "email": "guinanx.sun@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200709080046.65879-4-guinanx.sun@intel.com/mbox/",
    "series": [
        {
            "id": 10915,
            "url": "https://patches.dpdk.org/api/series/10915/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10915",
            "date": "2020-07-09T08:00:27",
            "name": "update ixgbe base code",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/10915/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73600/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73600/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2E207A0526;\n\tThu,  9 Jul 2020 10:14:17 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 003E81DD0C;\n\tThu,  9 Jul 2020 10:13:58 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 285481DB89;\n Thu,  9 Jul 2020 10:13:54 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Jul 2020 01:13:53 -0700",
            "from intel.sh.intel.com ([10.239.255.18])\n by orsmga002.jf.intel.com with ESMTP; 09 Jul 2020 01:13:51 -0700"
        ],
        "IronPort-SDR": [
            "\n vL/4OgFwd8MBivaOXF5at80W1spRm+X9m713RrCUufaj8szIugD/6sv8jmOSgZJArfyXczpf6i\n WSW6aOh8mDdw==",
            "\n hm6gfBOfJfpHrFGPZeteaYPMG+UJnj3Z2Xvj4IKoMBJXc4mJFhCyp9zi5yZLLgLDyPxBZXTVkT\n F6UyE+0mgSLQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9676\"; a=\"212869333\"",
            "E=Sophos;i=\"5.75,331,1589266800\"; d=\"scan'208\";a=\"212869333\"",
            "E=Sophos;i=\"5.75,331,1589266800\"; d=\"scan'208\";a=\"297989016\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Guinan Sun <guinanx.sun@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Jeff Guo <jia.guo@intel.com>, Zhao1 Wei <wei.zhao1@intel.com>,\n Guinan Sun <guinanx.sun@intel.com>, stable@dpdk.org,\n Piotr Skajewski <piotrx.skajewski@intel.com>",
        "Date": "Thu,  9 Jul 2020 08:00:30 +0000",
        "Message-Id": "<20200709080046.65879-4-guinanx.sun@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200709080046.65879-1-guinanx.sun@intel.com>",
        "References": "<20200702031329.4495-1-guinanx.sun@intel.com>\n <20200709080046.65879-1-guinanx.sun@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 03/19] net/ixgbe/base: fix x550em 10G NIC link\n\tstatus report",
        "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 <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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "With the NVM image for x550em XFI will not report\nthe auto-negotiation feature correctly. The auto-negotiation\nshould be \"No\" for supports and advertised items.\nAt the same time update speed makes it support 1G and 10G.\n\nFixes: 833df43399e7 (\"net/ixgbe/base: add SGMII link for X550\")\nCc: stable@dpdk.org\n\nSigned-off-by: Piotr Skajewski <piotrx.skajewski@intel.com>\nSigned-off-by: Guinan Sun <guinanx.sun@intel.com>\nReviewed-by: Wei Zhao <wei.zhao1@intel.com>\n---\n drivers/net/ixgbe/base/ixgbe_x550.c | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c b/drivers/net/ixgbe/base/ixgbe_x550.c\nindex 3de406fd3..9fa999e01 100644\n--- a/drivers/net/ixgbe/base/ixgbe_x550.c\n+++ b/drivers/net/ixgbe/base/ixgbe_x550.c\n@@ -1891,7 +1891,14 @@ s32 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw,\n \t\telse\n \t\t\t*speed = IXGBE_LINK_SPEED_10GB_FULL;\n \t} else {\n+\t\t*autoneg = true;\n+\n \t\tswitch (hw->phy.type) {\n+\t\tcase ixgbe_phy_x550em_xfi:\n+\t\t\t*speed = IXGBE_LINK_SPEED_1GB_FULL |\n+\t\t\t\t IXGBE_LINK_SPEED_10GB_FULL;\n+\t\t\t*autoneg = false;\n+\t\t\tbreak;\n \t\tcase ixgbe_phy_ext_1g_t:\n #ifdef PREBOOT_SUPPORT\n \t\t\t*speed = IXGBE_LINK_SPEED_1GB_FULL;\n@@ -1925,7 +1932,6 @@ s32 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw,\n \t\t\t\t IXGBE_LINK_SPEED_1GB_FULL;\n \t\t\tbreak;\n \t\t}\n-\t\t*autoneg = true;\n \t}\n \n \treturn IXGBE_SUCCESS;\n",
    "prefixes": [
        "v3",
        "03/19"
    ]
}