get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16959,
    "url": "https://patches.dpdk.org/api/patches/16959/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1478451424-104446-1-git-send-email-wenzhuo.lu@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": "<1478451424-104446-1-git-send-email-wenzhuo.lu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1478451424-104446-1-git-send-email-wenzhuo.lu@intel.com",
    "date": "2016-11-06T16:57:04",
    "name": "[dpdk-dev] ixgbe: correct the VF general registers",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a277ec09a4b286b9dbe4f1f099e89eeca909806f",
    "submitter": {
        "id": 258,
        "url": "https://patches.dpdk.org/api/people/258/?format=api",
        "name": "Wenzhuo Lu",
        "email": "wenzhuo.lu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1478451424-104446-1-git-send-email-wenzhuo.lu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/16959/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/16959/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 B285711C5;\n\tMon,  7 Nov 2016 02:06:12 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 7450EE07\n\tfor <dev@dpdk.org>; Mon,  7 Nov 2016 02:06:10 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga102.fm.intel.com with ESMTP; 06 Nov 2016 17:06:09 -0800",
            "from dpdk26.sh.intel.com ([10.239.128.228])\n\tby FMSMGA003.fm.intel.com with ESMTP; 06 Nov 2016 17:06:08 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.31,604,1473145200\"; d=\"scan'208\";a=\"783232170\"",
        "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "Date": "Sun,  6 Nov 2016 11:57:04 -0500",
        "Message-Id": "<1478451424-104446-1-git-send-email-wenzhuo.lu@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "Subject": "[dpdk-dev] [PATCH] ixgbe: correct the VF general registers",
        "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": "Some VF registers are using PF's name by mistake.\nAlthough the addresses of the VF's and PF's are the same,\nwe should use the right names.\n\nFixes: 0198848a47f5 (\"ixgbe: add access to specific device info\")\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/ixgbe/ixgbe_regs.h | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_regs.h b/drivers/net/ixgbe/ixgbe_regs.h\nindex 4af035f..ca4725d 100644\n--- a/drivers/net/ixgbe/ixgbe_regs.h\n+++ b/drivers/net/ixgbe/ixgbe_regs.h\n@@ -56,10 +56,10 @@ static const struct reg_info ixgbe_regs_general[] = {\n };\n \n static const struct reg_info ixgbevf_regs_general[] = {\n-\t{IXGBE_CTRL, 1, 1, \"IXGBE_CTRL\"},\n-\t{IXGBE_STATUS, 1, 1, \"IXGBE_STATUS\"},\n+\t{IXGBE_VFCTRL, 1, 1, \"IXGBE_VFCTRL\"},\n+\t{IXGBE_VFSTATUS, 1, 1, \"IXGBE_VFSTATUS\"},\n \t{IXGBE_VFLINKS, 1, 1, \"IXGBE_VFLINKS\"},\n-\t{IXGBE_FRTIMER, 1, 1, \"IXGBE_FRTIMER\"},\n+\t{IXGBE_VFFRTIMER, 1, 1, \"IXGBE_VFFRTIMER\"},\n \t{IXGBE_VFMAILBOX, 1, 1, \"IXGBE_VFMAILBOX\"},\n \t{IXGBE_VFMBMEM, 16, 4, \"IXGBE_VFMBMEM\"},\n \t{IXGBE_VFRXMEMWRAP, 1, 1, \"IXGBE_VFRXMEMWRAP\"},\n",
    "prefixes": [
        "dpdk-dev"
    ]
}