get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 79147,
    "url": "https://patches.dpdk.org/api/patches/79147/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200929074835.39854-1-chenxux.di@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": "<20200929074835.39854-1-chenxux.di@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200929074835.39854-1-chenxux.di@intel.com",
    "date": "2020-09-29T07:48:33",
    "name": "[RFC,2/5] net/igc: decouple dependency from superseded structures",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a89287e681b21f0444949be8c4ad5a0ffbb9983b",
    "submitter": {
        "id": 1409,
        "url": "https://patches.dpdk.org/api/people/1409/?format=api",
        "name": "Chenxu Di",
        "email": "chenxux.di@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/20200929074835.39854-1-chenxux.di@intel.com/mbox/",
    "series": [
        {
            "id": 12581,
            "url": "https://patches.dpdk.org/api/series/12581/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12581",
            "date": "2020-09-29T07:48:33",
            "name": "[RFC,1/5] net/i40e: decouple dependency from superseded structures",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/12581/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/79147/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/79147/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 EED66A04C0;\n\tTue, 29 Sep 2020 10:09:42 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 33FE51D72D;\n\tTue, 29 Sep 2020 10:09:40 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 39A301D5C9\n for <dev@dpdk.org>; Tue, 29 Sep 2020 10:09:37 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Sep 2020 01:09:34 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.255.61])\n by fmsmga001.fm.intel.com with ESMTP; 29 Sep 2020 01:09:31 -0700"
        ],
        "IronPort-SDR": [
            "\n C2aMZmjmAZ+lPwUWfmOUdrmSc71mWf/VYwUVRuKw0cju7SPugK3ML1R19+y8fVre4N6gg7tPu4\n +a0YJkHSh4gA==",
            "\n ZfX/cxnBAuWKqKFSH94ou1oEDFscPm4HY1fnaHbowqL3VFCw18Fx5XWqkpoaKd/CfO8ls9Zjsw\n OFrTph2N5/bw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9758\"; a=\"163018494\"",
            "E=Sophos;i=\"5.77,317,1596524400\"; d=\"scan'208\";a=\"163018494\"",
            "E=Sophos;i=\"5.77,317,1596524400\"; d=\"scan'208\";a=\"415289168\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Chenxu Di <chenxux.di@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "junyux.jiang@intel.com, shougangx.wang@intel.com,\n Jeff Guo <jia.guo@intel.com>, Haiyue Wang <haiyue.wang@intel.com>",
        "Date": "Tue, 29 Sep 2020 07:48:33 +0000",
        "Message-Id": "<20200929074835.39854-1-chenxux.di@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [RFC 2/5] net/igc: decouple dependency from superseded\n\tstructures",
        "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": "From: Junyu Jiang <junyux.jiang@intel.com>\n\nThe legacy filter API will be removed, the associated rte_eth_ctrl.h\nwill also be removed. This patch replaces these superseded structures\nby the PMD internal structures.\n\nSigned-off-by: Junyu Jiang <junyux.jiang@intel.com>\n---\n drivers/net/igc/igc_filter.c | 2 +-\n drivers/net/igc/igc_filter.h | 2 ++\n 2 files changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/igc/igc_filter.c b/drivers/net/igc/igc_filter.c\nindex 836621d4c..7b6f52a4c 100644\n--- a/drivers/net/igc/igc_filter.c\n+++ b/drivers/net/igc/igc_filter.c\n@@ -216,7 +216,7 @@ igc_enable_tuple_filter(struct rte_eth_dev *dev,\n \t\tttqf &= ~IGC_TTQF_MASK_ENABLE;\n \n \t/* TCP flags bits setting. */\n-\tif (info->tcp_flags & RTE_NTUPLE_TCP_FLAGS_MASK) {\n+\tif (info->tcp_flags & IGC_NTUPLE_TCP_FLAGS_MASK) {\n \t\tif (info->tcp_flags & RTE_TCP_URG_FLAG)\n \t\t\timir_ext |= IGC_IMIREXT_CTRL_URG;\n \t\tif (info->tcp_flags & RTE_TCP_ACK_FLAG)\ndiff --git a/drivers/net/igc/igc_filter.h b/drivers/net/igc/igc_filter.h\nindex 79951504f..34bc0a7e3 100644\n--- a/drivers/net/igc/igc_filter.h\n+++ b/drivers/net/igc/igc_filter.h\n@@ -16,6 +16,8 @@\n extern \"C\" {\n #endif\n \n+#define IGC_NTUPLE_TCP_FLAGS_MASK 0x3F /**< TCP flags filter can match. */\n+\n int igc_add_ethertype_filter(struct rte_eth_dev *dev,\n \t\tconst struct igc_ethertype_filter *filter);\n int igc_del_ethertype_filter(struct rte_eth_dev *dev,\n",
    "prefixes": [
        "RFC",
        "2/5"
    ]
}