Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/112405/?format=api
http://patches.dpdk.org/api/patches/112405/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220606131054.2097526-5-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-5-zhoumin@loongson.cn>", "list_archive_url": "https://inbox.dpdk.org/dev/20220606131054.2097526-5-zhoumin@loongson.cn", "date": "2022-06-06T13:10:34", "name": "[v3,04/24] eal/loongarch: add prefetch operations for LoongArch", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "8cfd0be97ee5940d330d38d20de9012ac39bbd1c", "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-5-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/112405/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/112405/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 AA305A0542;\n\tMon, 6 Jun 2022 15:18:22 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 103A8427F3;\n\tMon, 6 Jun 2022 15:18:15 +0200 (CEST)", "from loongson.cn (mail.loongson.cn [114.242.206.163])\n by mails.dpdk.org (Postfix) with ESMTP id E1EA140A81\n for <dev@dpdk.org>; Mon, 6 Jun 2022 15:18:11 +0200 (CEST)", "from localhost.localdomain (unknown [10.2.5.185])\n by mail.loongson.cn (Coremail) with SMTP id AQAAf9BxieTe_J1imxwXAA--.64917S6;\n Mon, 06 Jun 2022 21:10:59 +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 04/24] eal/loongarch: add prefetch operations for LoongArch", "Date": "Mon, 6 Jun 2022 21:10:34 +0800", "Message-Id": "<20220606131054.2097526-5-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--.64917S6", "X-Coremail-Antispam": "1UD129KBjvJXoW7Ar4kAry8WF4rurWxuw4xXrb_yoW8WFyDpF\n WDCr45Wa17Gry2ka9xJr4Fgw13Jwna9a42qrZ7Gw18JFnFq34xtrn7Kr9FyFW3G348GryY\n 9rsxua95WF1Uu3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\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": "This patch adds architecture specific prefetch operations\nfor LoongArch architecture.\n\nSigned-off-by: Min Zhou <zhoumin@loongson.cn>\n---\n lib/eal/loongarch/include/rte_prefetch.h | 47 ++++++++++++++++++++++++\n 1 file changed, 47 insertions(+)\n create mode 100644 lib/eal/loongarch/include/rte_prefetch.h", "diff": "diff --git a/lib/eal/loongarch/include/rte_prefetch.h b/lib/eal/loongarch/include/rte_prefetch.h\nnew file mode 100644\nindex 0000000000..0fd9262ea8\n--- /dev/null\n+++ b/lib/eal/loongarch/include/rte_prefetch.h\n@@ -0,0 +1,47 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2022 Loongson Technology Corporation Limited\n+ */\n+\n+#ifndef _RTE_PREFETCH_LOONGARCH_H_\n+#define _RTE_PREFETCH_LOONGARCH_H_\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include <rte_common.h>\n+#include \"generic/rte_prefetch.h\"\n+\n+static inline void rte_prefetch0(const volatile void *p)\n+{\n+\t__builtin_prefetch((const void *)(uintptr_t)p, 0, 3);\n+}\n+\n+static inline void rte_prefetch1(const volatile void *p)\n+{\n+\t__builtin_prefetch((const void *)(uintptr_t)p, 0, 2);\n+}\n+\n+static inline void rte_prefetch2(const volatile void *p)\n+{\n+\t__builtin_prefetch((const void *)(uintptr_t)p, 0, 1);\n+}\n+\n+static inline void rte_prefetch_non_temporal(const volatile void *p)\n+{\n+\t/* non-temporal version not available, fallback to rte_prefetch0 */\n+\trte_prefetch0(p);\n+}\n+\n+__rte_experimental\n+static inline void\n+rte_cldemote(const volatile void *p)\n+{\n+\tRTE_SET_USED(p);\n+}\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_PREFETCH_LOONGARCH_H_ */\n", "prefixes": [ "v3", "04/24" ] }{ "id": 112405, "url": "