[PATCH v2 1/8] net/ntnic: initial commit which adds register defines
Tyler Retzlaff
roretzla at linux.microsoft.com
Fri Aug 18 00:08:53 CEST 2023
On Thu, Aug 17, 2023 at 04:43:05PM +0200, Mykola Kostenok wrote:
> From: Christian Koue Muf <ckm at napatech.com>
>
> 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 <ckm at napatech.com>
> Reviewed-by: Mykola Kostenok <mko-plv at napatech.com>
> ---
> 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
More information about the dev
mailing list