get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 108754,
    "url": "http://patches.dpdk.org/api/patches/108754/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220317035036.2290272-2-psatheesh@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20220317035036.2290272-2-psatheesh@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220317035036.2290272-2-psatheesh@marvell.com",
    "date": "2022-03-17T03:50:36",
    "name": "[2/2] common/cnxk: fix QINQ ROC item mismatch issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "94e80bc51631f3e79b9183b6b998e8d59b9b2f54",
    "submitter": {
        "id": 1663,
        "url": "http://patches.dpdk.org/api/people/1663/?format=api",
        "name": "Satheesh Paul Antonysamy",
        "email": "psatheesh@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220317035036.2290272-2-psatheesh@marvell.com/mbox/",
    "series": [
        {
            "id": 22169,
            "url": "http://patches.dpdk.org/api/series/22169/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22169",
            "date": "2022-03-17T03:50:35",
            "name": "[1/2] common/cnxk: fix ROC naming convention issues",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22169/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/108754/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/108754/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id DC449A0093;\n\tThu, 17 Mar 2022 04:50:59 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D5AAE410F3;\n\tThu, 17 Mar 2022 04:50:56 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 232074114F;\n Thu, 17 Mar 2022 04:50:54 +0100 (CET)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 22GIohwq027671;\n Wed, 16 Mar 2022 20:50:54 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3eue23mnx2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 16 Mar 2022 20:50:54 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 16 Mar 2022 20:50:52 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Wed, 16 Mar 2022 20:50:52 -0700",
            "from localhost.localdomain (unknown [10.28.34.33])\n by maili.marvell.com (Postfix) with ESMTP id 628F83F705C;\n Wed, 16 Mar 2022 20:50:50 -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 : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=5CpvcgIV2a11ZtMzSfIoIDYRKFLj3BfDw3Atgrh526s=;\n b=Ftx+mzdtO/c/Lyf/daDoIYFlYfEZj4FbTMWcsRp5ounNkhXSKxdxwb0IUCoQYb80NBKY\n Tv0/n75qqQrZcFCun1CNUfS0unS7PetrRtck9VDEgLxw+x+ZsjPrw6KbwB0R2ww3KiSL\n 68Abw4wlgOdH7dKW9tK/PQ7S0rMebociLl8B8jEAnUBMZGOWPprsKFvEslJsllljx2Uw\n XJNCL3nMJz7HQ/h0Bo4F0PKs+AwuBfl1eGZqOYFRphv0WAP3dn28eXPizAgE1j+KbaWx\n 7mpQunWE3IILhnQYbi5oauy+e2kVt0+tYvwg9hnPVy/H2TBxWhBZ0B+M6LbVkVJRZeFn lA==",
        "From": "<psatheesh@marvell.com>",
        "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>",
        "CC": "<dev@dpdk.org>, Satheesh Paul <psatheesh@marvell.com>, <stable@dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH 2/2] common/cnxk: fix QINQ ROC item mismatch issue",
        "Date": "Thu, 17 Mar 2022 09:20:36 +0530",
        "Message-ID": "<20220317035036.2290272-2-psatheesh@marvell.com>",
        "X-Mailer": "git-send-email 2.25.4",
        "In-Reply-To": "<20220317035036.2290272-1-psatheesh@marvell.com>",
        "References": "<20220317035036.2290272-1-psatheesh@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "D2IuZONT0mkYTepb09bTuGMlMZFRXA0E",
        "X-Proofpoint-ORIG-GUID": "D2IuZONT0mkYTepb09bTuGMlMZFRXA0E",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.850,Hydra:6.0.425,FMLib:17.11.64.514\n definitions=2022-03-16_09,2022-03-15_01,2022-02-23_01",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "From: Satheesh Paul <psatheesh@marvell.com>\n\nROC code is assuming presence of vlan extension headers in\ncase of QINQ, because of this, there is incompatibility\nbetween the driver and ROC. Fixed this issue.\n\nFixes: 4edf1246a40 (\"common/cnxk: support matching VLAN existence in RTE Flow\")\nCc: stable@dpdk.org\n\nSigned-off-by: Satheesh Paul <psatheesh@marvell.com>\n---\n drivers/common/cnxk/roc_npc_parse.c | 7 +------\n 1 file changed, 1 insertion(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_npc_parse.c b/drivers/common/cnxk/roc_npc_parse.c\nindex b849326a19..757bff29a7 100644\n--- a/drivers/common/cnxk/roc_npc_parse.c\n+++ b/drivers/common/cnxk/roc_npc_parse.c\n@@ -337,15 +337,10 @@ npc_parse_lb(struct npc_parse_state *pst)\n \t\t}\n \t\tinfo.len = pattern->size;\n \t} else if (pst->pattern->type == ROC_NPC_ITEM_TYPE_QINQ) {\n-\t\tvlan_item[0] = pst->pattern->spec;\n \t\tinfo.hw_mask = NULL;\n-\t\tinfo.len = sizeof(vlan_item[0]->hdr);\n+\t\tinfo.len = pattern->size;\n \t\tlt = NPC_LT_LB_STAG_QINQ;\n \t\tlflags = NPC_F_STAG_CTAG;\n-\t\tif (vlan_item[0] && vlan_item[0]->has_more_vlan) {\n-\t\t\tlflags = NPC_F_LB_L_WITH_QINQ_CTAG &\n-\t\t\t\t NPC_F_LB_L_WITH_QINQ_QINQ;\n-\t\t}\n \t} else if (pst->pattern->type == ROC_NPC_ITEM_TYPE_RAW) {\n \t\traw_spec = pst->pattern->spec;\n \t\tif (raw_spec->relative)\n",
    "prefixes": [
        "2/2"
    ]
}