get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76085,
    "url": "https://patches.dpdk.org/api/patches/76085/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200827114042.475771-1-kirankumark@marvell.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": "<20200827114042.475771-1-kirankumark@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200827114042.475771-1-kirankumark@marvell.com",
    "date": "2020-08-27T11:40:41",
    "name": "net/octeontx2: move ESP parsing to LE layer",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c3fcb18b05c74813c6ade333d82bd6b592ef8f5a",
    "submitter": {
        "id": 1260,
        "url": "https://patches.dpdk.org/api/people/1260/?format=api",
        "name": "Kiran Kumar Kokkilagadda",
        "email": "kirankumark@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200827114042.475771-1-kirankumark@marvell.com/mbox/",
    "series": [
        {
            "id": 11828,
            "url": "https://patches.dpdk.org/api/series/11828/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11828",
            "date": "2020-08-27T11:40:41",
            "name": "net/octeontx2: move ESP parsing to LE layer",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11828/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/76085/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/76085/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 09F3BA04B1;\n\tThu, 27 Aug 2020 13:40:58 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5FD0B1C1B9;\n\tThu, 27 Aug 2020 13:40:58 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id DC7991C1B1\n for <dev@dpdk.org>; Thu, 27 Aug 2020 13:40:55 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 07RBPnPL032646 for <dev@dpdk.org>; Thu, 27 Aug 2020 04:40:55 -0700",
            "from sc-exch02.marvell.com ([199.233.58.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 3330qpxhf1-2\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 27 Aug 2020 04:40:54 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH02.marvell.com\n (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 27 Aug 2020 04:40:52 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 27 Aug 2020 04:40:51 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 27 Aug 2020 04:40:51 -0700",
            "from localhost.localdomain (unknown [10.28.34.15])\n by maili.marvell.com (Postfix) with ESMTP id DE04D3F703F;\n Thu, 27 Aug 2020 04:40:49 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=G6l9GtuB5GXxiQ4fdm8npHv8o4wkkoJPJrb+aLMNvl0=;\n b=aNO+syxA9PCrprsVVmQ8FlhJ2CI07w+IF6+K1q2ksya2ZOV+cS0ElnMD0XzDslWDJ3Me\n xIVuPBnQ2PN80aLzuhoKd3AyR8LDqVl9EFcSk0mebIRYveARf7Iwm8QEb1UUo1Nvmd/s\n 8CmkpTBth/ikns/ccRRwJ20Gvve2IRmVBJi7NfzrMTwUhBZG3ydez2qsm72NbyAUjzsD\n rkC8NX1Ea2NtuO8vI9pwsVXdiE0i1Te5C5sqLyCUOXNvc7r14SuJJcgxGZ+cwqpyEAcB\n D4O/D5ExsTIu2j5QBrEwfsZkYl3Biw4wfaiqjTPjXRh33JByBM/fFmkgP2aXuASvV8G+ gA==",
        "From": "<kirankumark@marvell.com>",
        "To": "Jerin Jacob <jerinj@marvell.com>, Nithin Dabilpuram\n <ndabilpuram@marvell.com>, Kiran Kumar K <kirankumark@marvell.com>",
        "CC": "<dev@dpdk.org>",
        "Date": "Thu, 27 Aug 2020 17:10:41 +0530",
        "Message-ID": "<20200827114042.475771-1-kirankumark@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687\n definitions=2020-08-27_06:2020-08-27,\n 2020-08-27 signatures=0",
        "Subject": "[dpdk-dev] [PATCH] net/octeontx2: move ESP parsing to LE layer",
        "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: Kiran Kumar K <kirankumark@marvell.com>\n\nAdd support to parse NAT-T-ESP by moving the ESP parsing\nto LE.\n\nSigned-off-by: Kiran Kumar K <kirankumark@marvell.com>\n---\n drivers/common/octeontx2/hw/otx2_npc.h  |  2 +-\n drivers/net/octeontx2/otx2_flow_parse.c | 10 +++++-----\n drivers/net/octeontx2/otx2_lookup.c     |  6 +++---\n 3 files changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/drivers/common/octeontx2/hw/otx2_npc.h b/drivers/common/octeontx2/hw/otx2_npc.h\nindex efde1e214..45e60dfd5 100644\n--- a/drivers/common/octeontx2/hw/otx2_npc.h\n+++ b/drivers/common/octeontx2/hw/otx2_npc.h\n@@ -225,7 +225,6 @@ enum npc_kpu_ld_ltype {\n \tNPC_LT_LD_SCTP,\n \tNPC_LT_LD_ICMP6,\n \tNPC_LT_LD_IGMP = 8,\n-\tNPC_LT_LD_ESP,\n \tNPC_LT_LD_AH,\n \tNPC_LT_LD_GRE,\n \tNPC_LT_LD_NVGRE,\n@@ -237,6 +236,7 @@ enum npc_kpu_ld_ltype {\n enum npc_kpu_le_ltype {\n \tNPC_LT_LE_VXLAN = 1,\n \tNPC_LT_LE_GENEVE,\n+\tNPC_LT_LE_ESP,\n \tNPC_LT_LE_GTPU = 4,\n \tNPC_LT_LE_VXLANGPE,\n \tNPC_LT_LE_GTPC,\ndiff --git a/drivers/net/octeontx2/otx2_flow_parse.c b/drivers/net/octeontx2/otx2_flow_parse.c\nindex 2d9a5857c..e918574df 100644\n--- a/drivers/net/octeontx2/otx2_flow_parse.c\n+++ b/drivers/net/octeontx2/otx2_flow_parse.c\n@@ -245,6 +245,11 @@ otx2_flow_parse_le(struct otx2_parse_state *pst)\n \t\tinfo.len = sizeof(struct rte_flow_item_vxlan);\n \t\tlt = NPC_LT_LE_VXLAN;\n \t\tbreak;\n+\tcase RTE_FLOW_ITEM_TYPE_ESP:\n+\t\tlt = NPC_LT_LE_ESP;\n+\t\tinfo.def_mask = &rte_flow_item_esp_mask;\n+\t\tinfo.len = sizeof(struct rte_flow_item_esp);\n+\t\tbreak;\n \tcase RTE_FLOW_ITEM_TYPE_GTPC:\n \t\tlflags = NPC_F_UDP_GTP_GTPC;\n \t\tinfo.def_mask = &rte_flow_item_gtp_mask;\n@@ -441,11 +446,6 @@ otx2_flow_parse_ld(struct otx2_parse_state *pst)\n \t\tinfo.def_mask = &rte_flow_item_sctp_mask;\n \t\tinfo.len = sizeof(struct rte_flow_item_sctp);\n \t\tbreak;\n-\tcase RTE_FLOW_ITEM_TYPE_ESP:\n-\t\tlt = NPC_LT_LD_ESP;\n-\t\tinfo.def_mask = &rte_flow_item_esp_mask;\n-\t\tinfo.len = sizeof(struct rte_flow_item_esp);\n-\t\tbreak;\n \tcase RTE_FLOW_ITEM_TYPE_GRE:\n \t\tlt = NPC_LT_LD_GRE;\n \t\tinfo.def_mask = &rte_flow_item_gre_mask;\ndiff --git a/drivers/net/octeontx2/otx2_lookup.c b/drivers/net/octeontx2/otx2_lookup.c\nindex 10944bc17..14ea1cf79 100644\n--- a/drivers/net/octeontx2/otx2_lookup.c\n+++ b/drivers/net/octeontx2/otx2_lookup.c\n@@ -169,15 +169,15 @@ nix_create_non_tunnel_ptype_array(uint16_t *ptype)\n \t\tcase NPC_LT_LD_NVGRE:\n \t\t\tval |= RTE_PTYPE_TUNNEL_NVGRE;\n \t\t\tbreak;\n-\t\tcase NPC_LT_LD_ESP:\n-\t\t\tval |= RTE_PTYPE_TUNNEL_ESP;\n-\t\t\tbreak;\n \t\t}\n \n \t\tswitch (le) {\n \t\tcase NPC_LT_LE_VXLAN:\n \t\t\tval |= RTE_PTYPE_TUNNEL_VXLAN;\n \t\t\tbreak;\n+\t\tcase NPC_LT_LE_ESP:\n+\t\t\tval |= RTE_PTYPE_TUNNEL_ESP;\n+\t\t\tbreak;\n \t\tcase NPC_LT_LE_VXLANGPE:\n \t\t\tval |= RTE_PTYPE_TUNNEL_VXLAN_GPE;\n \t\t\tbreak;\n",
    "prefixes": []
}