get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 54947,
    "url": "https://patches.dpdk.org/api/patches/54947/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1560934174-408632-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": "<1560934174-408632-2-git-send-email-andy.pei@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1560934174-408632-2-git-send-email-andy.pei@intel.com",
    "date": "2019-06-19T08:49:32",
    "name": "[v3,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": {
        "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/1560934174-408632-2-git-send-email-andy.pei@intel.com/mbox/",
    "series": [
        {
            "id": 5078,
            "url": "https://patches.dpdk.org/api/series/5078/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5078",
            "date": "2019-06-19T08:49:31",
            "name": "[v3,1/4] net/ipn3ke: add new register address",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/5078/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/54947/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/54947/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 D6BBC1C2B1;\n\tWed, 19 Jun 2019 10:56:10 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id E8FF41C2AF\n\tfor <dev@dpdk.org>; Wed, 19 Jun 2019 10:56:08 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t19 Jun 2019 01:56:08 -0700",
            "from dipei-st-npg.sh.intel.com ([10.67.110.220])\n\tby orsmga003.jf.intel.com with ESMTP; 19 Jun 2019 01:56:07 -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,392,1557212400\"; d=\"scan'208\";a=\"162151585\"",
        "From": "Andy Pei <andy.pei@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "andy.pei@intel.com,\n\trosen.xu@intel.com",
        "Date": "Wed, 19 Jun 2019 16:49:32 +0800",
        "Message-Id": "<1560934174-408632-2-git-send-email-andy.pei@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1560934174-408632-1-git-send-email-andy.pei@intel.com>",
        "References": "<1560246526-264797-3-git-send-email-andy.pei@intel.com>\n\t<1560934174-408632-1-git-send-email-andy.pei@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 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,\nwhose mac register address is no more than 10 bits.\nNow we have mac register address longer than 10 bits,\nso 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": [
        "v3",
        "2/4"
    ]
}