get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 102721,
    "url": "http://patchwork.dpdk.org/api/patches/102721/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20211025035526.3169168-1-kirankumark@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20211025035526.3169168-1-kirankumark@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211025035526.3169168-1-kirankumark@marvell.com",
    "date": "2021-10-25T03:55:25",
    "name": "[1/2] common/octeontx2: sync mbox with AF",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "717707ac83191ff308e6a70d34f193d44a810865",
    "submitter": {
        "id": 1260,
        "url": "http://patchwork.dpdk.org/api/people/1260/?format=api",
        "name": "Kiran Kumar Kokkilagadda",
        "email": "kirankumark@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patchwork.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20211025035526.3169168-1-kirankumark@marvell.com/mbox/",
    "series": [
        {
            "id": 19937,
            "url": "http://patchwork.dpdk.org/api/series/19937/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=19937",
            "date": "2021-10-25T03:55:25",
            "name": "[1/2] common/octeontx2: sync mbox with AF",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/19937/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/102721/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/102721/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 00DF8A0C45;\n\tMon, 25 Oct 2021 05:55:44 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 87C9B407FF;\n\tMon, 25 Oct 2021 05:55:44 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 9395E4003E\n for <dev@dpdk.org>; Mon, 25 Oct 2021 05:55:43 +0200 (CEST)",
            "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 SMTP id 19P0E5Dc015522\n for <dev@dpdk.org>; Sun, 24 Oct 2021 20:55:42 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 3bwhv1rg24-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Sun, 24 Oct 2021 20:55:42 -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.18;\n Sun, 24 Oct 2021 20:55:40 -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.18 via Frontend\n Transport; Sun, 24 Oct 2021 20:55:40 -0700",
            "from cavium-kiran.marvell.com (unknown [10.28.34.15])\n by maili.marvell.com (Postfix) with ESMTP id 7D01B3F70BA;\n Sun, 24 Oct 2021 20:55:39 -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=fJ9Rpp8Okt3AlnTtX2jxtRUyd5Viuges4Kq0tI7H7ko=;\n b=hTJemj5Dwqf5mVcPLkV4FkIPOqCbGCbjldJkERv2cLV5YXdgaqBUzOa9KT1Tq5Ysd6Ir\n f42zWnkSXwSzEOAjIrhaoIlFuHaleMjABBM57RniOF+bU/K60+pgWvfit9MJ+wYUHxWs\n UMk740BRL+EA7Or/MPW/HuZ5xjtGtbwQzuORDuhhOiC7KAch0a7R0kdAQ2jwEwld9CgF\n CAxU56Arh4w3R/zuXWL/amwnw3d8z6sZ+UQhsjapP6XbA6uLDMZa3lSDf5ygSBqwGHvN\n qGd2f+0h5W4GguCnHi2Id3YQ+hMdxiEr9iqcg/UW1NXQ7SkHntH3fq0OYQE3uxkaqoAc Mg==",
        "From": "<kirankumark@marvell.com>",
        "To": "Jerin Jacob <jerinj@marvell.com>, Nithin Dabilpuram\n <ndabilpuram@marvell.com>",
        "CC": "<dev@dpdk.org>, Kiran Kumar K <kirankumark@marvell.com>",
        "Date": "Mon, 25 Oct 2021 09:25:25 +0530",
        "Message-ID": "<20211025035526.3169168-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-ORIG-GUID": "7j6uw7hPwq-D0fI4s4sujyXq5OlMYAMV",
        "X-Proofpoint-GUID": "7j6uw7hPwq-D0fI4s4sujyXq5OlMYAMV",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475\n definitions=2021-10-25_01,2021-10-25_01,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH 1/2] common/octeontx2: sync mbox with AF",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Kiran Kumar K <kirankumark@marvell.com>\n\nSync mbox with AF, And bump up the version.\n\nSigned-off-by: Kiran Kumar K <kirankumark@marvell.com>\n---\n drivers/common/octeontx2/otx2_mbox.h | 30 ++++++++++++++++++----------\n 1 file changed, 20 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeontx2/otx2_mbox.h\nindex b435694db7..25b521a7fa 100644\n--- a/drivers/common/octeontx2/otx2_mbox.h\n+++ b/drivers/common/octeontx2/otx2_mbox.h\n@@ -90,7 +90,7 @@ struct mbox_msghdr {\n #define OTX2_MBOX_RSP_SIG (0xbeef)\n \t/* Signature, for validating corrupted msgs */\n \tuint16_t __otx2_io sig;\n-#define OTX2_MBOX_VERSION (0x000a)\n+#define OTX2_MBOX_VERSION (0x000b)\n \t/* Version of msg's structure for this ID */\n \tuint16_t __otx2_io ver;\n \t/* Offset of next msg within mailbox region */\n@@ -356,6 +356,7 @@ struct ready_msg_rsp {\n };\n \n enum npc_pkind_type {\n+\tNPC_RX_CUSTOM_PRE_L2_PKIND = 55ULL,\n \tNPC_RX_VLAN_EXDSA_PKIND = 56ULL,\n \tNPC_RX_CHLEN24B_PKIND,\n \tNPC_RX_CPT_HDR_PKIND,\n@@ -373,18 +374,27 @@ enum npc_pkind_type {\n /* Struct to set pkind */\n struct npc_set_pkind {\n \tstruct mbox_msghdr hdr;\n-#define OTX2_PRIV_FLAGS_DEFAULT  BIT_ULL(0)\n-#define OTX2_PRIV_FLAGS_EDSA     BIT_ULL(1)\n-#define OTX2_PRIV_FLAGS_HIGIG    BIT_ULL(2)\n-#define OTX2_PRIV_FLAGS_FDSA     BIT_ULL(3)\n-#define OTX2_PRIV_FLAGS_EXDSA    BIT_ULL(4)\n-#define OTX2_PRIV_FLAGS_VLAN_EXDSA    BIT_ULL(5)\n-#define OTX2_PRIV_FLAGS_CUSTOM   BIT_ULL(63)\n+#define OTX2_PRIV_FLAGS_DEFAULT\t   BIT_ULL(0)\n+#define OTX2_PRIV_FLAGS_EDSA\t   BIT_ULL(1)\n+#define OTX2_PRIV_FLAGS_HIGIG\t   BIT_ULL(2)\n+#define OTX2_PRIV_FLAGS_FDSA\t   BIT_ULL(3)\n+#define OTX2_PRIV_FLAGS_EXDSA\t   BIT_ULL(4)\n+#define OTX2_PRIV_FLAGS_VLAN_EXDSA BIT_ULL(5)\n+#define OTX2_PRIV_FLAGS_CUSTOM\t   BIT_ULL(63)\n \tuint64_t __otx2_io mode;\n-#define PKIND_TX\t\tBIT_ULL(0)\n-#define PKIND_RX\t\tBIT_ULL(1)\n+#define PKIND_TX BIT_ULL(0)\n+#define PKIND_RX BIT_ULL(1)\n \tuint8_t __otx2_io dir;\n \tuint8_t __otx2_io pkind; /* valid only in case custom flag */\n+\tuint8_t __otx2_io var_len_off;\n+\t/* Offset of custom header length field.\n+\t * Valid only for pkind NPC_RX_CUSTOM_PRE_L2_PKIND\n+\t */\n+\tuint8_t __otx2_io var_len_off_mask; /* Mask for length with in offset */\n+\tuint8_t __otx2_io shift_dir;\n+\t/* Shift direction to get length of the\n+\t * header at var_len_off\n+\t */\n };\n \n /* Structure for requesting resource provisioning.\n",
    "prefixes": [
        "1/2"
    ]
}