Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/110742/?format=api
https://patches.dpdk.org/api/patches/110742/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220505173003.3242618-5-kda@semihalf.com/", "project": { "id": 1, "url": "https://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": "<20220505173003.3242618-5-kda@semihalf.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220505173003.3242618-5-kda@semihalf.com", "date": "2022-05-05T17:29:56", "name": "[04/11] net/ixgbe: enable vector stubs for RISC-V", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d9d1bd0061d1e325ce92af3e45451891e5129a6e", "submitter": { "id": 2179, "url": "https://patches.dpdk.org/api/people/2179/?format=api", "name": "Stanislaw Kardach", "email": "kda@semihalf.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220505173003.3242618-5-kda@semihalf.com/mbox/", "series": [ { "id": 22800, "url": "https://patches.dpdk.org/api/series/22800/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22800", "date": "2022-05-05T17:29:52", "name": "Introduce support for RISC-V architecture", "version": 1, "mbox": "https://patches.dpdk.org/series/22800/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/110742/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/110742/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 9EDD8A00C2;\n\tThu, 5 May 2022 19:30:47 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0FE7D4281F;\n\tThu, 5 May 2022 19:30:32 +0200 (CEST)", "from mail-lj1-f169.google.com (mail-lj1-f169.google.com\n [209.85.208.169])\n by mails.dpdk.org (Postfix) with ESMTP id 2AC6542835\n for <dev@dpdk.org>; Thu, 5 May 2022 19:30:30 +0200 (CEST)", "by mail-lj1-f169.google.com with SMTP id g16so6493530lja.3\n for <dev@dpdk.org>; Thu, 05 May 2022 10:30:30 -0700 (PDT)", "from localhost.localdomain (89-73-146-138.dynamic.chello.pl.\n [89.73.146.138]) by smtp.gmail.com with ESMTPSA id\n z26-20020ac25dfa000000b0047255d21203sm289640lfq.306.2022.05.05.10.30.29\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 05 May 2022 10:30:29 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=semihalf-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=Om9c/UYReyeTxtveN2/8+0VvwpS9O7+1ntrePC3gfSQ=;\n b=31aG8JU0LvPaItcyGANglLe70QZzYck2u8DSDZQCQHwLllLAtUEH2WWOlor/VaNdEL\n 9uPUNvINRCHjHaKputkDTcrxGBY+FHjdOiZL4rb8sloXLoRbkZ9HhbQSlCPs7PvkVvGg\n 2XMSfQ++IkA5/Czu1+G6CN0ca9T7rcf5luRWVASAoDGIAxOJzKThRozhGrAQyp5P93RY\n c741GyUJbqbJ+ZAPA402O0ctiCfLLPMRMq3ikt06YJ3521y6PJA2XTLpZsyDPc5qdR4q\n BdnNobO2cj5y4VuvgphQp95f65Qxch9OM7t2OOtj83o7pnK3+62iaA7FFO84yvE7Anwr\n Amhw==", "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=Om9c/UYReyeTxtveN2/8+0VvwpS9O7+1ntrePC3gfSQ=;\n b=JvzSO42uSFBD8Fwy0/tl6/mgs2sNnHhsiNyXh59szLt9PcTZVBOAqorpYPukwo6TfQ\n UE3XiUUH18pDXCWF2KlbYkZH5Ci0NQ9bwJBcScJ2NMeDYNbtuXNj9cNUYHQpsQQ7frV4\n nMMjzG8Hi4pQnUub0UFYrniiav9QQW4kdLc96n4QubF16lC9EazWWkfulZ/NLiqI7C9u\n iV0Nm9+pfOQeY8+Y96LRb22HfUgaSYh4wnwdv83o6ufScK5uQ+x9KpY74DmYQ2ZHXam9\n 7fcSnRJFFDGsD2X0UJP8FkTxczr6pG0KcmCyk8tJLdqJUeF9P0xeiS1eKEaMj70yOPZn\n NDqA==", "X-Gm-Message-State": "AOAM532DsiWm92qweuyW5EtJwdMkBVzMrH5a5wiB758HTySLZtxhsgRR\n um/Dk/WGMqUs6DCvQ0IBGNIGDg==", "X-Google-Smtp-Source": "\n ABdhPJysDkhJUp7p/sIP+Uii2EJw3aBR/nBMWevzPabrD6MwhegqNqkQWH3QzIqHDR4LdHg5QPLP5g==", "X-Received": "by 2002:a2e:b056:0:b0:250:84ca:643b with SMTP id\n d22-20020a2eb056000000b0025084ca643bmr5666287ljl.98.1651771829779;\n Thu, 05 May 2022 10:30:29 -0700 (PDT)", "From": "Stanislaw Kardach <kda@semihalf.com>", "To": "Haiyue Wang <haiyue.wang@intel.com>", "Cc": "Stanislaw Kardach <kda@semihalf.com>, dev@dpdk.org,\n Frank Zhao <Frank.Zhao@starfivetech.com>, Sam Grove <sam.grove@sifive.com>,\n mw@semihalf.com, upstream@semihalf.com", "Subject": "[PATCH 04/11] net/ixgbe: enable vector stubs for RISC-V", "Date": "Thu, 5 May 2022 19:29:56 +0200", "Message-Id": "<20220505173003.3242618-5-kda@semihalf.com>", "X-Mailer": "git-send-email 2.30.2", "In-Reply-To": "<20220505173003.3242618-1-kda@semihalf.com>", "References": "<20220505173003.3242618-1-kda@semihalf.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": "Re-use vector processing stubs in ixgbe PMD defined for PPC for RISC-V.\nThis enables ixgbe PMD usage in scalar mode on this architecture.\n\nThe ixgbe PMD driver was validated with Intel X520-DA2 NIC and the\ntest-pmd application. Packet transfer checked using all UIO drivers\navailable for non-IOMMU platforms: uio_pci_generic, vfio-pci noiommu and\nigb_uio.\n\nSigned-off-by: Stanislaw Kardach <kda@semihalf.com>\nSponsored-by: Frank Zhao <Frank.Zhao@starfivetech.com>\nSponsored-by: Sam Grove <sam.grove@sifive.com>\n---\n doc/guides/nics/features/ixgbe.ini | 1 +\n drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++--\n drivers/net/ixgbe/meson.build | 6 ------\n 3 files changed, 3 insertions(+), 8 deletions(-)", "diff": "diff --git a/doc/guides/nics/features/ixgbe.ini b/doc/guides/nics/features/ixgbe.ini\nindex c5333d1142..b776ca1cf1 100644\n--- a/doc/guides/nics/features/ixgbe.ini\n+++ b/doc/guides/nics/features/ixgbe.ini\n@@ -54,6 +54,7 @@ Windows = Y\n ARMv8 = Y\n x86-32 = Y\n x86-64 = Y\n+rv64 = Y\n \n [rte_flow items]\n eth = Y\ndiff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c\nindex 9e8ea366a5..009d9b624a 100644\n--- a/drivers/net/ixgbe/ixgbe_rxtx.c\n+++ b/drivers/net/ixgbe/ixgbe_rxtx.c\n@@ -5957,8 +5957,8 @@ ixgbe_config_rss_filter(struct rte_eth_dev *dev,\n \treturn 0;\n }\n \n-/* Stubs needed for linkage when RTE_ARCH_PPC_64 is set */\n-#if defined(RTE_ARCH_PPC_64)\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 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 88539e97d5..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 == 'riscv'\n-\t\tbuild = false\n-\t\treason = 'riscv arch not supported'\n-\t\tsubdir_done()\n-endif\n-\n cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']\n \n subdir('base')\n", "prefixes": [ "04/11" ] }{ "id": 110742, "url": "