Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/115369/?format=api
http://patches.dpdk.org/api/patches/115369/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220824083123.583704-3-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": "<20220824083123.583704-3-zhoumin@loongson.cn>", "list_archive_url": "https://inbox.dpdk.org/dev/20220824083123.583704-3-zhoumin@loongson.cn", "date": "2022-08-24T08:31:18", "name": "[v5,2/7] net/ixgbe: add vector stubs for LoongArch", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e46f3e84ff80f0d8f296b57dc03d129f9e4a6d97", "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/20220824083123.583704-3-zhoumin@loongson.cn/mbox/", "series": [ { "id": 24397, "url": "http://patches.dpdk.org/api/series/24397/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24397", "date": "2022-08-24T08:31:16", "name": "Introduce support for LoongArch architecture", "version": 5, "mbox": "http://patches.dpdk.org/series/24397/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/115369/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/115369/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 CC6E1A00C2;\n\tWed, 24 Aug 2022 10:31:42 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9118A427F2;\n\tWed, 24 Aug 2022 10:31:38 +0200 (CEST)", "from loongson.cn (mail.loongson.cn [114.242.206.163])\n by mails.dpdk.org (Postfix) with ESMTP id 83DC4410DD\n for <dev@dpdk.org>; Wed, 24 Aug 2022 10:31:36 +0200 (CEST)", "from localhost.localdomain (unknown [10.2.5.185])\n by localhost.localdomain (Coremail) with SMTP id\n AQAAf8AxFeLd4QVjtJQIAA--.38872S4;\n Wed, 24 Aug 2022 16:31:35 +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, zhoumin@loongson.cn", "Cc": "dev@dpdk.org,\n\tmaobibo@loongson.cn", "Subject": "[PATCH v5 2/7] net/ixgbe: add vector stubs for LoongArch", "Date": "Wed, 24 Aug 2022 16:31:18 +0800", "Message-Id": "<20220824083123.583704-3-zhoumin@loongson.cn>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20220824083123.583704-1-zhoumin@loongson.cn>", "References": "<20220824083123.583704-1-zhoumin@loongson.cn>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-CM-TRANSID": "AQAAf8AxFeLd4QVjtJQIAA--.38872S4", "X-Coremail-Antispam": "1UD129KBjvJXoW7uFWfuw1kCrWkZry8ur48WFg_yoW8uFyUpF\n 4kCFyS9ry3Xr45uw1rXay8uFWfKa18Wa4UGrZYy3s8uFZ8J34qk390qa4UJrnrtrW0vF1I\n vF1kJw43Xa1fAr7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\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": "Similar to RISC-V, the current version for LoongArch do not support\nvector. Re-use vector processing stubs in ixgbe PMD defined for PPC\nfor LoongArch. This enables ixgbe PMD usage in scalar mode on\nLoongArch.\n\nThe ixgbe PMD driver was validated with Intel X520-DA2 NIC and the\ntest-pmd application, l2fwd, l3fwd examples.\n\nSigned-off-by: Min Zhou <zhoumin@loongson.cn>\n---\n doc/guides/nics/features/ixgbe.ini | 1 +\n drivers/net/ixgbe/ixgbe_rxtx.c | 7 +++++--\n drivers/net/ixgbe/meson.build | 6 ------\n 3 files changed, 6 insertions(+), 8 deletions(-)", "diff": "diff --git a/doc/guides/nics/features/ixgbe.ini b/doc/guides/nics/features/ixgbe.ini\nindex ab759a6fb3..c6d2e62adc 100644\n--- a/doc/guides/nics/features/ixgbe.ini\n+++ b/doc/guides/nics/features/ixgbe.ini\n@@ -53,6 +53,7 @@ Linux = Y\n Windows = Y\n ARMv8 = Y\n rv64 = Y\n+LoongArch64 = Y\n x86-32 = Y\n x86-64 = Y\n \ndiff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c\nindex 009d9b624a..c9d6ca9efe 100644\n--- a/drivers/net/ixgbe/ixgbe_rxtx.c\n+++ b/drivers/net/ixgbe/ixgbe_rxtx.c\n@@ -5957,8 +5957,11 @@ ixgbe_config_rss_filter(struct rte_eth_dev *dev,\n \treturn 0;\n }\n \n-/* Stubs needed for linkage when RTE_ARCH_PPC_64 or RTE_ARCH_RISCV is set */\n-#if defined(RTE_ARCH_PPC_64) || defined(RTE_ARCH_RISCV)\n+/* Stubs needed for linkage when RTE_ARCH_PPC_64, RTE_ARCH_RISCV or\n+ * RTE_ARCH_LOONGARCH is set.\n+ */\n+#if defined(RTE_ARCH_PPC_64) || defined(RTE_ARCH_RISCV) || \\\n+\tdefined(RTE_ARCH_LOONGARCH)\n int\n ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)\n {\ndiff --git a/drivers/net/ixgbe/meson.build b/drivers/net/ixgbe/meson.build\nindex 7b76ab211d..162f8d5f46 100644\n--- a/drivers/net/ixgbe/meson.build\n+++ b/drivers/net/ixgbe/meson.build\n@@ -1,12 +1,6 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n-if arch_subdir == 'loongarch'\n-\tbuild = false\n-\treason = 'not supported on LoongArch'\n-\tsubdir_done()\n-endif\n-\n cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']\n \n subdir('base')\n", "prefixes": [ "v5", "2/7" ] }{ "id": 115369, "url": "