get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 85122,
    "url": "https://patches.dpdk.org/api/patches/85122/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201214064913.2306802-4-junfeng.guo@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": "<20201214064913.2306802-4-junfeng.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201214064913.2306802-4-junfeng.guo@intel.com",
    "date": "2020-12-14T06:49:11",
    "name": "[3/5] net/iavf: define new bits for eCPRI",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6b630ffac1908b7ff96c81740ddfd964bcadc73c",
    "submitter": {
        "id": 1785,
        "url": "https://patches.dpdk.org/api/people/1785/?format=api",
        "name": "Junfeng Guo",
        "email": "junfeng.guo@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/20201214064913.2306802-4-junfeng.guo@intel.com/mbox/",
    "series": [
        {
            "id": 14284,
            "url": "https://patches.dpdk.org/api/series/14284/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14284",
            "date": "2020-12-14T06:49:08",
            "name": "support eCPRI MSG TYPE 0 for AVF FDIR and RSS",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14284/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85122/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/85122/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 6AC04A09E9;\n\tMon, 14 Dec 2020 07:52:42 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7CE25C982;\n\tMon, 14 Dec 2020 07:51:55 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id D6CD972EA\n for <dev@dpdk.org>; Mon, 14 Dec 2020 07:51:52 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Dec 2020 22:51:52 -0800",
            "from dpdk-junfengguo-v3.sh.intel.com ([10.67.119.146])\n by orsmga008.jf.intel.com with ESMTP; 13 Dec 2020 22:51:50 -0800"
        ],
        "IronPort-SDR": [
            "\n O/x7+bL8+xbNMgmC9xV7ZuKH2Q+duhpKvYUV8fVog/83UgpJO0sq9PPGWPhr1IW+7RPuG5bhY1\n cTEgIxL7ktDQ==",
            "\n /UtA04wg50eSWFzzhw/NtetyzCNrF7yunuDUKFAinTgLL9KZCVkseAQry4yMTTFU//bQcl6zxq\n lTRonOiQ3ycg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9834\"; a=\"236251095\"",
            "E=Sophos;i=\"5.78,417,1599548400\"; d=\"scan'208\";a=\"236251095\"",
            "E=Sophos;i=\"5.78,417,1599548400\"; d=\"scan'208\";a=\"367141004\""
        ],
        "X-ExtLoop1": "1",
        "From": "Junfeng Guo <junfeng.guo@intel.com>",
        "To": "qi.z.zhang@intel.com,\n\tjingjing.wu@intel.com,\n\tbeilei.xing@intel.com",
        "Cc": "dev@dpdk.org, junfeng.guo@intel.com, simei.su@intel.com,\n yahui.cao@intel.com",
        "Date": "Mon, 14 Dec 2020 14:49:11 +0800",
        "Message-Id": "<20201214064913.2306802-4-junfeng.guo@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20201214064913.2306802-1-junfeng.guo@intel.com>",
        "References": "<20201214064913.2306802-1-junfeng.guo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 3/5] net/iavf: define new bits for eCPRI",
        "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": "Define new bits of protocol header, field and input set for eCPRI.\n\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\n---\n drivers/net/iavf/iavf_generic_flow.h | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/iavf/iavf_generic_flow.h b/drivers/net/iavf/iavf_generic_flow.h\nindex 9e518bd14c..0ccf5901b4 100644\n--- a/drivers/net/iavf/iavf_generic_flow.h\n+++ b/drivers/net/iavf/iavf_generic_flow.h\n@@ -34,6 +34,7 @@\n #define IAVF_PROT_AH\t\t    (1ULL << 23)\n #define IAVF_PROT_L2TPV3OIP\t    (1ULL << 24)\n #define IAVF_PROT_PFCP\t\t    (1ULL << 25)\n+#define IAVF_PROT_ECPRI\t\t    (1ULL << 26)\n \n \n /* field */\n@@ -59,6 +60,7 @@\n #define IAVF_L2TPV3OIP_SESSION_ID   (1ULL << 45)\n #define IAVF_PFCP_S_FIELD\t    (1ULL << 44)\n #define IAVF_PFCP_SEID\t\t    (1ULL << 43)\n+#define IAVF_ECPRI_PC_RTC_ID\t    (1ULL << 42)\n \n /* input set */\n \n@@ -135,7 +137,8 @@\n \t(IAVF_PROT_PFCP | IAVF_PFCP_S_FIELD)\n #define IAVF_INSET_PFCP_SEID \\\n \t(IAVF_PROT_PFCP | IAVF_PFCP_S_FIELD | IAVF_PFCP_SEID)\n-\n+#define IAVF_INSET_ECPRI \\\n+\t(IAVF_PROT_ECPRI | IAVF_ECPRI_PC_RTC_ID)\n \n /* empty pattern */\n extern enum rte_flow_item_type iavf_pattern_empty[];\n",
    "prefixes": [
        "3/5"
    ]
}