get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 112412,
    "url": "http://patches.dpdk.org/api/patches/112412/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220606131054.2097526-21-zhoumin@loongson.cn/",
    "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": "<20220606131054.2097526-21-zhoumin@loongson.cn>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220606131054.2097526-21-zhoumin@loongson.cn",
    "date": "2022-06-06T13:10:50",
    "name": "[v3,20/24] ixgbe: add dummy vector implementation for LoongArch",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "0df1716d0540a7a4327987d9875facde7d0a4532",
    "submitter": {
        "id": 2394,
        "url": "http://patches.dpdk.org/api/people/2394/?format=api",
        "name": "zhoumin",
        "email": "zhoumin@loongson.cn"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220606131054.2097526-21-zhoumin@loongson.cn/mbox/",
    "series": [
        {
            "id": 23356,
            "url": "http://patches.dpdk.org/api/series/23356/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23356",
            "date": "2022-06-06T13:10:37",
            "name": "Support LoongArch architecture",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/23356/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/112412/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/112412/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 ABB7AA0542;\n\tMon,  6 Jun 2022 15:19:06 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 906E642B86;\n\tMon,  6 Jun 2022 15:18:21 +0200 (CEST)",
            "from loongson.cn (mail.loongson.cn [114.242.206.163])\n by mails.dpdk.org (Postfix) with ESMTP id 0CD3F4161A\n for <dev@dpdk.org>; Mon,  6 Jun 2022 15:18:12 +0200 (CEST)",
            "from localhost.localdomain (unknown [10.2.5.185])\n by mail.loongson.cn (Coremail) with SMTP id\n AQAAf9BxieTe_J1imxwXAA--.64917S22;\n Mon, 06 Jun 2022 21:11:03 +0800 (CST)"
        ],
        "From": "Min Zhou <zhoumin@loongson.cn>",
        "To": "thomas@monjalon.net, david.marchand@redhat.com,\n bruce.richardson@intel.com,\n anatoly.burakov@intel.com, qiming.yang@intel.com, Yuying.Zhang@intel.com,\n jgrajcia@cisco.com, konstantin.v.ananyev@yandex.ru",
        "Cc": "dev@dpdk.org,\n\tmaobibo@loongson.cn",
        "Subject": "[v3 20/24] ixgbe: add dummy vector implementation for LoongArch",
        "Date": "Mon,  6 Jun 2022 21:10:50 +0800",
        "Message-Id": "<20220606131054.2097526-21-zhoumin@loongson.cn>",
        "X-Mailer": "git-send-email 2.31.1",
        "In-Reply-To": "<20220606131054.2097526-1-zhoumin@loongson.cn>",
        "References": "<20220606131054.2097526-1-zhoumin@loongson.cn>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-CM-TRANSID": "AQAAf9BxieTe_J1imxwXAA--.64917S22",
        "X-Coremail-Antispam": "1UD129KBjvJXoW7CFyftF13Gr43Cr1xtw4kCrg_yoW5Jr4kpF\n s7Gr4Svr1UXF47uwn3Xw13XrySga1vgFy7WF97C3s8ArZ3GrW8Cr9IqF1qvr95JrW8uF4x\n ur4DGrWUGa13G37anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n 9KBjDU0xBIdaVrnUUvcSsGvfC2KfnxnUUI43ZEXa7xR_UUUUUUUUU==",
        "X-CM-SenderInfo": "52kr3ztlq6z05rqj20fqof0/",
        "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": "The purpose of this patch is used to fix building issues for\nLoongArch architecture. The hardware instructions based vector\nimplementation will come in a future patch.\n\nSigned-off-by: Min Zhou <zhoumin@loongson.cn>\n---\n drivers/net/ixgbe/ixgbe_rxtx_vec_lsx.c | 60 ++++++++++++++++++++++++++\n drivers/net/ixgbe/meson.build          |  2 +\n 2 files changed, 62 insertions(+)\n create mode 100644 drivers/net/ixgbe/ixgbe_rxtx_vec_lsx.c",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_lsx.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_lsx.c\nnew file mode 100644\nindex 0000000000..412c8f937a\n--- /dev/null\n+++ b/drivers/net/ixgbe/ixgbe_rxtx_vec_lsx.c\n@@ -0,0 +1,60 @@\n+/*\n+ * SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2022 Loongson Technology Corporation Limited\n+ */\n+\n+#include \"base/ixgbe_common.h\"\n+#include \"ixgbe_ethdev.h\"\n+#include \"ixgbe_rxtx.h\"\n+\n+/* The vector support will come later */\n+#ifdef RTE_ARCH_NO_VECTOR\n+int\n+ixgbe_rx_vec_dev_conf_condition_check(__rte_unused struct rte_eth_dev *dev)\n+{\n+\treturn -1;\n+}\n+\n+uint16_t\n+ixgbe_recv_pkts_vec(__rte_unused void *rx_queue,\n+\t__rte_unused struct rte_mbuf **rx_pkts,\n+\t__rte_unused uint16_t nb_pkts)\n+{\n+\treturn 0;\n+}\n+\n+uint16_t\n+ixgbe_recv_scattered_pkts_vec(__rte_unused void *rx_queue,\n+\t__rte_unused struct rte_mbuf **rx_pkts,\n+\t__rte_unused uint16_t nb_pkts)\n+{\n+\treturn 0;\n+}\n+\n+int\n+ixgbe_rxq_vec_setup(__rte_unused struct ixgbe_rx_queue *rxq)\n+{\n+\treturn -1;\n+}\n+\n+uint16_t\n+ixgbe_xmit_fixed_burst_vec(__rte_unused void *tx_queue,\n+\t\t__rte_unused struct rte_mbuf **tx_pkts,\n+\t\t__rte_unused uint16_t nb_pkts)\n+{\n+\treturn 0;\n+}\n+\n+int\n+ixgbe_txq_vec_setup(__rte_unused struct ixgbe_tx_queue *txq)\n+{\n+\treturn -1;\n+}\n+\n+void\n+ixgbe_rx_queue_release_mbufs_vec(__rte_unused struct ixgbe_rx_queue *rxq)\n+{\n+}\n+#else\n+#error \"The current version of LoongArch does not support vector!\"\n+#endif\ndiff --git a/drivers/net/ixgbe/meson.build b/drivers/net/ixgbe/meson.build\nindex 162f8d5f46..33c9a58ac8 100644\n--- a/drivers/net/ixgbe/meson.build\n+++ b/drivers/net/ixgbe/meson.build\n@@ -29,6 +29,8 @@ if arch_subdir == 'x86'\n     endif\n elif arch_subdir == 'arm'\n     sources += files('ixgbe_rxtx_vec_neon.c')\n+elif arch_subdir == 'loongarch'\n+    sources += files('ixgbe_rxtx_vec_lsx.c')\n endif\n \n includes += include_directories('base')\n",
    "prefixes": [
        "v3",
        "20/24"
    ]
}