get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 5748,
    "url": "http://patchwork.dpdk.org/api/patches/5748/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1435116386-12010-35-git-send-email-wenzhuo.lu@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1435116386-12010-35-git-send-email-wenzhuo.lu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1435116386-12010-35-git-send-email-wenzhuo.lu@intel.com",
    "date": "2015-06-24T03:26:23",
    "name": "[dpdk-dev,34/37] ixgbe/base: fix 5G and 2.5G speed description",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0380039f091ca9b212528123b7b364f625f8fd01",
    "submitter": {
        "id": 258,
        "url": "http://patchwork.dpdk.org/api/people/258/?format=api",
        "name": "Wenzhuo Lu",
        "email": "wenzhuo.lu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1435116386-12010-35-git-send-email-wenzhuo.lu@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/5748/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/5748/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 72949CA52;\n\tWed, 24 Jun 2015 05:27:56 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id EEE84C5F2\n\tfor <dev@dpdk.org>; Wed, 24 Jun 2015 05:27:52 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga102.fm.intel.com with ESMTP; 23 Jun 2015 20:27:52 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga002.jf.intel.com with ESMTP; 23 Jun 2015 20:27:51 -0700",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t5O3Rnfk022415;\n\tWed, 24 Jun 2015 11:27:49 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t5O3Rkcv012287; Wed, 24 Jun 2015 11:27:48 +0800",
            "(from wenzhuol@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t5O3RkP4012283; \n\tWed, 24 Jun 2015 11:27:46 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.13,669,1427785200\"; d=\"scan'208\";a=\"752154528\"",
        "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 24 Jun 2015 11:26:23 +0800",
        "Message-Id": "<1435116386-12010-35-git-send-email-wenzhuo.lu@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1435116386-12010-1-git-send-email-wenzhuo.lu@intel.com>",
        "References": "<1435116386-12010-1-git-send-email-wenzhuo.lu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 34/37] ixgbe/base: fix 5G and 2.5G speed\n\tdescription",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch fixes comment description for setting 2.5G and 5G speeds in\nixgbe_setup_phy_link_generic.\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/ixgbe/base/ixgbe_phy.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ixgbe/base/ixgbe_phy.c b/drivers/net/ixgbe/base/ixgbe_phy.c\nindex 3ba5661..1e24ab8 100644\n--- a/drivers/net/ixgbe/base/ixgbe_phy.c\n+++ b/drivers/net/ixgbe/base/ixgbe_phy.c\n@@ -829,7 +829,7 @@ s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw)\n \n \tif (hw->mac.type == ixgbe_mac_X550) {\n \t\tif (speed & IXGBE_LINK_SPEED_5GB_FULL) {\n-\t\t\t/* Set or unset auto-negotiation 1G advertisement */\n+\t\t\t/* Set or unset auto-negotiation 5G advertisement */\n \t\t\thw->phy.ops.read_reg(hw,\n \t\t\t\tIXGBE_MII_AUTONEG_VENDOR_PROVISION_1_REG,\n \t\t\t\tIXGBE_MDIO_AUTO_NEG_DEV_TYPE,\n@@ -847,7 +847,7 @@ s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw)\n \t\t}\n \n \t\tif (speed & IXGBE_LINK_SPEED_2_5GB_FULL) {\n-\t\t\t/* Set or unset auto-negotiation 1G advertisement */\n+\t\t\t/* Set or unset auto-negotiation 2.5G advertisement */\n \t\t\thw->phy.ops.read_reg(hw,\n \t\t\t\tIXGBE_MII_AUTONEG_VENDOR_PROVISION_1_REG,\n \t\t\t\tIXGBE_MDIO_AUTO_NEG_DEV_TYPE,\n",
    "prefixes": [
        "dpdk-dev",
        "34/37"
    ]
}