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 3A7134308E; Fri, 18 Aug 2023 00:08:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1825840395; Fri, 18 Aug 2023 00:08:56 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id A587840156 for ; Fri, 18 Aug 2023 00:08:54 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id D057C211F7C0; Thu, 17 Aug 2023 15:08:53 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D057C211F7C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1692310133; bh=LpxrEeDzCJHikWuPnNsR4LFKbJXkv2jxWeurpXE8WqA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MTqCbfiwWgDp7pH69Pq7deVnDJaBG9PKCKhjv0d6LgkVQ2zTA8s3mwFEk4+wCUn32 YPNbpuGGM+SotWa4HDYm777nLjm3Xz2DoyY8H9WMHp8CI6NTK2aYV6hKpTotJ9Or1q IMD9LdVPo6erQQw1Fo+Ik58yE1n/NfdXFuRCeknI= Date: Thu, 17 Aug 2023 15:08:53 -0700 From: Tyler Retzlaff To: Mykola Kostenok Cc: dev@dpdk.org, ckm@napatech.com Subject: Re: [PATCH v2 1/8] net/ntnic: initial commit which adds register defines Message-ID: <20230817220853.GA31649@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20230816132552.2483752-1-mko-plv@napatech.com> <20230817144312.3070053-1-mko-plv@napatech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230817144312.3070053-1-mko-plv@napatech.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 Thu, Aug 17, 2023 at 04:43:05PM +0200, Mykola Kostenok wrote: > From: Christian Koue Muf > > The NTNIC PMD does not rely on a kernel space Napatech driver, > thus all defines related to the register layout is part of the PMD > code, which will be added in later commits. > > Signed-off-by: Christian Koue Muf > Reviewed-by: Mykola Kostenok > --- > drivers/net/meson.build | 1 + > drivers/net/ntnic/include/fpga_model.h | 99 + > drivers/net/ntnic/meson.build | 29 + > drivers/net/ntnic/nthw/nthw_register.h | 19 + > .../supported/nthw_fpga_9563_055_024_0000.c | 4190 ++++++++++ > .../nthw/supported/nthw_fpga_instances.h | 14 + > .../nthw/supported/nthw_fpga_modules_defs.h | 166 + > .../supported/nthw_fpga_parameters_defs.h | 209 + > .../nthw/supported/nthw_fpga_registers_defs.h | 7277 +++++++++++++++++ > 9 files changed, 12004 insertions(+) > create mode 100644 drivers/net/ntnic/include/fpga_model.h > create mode 100644 drivers/net/ntnic/meson.build > create mode 100644 drivers/net/ntnic/nthw/nthw_register.h > create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_9563_055_024_0000.c > create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_instances.h > create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_modules_defs.h > create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_parameters_defs.h > create mode 100644 drivers/net/ntnic/nthw/supported/nthw_fpga_registers_defs.h > ... > diff --git a/drivers/net/ntnic/meson.build b/drivers/net/ntnic/meson.build > new file mode 100644 > index 0000000000..99569c2843 > --- /dev/null > +++ b/drivers/net/ntnic/meson.build > @@ -0,0 +1,29 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2020-2023 Napatech A/S > + > +# cflags > +cflags += [ > + '-std=c11', > +] shouldn't be needed dpdk requires c11 conformant compiler and configures it in the root project meson.build with c_std=c11