From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35DAFA00C3; Wed, 8 Jun 2022 11:48:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1526940689; Wed, 8 Jun 2022 11:48:55 +0200 (CEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mails.dpdk.org (Postfix) with ESMTP id 2A5064021D for ; Wed, 8 Jun 2022 11:48:53 +0200 (CEST) Received: by mail-lf1-f48.google.com with SMTP id a29so3864446lfk.2 for ; Wed, 08 Jun 2022 02:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SZ0fUsspQVirbNjUr6fpouAVel3couOD1+K0XIycuLk=; b=Uywlgepa+T4BGhYbZr1m+h8E1a+xOx2572efcAIprfYL3mwZ53XNQoD2q3EuE4JJRP n8KStK3afFvJ495KYEEJwP1J9JShnv/swWJNKmJzkIsQipiaiB7ToQiUu0tqPAsMWrSw NHXo6ePYXqBiECWVbWOivAO91Qn58iEdMgmj78z1JhLLf6uslG2dIN7eJNjJOTlbcXyM dIbTj2kJ49JRnU/Liuk/OLqZn140nUR0q1vom9iuW/aBRYLb4aHGQ6jUZwl0gqQtWxLk k8DoDT+MFvFI5UzqcTuCu3luWkT5MgrCF/wsGGFWGXXjOcJGz8SNDiEkiYhdUvxZgiEi lQ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SZ0fUsspQVirbNjUr6fpouAVel3couOD1+K0XIycuLk=; b=EN9z+b8zoLuSRKWU8RI4W7Q57U0hH/+GCBrCMM/hEW7vX6TmBBr62TpsG7RLkz2LC2 UEdaIJbfSFgLSfTwei0Gul/YBniJH2VMJJK9Y7MYgoMi6MomFmleuZ77a20b0ogOMqDE ZHLTN2N1V5ltLDZ/D3IqXlKw47Bbrk6OqeapsuqWxSfS7hWO/NS3zqVofV4g7oAuT6RF lZJM8KdTY46ipxnHhO3FOq+9JL+U3E4SJmFPInES9HhkSQ20Ng+YbI+9V7bs31DuFqNU Kl06imT40zbQmD3NR3xhi/gmakRWpjQoGgT8/GQEvi8MmTe264+fNjKUMHe0vNUkEmUz OfrQ== X-Gm-Message-State: AOAM531wgDQku1QcKxxHpivEb/ClpXyCYWEFPkCjSsd16B/EGZ2oXPGx 9twJG2m2GsIBdF4D1TNDHnZi/9ikMf35CGLu5zZsQA== X-Google-Smtp-Source: ABdhPJzPUxwxcuq4wBUvcS/B5aoQ7aigOZE7XkbFZ/kvt6IUxDPKM3xKtGkrwfFFUOMasAlMrcQm9mAsDyMLX/erXKY= X-Received: by 2002:a05:6512:3402:b0:474:41fe:69e9 with SMTP id i2-20020a056512340200b0047441fe69e9mr21509714lfr.514.1654681732490; Wed, 08 Jun 2022 02:48:52 -0700 (PDT) MIME-Version: 1.0 References: <20220531141307.253385-1-kda@semihalf.com> In-Reply-To: From: =?UTF-8?Q?Stanis=C5=82aw_Kardach?= Date: Wed, 8 Jun 2022 11:48:16 +0200 Message-ID: Subject: Re: [PATCH v4 0/8] Introduce support for RISC-V architecture To: David Marchand Cc: dev , Frank Zhao , Sam Grove , Marcin Wojtas , upstream@semihalf.com, Heinrich Schuchardt , Thomas Monjalon Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Jun 8, 2022 at 11:32 AM David Marchand wrote: > > On Wed, Jun 8, 2022 at 10:41 AM David Marchand > wrote: > > On Tue, May 31, 2022 at 4:14 PM Stanislaw Kardach wrote: > > > > > > This patchset adds support for building and running DPDK on 64bit RISC-V > > > architecture. The initial support targets rv64gc (rv64imafdc) ISA and > > > was tested on SiFive Unmatched development board with the Freedom U740 > > > SoC running Linux (freedom-u-sdk based kernel). > > > I have tested this codebase using DPDK unit and perf tests as well as > > > test-pmd, l2fwd and l3fwd examples. > > > The NIC attached to the DUT was Intel X520-DA2 which uses ixgbe PMD. > > > On the UIO side, since U740 does not have an IOMMU, I've used igb_uio, > > > uio_pci_generic and vfio-pci noiommu drivers. > > > > > > Functional verification done using meson tests. fast-tests suite passing with > > > the default config. > > > > > > PMD verification done using a Intel x520-DA2 NIC (ixgbe) and the test-pmd > > > application. Packet transfer checked using all UIO drivers available for > > > non-IOMMU platforms: uio_pci_generic, vfio-pci noiommu and igb_uio. > > > > > > The i40e PMD driver is disabled on RISC-V as the rv64gc ISA has no vector > > > operations. > > > > > > RISCV support is currently limited to Linux as the time measurement frequency > > > discovery is tied to reading a device-tree node via procfs. > > > > > > Clang compilation currently not supported due to issues with missing relocation > > > relaxation. > > > > > > Commit 1 introduces EAL and build system support for RISC-V architecture > > > as well as documentation updates. > > > Commits 2-5 add missing defines and stubs to enable RISC-V operation in > > > non-EAL parts. > > > Commit 6 adds RISC-V specific cpuflags test. > > > Commits 7-8 add RISC-V build testing to test-meson-builds.sh and github CI. > > > > Overall, the series lgtm. > > It did not get much reviews, but the porting is straightforward and > > clean enough. > > > > I'm waiting for some compilation to finish and I will merge it for 22.07-rc1. > > Welcome to RISC-V in DPDK! > > Let's work out the last details in -rc2. > Series applied, thanks. Awesome, thanks! > > > -- > David Marchand >