get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55288,
    "url": "https://patches.dpdk.org/api/patches/55288/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1561449018-26218-2-git-send-email-andy.pei@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": "<1561449018-26218-2-git-send-email-andy.pei@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1561449018-26218-2-git-send-email-andy.pei@intel.com",
    "date": "2019-06-25T07:50:16",
    "name": "[v4,2/4] net/ipn3ke: delete MAC register address mask",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "bc630aa2decf0f15e95fb753cfbc290ba68f3a5a",
    "submitter": {
        "id": 1185,
        "url": "https://patches.dpdk.org/api/people/1185/?format=api",
        "name": "Pei, Andy",
        "email": "andy.pei@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1561449018-26218-2-git-send-email-andy.pei@intel.com/mbox/",
    "series": [
        {
            "id": 5146,
            "url": "https://patches.dpdk.org/api/series/5146/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5146",
            "date": "2019-06-25T07:50:15",
            "name": "[v4,1/4] net/ipn3ke: add new register address",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/5146/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/55288/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/55288/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 3B10E1BBF3;\n\tTue, 25 Jun 2019 09:57:34 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id C72481BBEB\n\tfor <dev@dpdk.org>; Tue, 25 Jun 2019 09:57:29 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Jun 2019 00:57:28 -0700",
            "from dipei-st-npg.sh.intel.com ([10.67.110.220])\n\tby orsmga003.jf.intel.com with ESMTP; 25 Jun 2019 00:57:28 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,415,1557212400\"; d=\"scan'208\";a=\"163900514\"",
        "From": "Andy Pei <andy.pei@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "andy.pei@intel.com,\n\trosen.xu@intel.com",
        "Date": "Tue, 25 Jun 2019 15:50:16 +0800",
        "Message-Id": "<1561449018-26218-2-git-send-email-andy.pei@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1561449018-26218-1-git-send-email-andy.pei@intel.com>",
        "References": "<1560934174-408632-4-git-send-email-andy.pei@intel.com>\n\t<1561449018-26218-1-git-send-email-andy.pei@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 2/4] net/ipn3ke: delete MAC register address\n\tmask",
        "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": "original code is compatible with older device, whose mac register\naddress is no more than 10 bits. Now we have mac register address\nlonger than 10 bits, so we just delete the mask here.\n\nFixes: c01c748e4ae6 (\"net/ipn3ke: add new driver\")\nCc: rosen.xu@intel.com\n\nSigned-off-by: Andy Pei <andy.pei@intel.com>\n---\n drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 --\n 1 file changed, 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.c b/drivers/net/ipn3ke/ipn3ke_ethdev.c\nindex 9079b57..8d3084d 100644\n--- a/drivers/net/ipn3ke/ipn3ke_ethdev.c\n+++ b/drivers/net/ipn3ke/ipn3ke_ethdev.c\n@@ -48,7 +48,6 @@\n \tif (eth_group_sel != 0 && eth_group_sel != 1)\n \t\treturn -1;\n \n-\taddr &= 0x3FF;\n \ttarget_addr = addr | dev_sel << 17;\n \n \tindirect_value = RCMD | target_addr << 32;\n@@ -86,7 +85,6 @@\n \tif (eth_group_sel != 0 && eth_group_sel != 1)\n \t\treturn -1;\n \n-\taddr &= 0x3FF;\n \ttarget_addr = addr | dev_sel << 17;\n \n \tindirect_value = WCMD | target_addr << 32 | wr_data;\n",
    "prefixes": [
        "v4",
        "2/4"
    ]
}