get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 93517,
    "url": "http://patches.dpdk.org/api/patches/93517/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210527152510.1551026-19-andrew.rybchenko@oktetlabs.ru/",
    "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": "<20210527152510.1551026-19-andrew.rybchenko@oktetlabs.ru>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210527152510.1551026-19-andrew.rybchenko@oktetlabs.ru",
    "date": "2021-05-27T15:25:08",
    "name": "[18/20] common/sfc_efx/base: add packetiser packet format definition",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4a8e2b60c37c815bb9d8f8b48e0e7f75711b4680",
    "submitter": {
        "id": 2013,
        "url": "http://patches.dpdk.org/api/people/2013/?format=api",
        "name": "Andrew Rybchenko",
        "email": "Andrew.Rybchenko@oktetlabs.ru"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210527152510.1551026-19-andrew.rybchenko@oktetlabs.ru/mbox/",
    "series": [
        {
            "id": 17144,
            "url": "http://patches.dpdk.org/api/series/17144/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=17144",
            "date": "2021-05-27T15:24:50",
            "name": "net/sfc: support flow API COUNT action",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/17144/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/93517/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/93517/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 1219BA0546;\n\tThu, 27 May 2021 17:27:53 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BCCD64115B;\n\tThu, 27 May 2021 17:26:28 +0200 (CEST)",
            "from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113])\n by mails.dpdk.org (Postfix) with ESMTP id 9C6DB41116\n for <dev@dpdk.org>; Thu, 27 May 2021 17:26:24 +0200 (CEST)",
            "by shelob.oktetlabs.ru (Postfix, from userid 122)\n id 72DCB7F601; Thu, 27 May 2021 18:26:24 +0300 (MSK)",
            "from aros.oktetlabs.ru (aros.oktetlabs.ru [192.168.38.17])\n by shelob.oktetlabs.ru (Postfix) with ESMTP id 9059D7F60C;\n Thu, 27 May 2021 18:25:43 +0300 (MSK)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on shelob.oktetlabs.ru",
        "X-Spam-Level": "*",
        "X-Spam-Status": "No, score=1.6 required=5.0 tests=ALL_TRUSTED,\n DKIM_ADSP_DISCARD,\n UPPERCASE_50_75,URIBL_BLOCKED autolearn=no autolearn_force=no\n version=3.4.2",
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 9059D7F60C",
        "Authentication-Results": "shelob.oktetlabs.ru/9059D7F60C; dkim=none;\n dkim-atps=neutral",
        "From": "Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>",
        "To": "dev@dpdk.org",
        "Cc": "Andy Moreton <amoreton@xilinx.com>",
        "Date": "Thu, 27 May 2021 18:25:08 +0300",
        "Message-Id": "<20210527152510.1551026-19-andrew.rybchenko@oktetlabs.ru>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210527152510.1551026-1-andrew.rybchenko@oktetlabs.ru>",
        "References": "<20210527152510.1551026-1-andrew.rybchenko@oktetlabs.ru>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 18/20] common/sfc_efx/base: add packetiser packet\n format definition",
        "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": "Packetiser composes packets with MAE counters update.\n\nSigned-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>\nReviewed-by: Andy Moreton <amoreton@xilinx.com>\n---\n .../base/efx_regs_counters_pkt_format.h       | 87 +++++++++++++++++++\n 1 file changed, 87 insertions(+)\n create mode 100644 drivers/common/sfc_efx/base/efx_regs_counters_pkt_format.h",
    "diff": "diff --git a/drivers/common/sfc_efx/base/efx_regs_counters_pkt_format.h b/drivers/common/sfc_efx/base/efx_regs_counters_pkt_format.h\nnew file mode 100644\nindex 0000000000..6610d07dc0\n--- /dev/null\n+++ b/drivers/common/sfc_efx/base/efx_regs_counters_pkt_format.h\n@@ -0,0 +1,87 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ *\n+ * Copyright(c) 2020-2021 Xilinx, Inc.\n+ */\n+\n+#ifndef\t_SYS_EFX_REGS_COUNTERS_PKT_FORMAT_H\n+#define\t_SYS_EFX_REGS_COUNTERS_PKT_FORMAT_H\n+\n+/*\n+ * Packetiser packet format definition.\n+ * SF-122415-TC - OVS Counter Design Specification section 7\n+ * Primary copy of the header is located in the smartnic_registry repo:\n+ * src/ovs_counter/packetiser_packet_format.h\n+ */\n+\n+/*------------------------------------------------------------*/\n+/*\n+ * ER_RX_SL_PACKETISER_HEADER_WORD(160bit):\n+ *\n+ */\n+#define\tER_RX_SL_PACKETISER_HEADER_WORD_SIZE 20\n+\n+#define\tERF_SC_PACKETISER_HEADER_VERSION_LBN 0\n+#define\tERF_SC_PACKETISER_HEADER_VERSION_WIDTH 8\n+/* Deprecated, use ERF_SC_PACKETISER_HEADER_VERSION_2 instead */\n+#define\tERF_SC_PACKETISER_HEADER_VERSION_VALUE 2\n+#define\tERF_SC_PACKETISER_HEADER_VERSION_2 2\n+#define\tERF_SC_PACKETISER_HEADER_IDENTIFIER_LBN 8\n+#define\tERF_SC_PACKETISER_HEADER_IDENTIFIER_WIDTH 8\n+#define\tERF_SC_PACKETISER_HEADER_IDENTIFIER_AR 0\n+#define\tERF_SC_PACKETISER_HEADER_IDENTIFIER_CT 1\n+#define\tERF_SC_PACKETISER_HEADER_HEADER_OFFSET_LBN 16\n+#define\tERF_SC_PACKETISER_HEADER_HEADER_OFFSET_WIDTH 8\n+#define\tERF_SC_PACKETISER_HEADER_HEADER_OFFSET_DEFAULT 0x4\n+#define\tERF_SC_PACKETISER_HEADER_PAYLOAD_OFFSET_LBN 24\n+#define\tERF_SC_PACKETISER_HEADER_PAYLOAD_OFFSET_WIDTH 8\n+#define\tERF_SC_PACKETISER_HEADER_PAYLOAD_OFFSET_DEFAULT 0x14\n+#define\tERF_SC_PACKETISER_HEADER_INDEX_LBN 32\n+#define\tERF_SC_PACKETISER_HEADER_INDEX_WIDTH 16\n+#define\tERF_SC_PACKETISER_HEADER_COUNT_LBN 48\n+#define\tERF_SC_PACKETISER_HEADER_COUNT_WIDTH 16\n+#define\tERF_SC_PACKETISER_HEADER_RESERVED_0_LBN 64\n+#define\tERF_SC_PACKETISER_HEADER_RESERVED_0_WIDTH 32\n+#define\tERF_SC_PACKETISER_HEADER_RESERVED_1_LBN 96\n+#define\tERF_SC_PACKETISER_HEADER_RESERVED_1_WIDTH 32\n+#define\tERF_SC_PACKETISER_HEADER_RESERVED_2_LBN 128\n+#define\tERF_SC_PACKETISER_HEADER_RESERVED_2_WIDTH 32\n+\n+\n+/*------------------------------------------------------------*/\n+/*\n+ * ER_RX_SL_PACKETISER_PAYLOAD_WORD(128bit):\n+ *\n+ */\n+#define\tER_RX_SL_PACKETISER_PAYLOAD_WORD_SIZE 16\n+\n+#define\tERF_SC_PACKETISER_PAYLOAD_COUNTER_INDEX_LBN 0\n+#define\tERF_SC_PACKETISER_PAYLOAD_COUNTER_INDEX_WIDTH 24\n+#define\tERF_SC_PACKETISER_PAYLOAD_RESERVED_LBN 24\n+#define\tERF_SC_PACKETISER_PAYLOAD_RESERVED_WIDTH 8\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_OFST 4\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_SIZE 6\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_LBN 32\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_WIDTH 48\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_LO_OFST 4\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_LO_SIZE 4\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_LO_LBN 32\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_LO_WIDTH 32\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_HI_OFST 8\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_HI_SIZE 2\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_HI_LBN 64\n+#define\tERF_SC_PACKETISER_PAYLOAD_PACKET_COUNT_HI_WIDTH 16\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_OFST 10\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_SIZE 6\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_LBN 80\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_WIDTH 48\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_LO_OFST 10\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_LO_SIZE 2\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_LO_LBN 80\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_LO_WIDTH 16\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_HI_OFST 12\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_HI_SIZE 4\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_HI_LBN 96\n+#define\tERF_SC_PACKETISER_PAYLOAD_BYTE_COUNT_HI_WIDTH 32\n+\n+\n+#endif /* _SYS_EFX_REGS_COUNTERS_PKT_FORMAT_H */\n",
    "prefixes": [
        "18/20"
    ]
}