get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110008,
    "url": "http://patchwork.dpdk.org/api/patches/110008/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220421151900.703467-3-john.miller@atomicrules.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": "<20220421151900.703467-3-john.miller@atomicrules.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220421151900.703467-3-john.miller@atomicrules.com",
    "date": "2022-04-21T15:18:53",
    "name": "[03/10] common/ark: move common files to common subdirectory",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "8adf5b68bfdaa8db59cb8204df10a0bd981f1dbf",
    "submitter": {
        "id": 719,
        "url": "http://patchwork.dpdk.org/api/people/719/?format=api",
        "name": "John Miller",
        "email": "john.miller@atomicrules.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patchwork.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220421151900.703467-3-john.miller@atomicrules.com/mbox/",
    "series": [
        {
            "id": 22596,
            "url": "http://patchwork.dpdk.org/api/series/22596/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=22596",
            "date": "2022-04-21T15:18:51",
            "name": "[01/10] doc/guides/bbdevs: add ark baseband device documentation",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22596/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/110008/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/110008/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 CBC29A0093;\n\tThu, 21 Apr 2022 17:19:30 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E62BF427F6;\n\tThu, 21 Apr 2022 17:19:19 +0200 (CEST)",
            "from mail-pl1-f175.google.com (mail-pl1-f175.google.com\n [209.85.214.175])\n by mails.dpdk.org (Postfix) with ESMTP id C9111410FB\n for <dev@dpdk.org>; Thu, 21 Apr 2022 17:19:18 +0200 (CEST)",
            "by mail-pl1-f175.google.com with SMTP id h12so1500510plf.12\n for <dev@dpdk.org>; Thu, 21 Apr 2022 08:19:18 -0700 (PDT)",
            "from john-All-Series.tds\n (h75-100-85-216.cntcnh.broadband.dynamic.tds.net. [75.100.85.216])\n by smtp.gmail.com with ESMTPSA id\n q5-20020a056a00084500b0050ace4a699dsm6463465pfk.95.2022.04.21.08.19.16\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 21 Apr 2022 08:19:17 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=atomicrules-com.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=bZ5Uf1clN4KhgxUV+3kueEO1f61BfgENfhE+mGV0wQ8=;\n b=qcn7ciF7cDs2xHkaxmNDmLbvrn20KGZXCok4JzSgbVTseJyKrVAkp2H2hmsMk+O7zQ\n 8IIqH1+j/2VRbro4qiEAJ8Gpp1XoS8zUnsOCXEs4ooItO0rbbHFd37Brxf9NqkMrwufd\n CRoKIHhpKHEmpTpaDw/BttKzrHfyaNdJ3gpppX60e+WJPEIKAN9aSyqgINNBRWvFBjev\n rpWpHO65ug3gQYCrpMBs8EeiF78wgRlAo1NOK9sRCVaysgZQCRFhYGydv7Th3FzfQvWO\n wUWLrR3tlSq+U38ob1Dl56BkI5u9h7il32jKqE/IDa7lXM9DxPU9Jpw3lqNjsxVS5VRo\n 9sYA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=bZ5Uf1clN4KhgxUV+3kueEO1f61BfgENfhE+mGV0wQ8=;\n b=Vhk7knFoT/XRI10A9KVqP97SIx2JK4qNNX4ClqICdDKRKYrHBEnubPcqY+oWCsurr2\n UJ0XN47DSH1PX8iw9yf79dVwgqFTqkKzS+HbC/ebLoG9zhG/5hvS+pSD0pI4eunr2AFL\n lD812uqVj5qNJvxVs5ibeTSTqu7sY+bfQKm/uWMK8is9LK1zaaRyKKPl89OpkgcyMMKl\n WBX6DhycQxkzlaaKW+wmB2LOB9rpXrGeGzxlHjc4019paflu33GIBakr2E/1A/og6feD\n b2UiUwuhL5hNVr8KG6SLGE/cQfIT1QT/daLzxQE94gIAZbhit4RTtvJgbQanfq8ZyM6Q\n h37g==",
        "X-Gm-Message-State": "AOAM531XLz7nUjWq7TKUVvnc/nrOsiZzlrvf6SEe4epwq+HYmL3l8k3L\n 4xWILJ1QGqCIV2ZmrRLt1BiUuRh9UMUpqg==",
        "X-Google-Smtp-Source": "\n ABdhPJyFtyukhKBI9nHmEzvW4DlXdBvlxlbUflmnqCT9UxzioLZfIxYFGhQ4dD6iq76popS0SSl/UQ==",
        "X-Received": "by 2002:a17:90b:3a8b:b0:1d2:e910:d205 with SMTP id\n om11-20020a17090b3a8b00b001d2e910d205mr139192pjb.149.1650554357825;\n Thu, 21 Apr 2022 08:19:17 -0700 (PDT)",
        "From": "John Miller <john.miller@atomicrules.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@xilinx.com, ed.czeck@atomicrules.com,\n John Miller <john.miller@atomicrules.com>",
        "Subject": "[PATCH 03/10] common/ark: move common files to common subdirectory",
        "Date": "Thu, 21 Apr 2022 10:18:53 -0500",
        "Message-Id": "<20220421151900.703467-3-john.miller@atomicrules.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220421151900.703467-1-john.miller@atomicrules.com>",
        "References": "<20220421151900.703467-1-john.miller@atomicrules.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Add common ark files to drivers/common directory in\npreparation to support Arkville baseband device.\n\nSigned-off-by: John Miller <john.miller@atomicrules.com>\n---\n drivers/common/ark/ark_common.c |   7 ++\n drivers/common/ark/ark_common.h |  48 ++++++++++++++\n drivers/common/ark/meson.build  |  13 ++++\n drivers/common/ark/version.map  | 109 ++++++++++++++++++++++++++++++++\n 4 files changed, 177 insertions(+)\n create mode 100644 drivers/common/ark/ark_common.c\n create mode 100644 drivers/common/ark/ark_common.h\n create mode 100644 drivers/common/ark/meson.build\n create mode 100644 drivers/common/ark/version.map",
    "diff": "diff --git a/drivers/common/ark/ark_common.c b/drivers/common/ark/ark_common.c\nnew file mode 100644\nindex 0000000000..18d1832ede\n--- /dev/null\n+++ b/drivers/common/ark/ark_common.c\n@@ -0,0 +1,7 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright (c) 2020-2021 Atomic Rules LLC\n+ */\n+\n+#include \"ark_common.h\"\n+\n+RTE_LOG_REGISTER_DEFAULT(ark_common_logtype, NOTICE);\ndiff --git a/drivers/common/ark/ark_common.h b/drivers/common/ark/ark_common.h\nnew file mode 100644\nindex 0000000000..6bb168098b\n--- /dev/null\n+++ b/drivers/common/ark/ark_common.h\n@@ -0,0 +1,48 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright (c) 2015-2018 Atomic Rules LLC\n+ */\n+\n+#ifndef _ARK_COMMON_H_\n+#define _ARK_COMMON_H_\n+\n+#include <inttypes.h>\n+#include <rte_log.h>\n+\n+/* system camel case definition changed to upper case */\n+#define PRIU32 PRIu32\n+#define PRIU64 PRIu64\n+\n+/* Atomic Rules vendor id */\n+#define AR_VENDOR_ID 0x1d6c\n+\n+/*\n+ * This structure is used to statically define the capabilities\n+ * of supported devices.\n+ * Capabilities:\n+ *  rqpacing -\n+ * Some HW variants require that PCIe read-requests be correctly throttled.\n+ * This is called \"rqpacing\" and has to do with credit and flow control\n+ * on certain Arkville implementations.\n+ */\n+struct ark_caps {\n+\tbool rqpacing;\n+};\n+struct ark_dev_caps {\n+\tuint32_t  device_id;\n+\tstruct ark_caps  caps;\n+};\n+#define SET_DEV_CAPS(id, rqp) \\\n+\t{id, {.rqpacing = rqp} }\n+\n+/* Format specifiers for string data pairs */\n+#define ARK_SU32  \"\\n\\t%-20s    %'20\" PRIU32\n+#define ARK_SU64  \"\\n\\t%-20s    %'20\" PRIU64\n+#define ARK_SU64X \"\\n\\t%-20s    %#20\" PRIx64\n+#define ARK_SPTR  \"\\n\\t%-20s    %20p\"\n+\n+extern int ark_common_logtype;\n+\n+#define ARK_PMD_LOG(level, fmt, args...)\t\\\n+\trte_log(RTE_LOG_ ##level, ark_common_logtype, \"ARK_COMMON: \" fmt, ## args)\n+\n+#endif\ndiff --git a/drivers/common/ark/meson.build b/drivers/common/ark/meson.build\nnew file mode 100644\nindex 0000000000..fbdfceecea\n--- /dev/null\n+++ b/drivers/common/ark/meson.build\n@@ -0,0 +1,13 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright 2019 Mellanox Technologies, Ltd\n+\n+sources += files(\n+\t'ark_ddm.c',\n+\t'ark_common.c',\n+\t'ark_mpu.c',\n+\t'ark_pktchkr.c',\n+\t'ark_pktdir.c',\n+\t'ark_pktgen.c',\n+\t'ark_rqp.c',\n+\t'ark_udm.c'\n+)\ndiff --git a/drivers/common/ark/version.map b/drivers/common/ark/version.map\nnew file mode 100644\nindex 0000000000..063d065df2\n--- /dev/null\n+++ b/drivers/common/ark/version.map\n@@ -0,0 +1,109 @@\n+DPDK_22 {\n+\tlocal: *;\n+};\n+\n+INTERNAL {\n+\tglobal:\n+\n+\tark_api_num_queues;\n+\tark_api_num_queues_per_port;\n+\n+\tark_ddm_dump;\n+\tark_ddm_dump_stats;\n+\tark_ddm_is_stopped;\n+\tark_ddm_queue_byte_count;\n+\tark_ddm_queue_pkt_count;\n+\tark_ddm_queue_reset_stats;\n+\tark_ddm_reset;\n+\tark_ddm_setup;\n+\tark_ddm_start;\n+\tark_ddm_stats_reset;\n+\tark_ddm_stop;\n+\tark_ddm_verify;\n+\n+\tark_mpu_configure;\n+\tark_mpu_dump;\n+\tark_mpu_dump_setup;\n+\tark_mpu_reset;\n+\tark_mpu_reset_stats;\n+\tark_mpu_start;\n+\tark_mpu_stop;\n+\tark_mpu_verify;\n+\n+\tark_pktchkr_dump_stats;\n+\tark_pktchkr_get_pkts_sent;\n+\tark_pktchkr_init;\n+\tark_pktchkr_is_running;\n+\tark_pktchkr_parse;\n+\tark_pktchkr_run;\n+\tark_pktchkr_set_dst_mac_addr;\n+\tark_pktchkr_set_eth_type;\n+\tark_pktchkr_set_hdr_dW;\n+\tark_pktchkr_set_num_pkts;\n+\tark_pktchkr_set_payload_byte;\n+\tark_pktchkr_set_pkt_size_incr;\n+\tark_pktchkr_set_pkt_size_max;\n+\tark_pktchkr_set_pkt_size_min;\n+\tark_pktchkr_set_src_mac_addr;\n+\tark_pktchkr_setup;\n+\tark_pktchkr_stop;\n+\tark_pktchkr_stopped;\n+\tark_pktchkr_uninit;\n+\tark_pktchkr_wait_done;\n+\tark_pktdir_init;\n+\tark_pktdir_setup;\n+\tark_pktdir_stall_cnt;\n+\tark_pktdir_status;\n+\tark_pktdir_uninit;\n+\n+\tark_pktgen_get_pkts_sent;\n+\tark_pktgen_init;\n+\tark_pktgen_is_gen_forever;\n+\tark_pktgen_is_running;\n+\tark_pktgen_parse;\n+\tark_pktgen_pause;\n+\tark_pktgen_paused;\n+\tark_pktgen_reset;\n+\tark_pktgen_run;\n+\tark_pktgen_set_dst_mac_addr;\n+\tark_pktgen_set_eth_type;\n+\tark_pktgen_set_hdr_dW;\n+\tark_pktgen_set_num_pkts;\n+\tark_pktgen_set_payload_byte;\n+\tark_pktgen_set_pkt_size_incr;\n+\tark_pktgen_set_pkt_size_max;\n+\tark_pktgen_set_pkt_size_min;\n+\tark_pktgen_set_pkt_spacing;\n+\tark_pktgen_set_src_mac_addr;\n+\tark_pktgen_set_start_offset;\n+\tark_pktgen_setup;\n+\tark_pktgen_tx_done;\n+\tark_pktgen_uninit;\n+\tark_pktgen_wait_done;\n+\n+\tark_rqp_dump;\n+\tark_rqp_lasped;\n+\tark_rqp_stats_reset;\n+\n+\tark_udm_bytes;\n+\tark_udm_configure;\n+\tark_udm_dropped;\n+\tark_udm_dump;\n+\tark_udm_dump_perf;\n+\tark_udm_dump_queue_stats;\n+\tark_udm_dump_setup;\n+\tark_udm_dump_stats;\n+\tark_udm_is_flushed;\n+\tark_udm_packets;\n+\tark_udm_queue_enable;\n+\tark_udm_queue_stats_reset;\n+\tark_udm_reset;\n+\tark_udm_start;\n+\tark_udm_stats_reset;\n+\tark_udm_stop;\n+\tark_udm_verify;\n+\tark_udm_write_addr;\n+\tark_pktgen_delay_start;\n+\n+\tlocal: *;\n+};\n",
    "prefixes": [
        "03/10"
    ]
}