e1defba4cf
In PAC N3000 card, this is a BMC chip which using MAX10 FPGA to manage the board configuration, like sensors, flash controller, QSFP, powers. And this is a SPI bus connected between A10 FPGA and MAX10, we can access the MAX10 registers over this SPI bus. In BMC, there are about 19 sensors in MAX10 chip, including the FPGA core temperature, Board temperature, board current, voltage and so on. We use DTB (Device tree table) to describe it. This DTB file is store in nor flash partition, which will flashed in Factory when the boards delivery to customers. And the same time, the customers can easy to customize the BMC configuration like change the sensors. Add device tree support by using libfdt library in Linux distribution. The end-user should pre-install the libfdt and libfdt-devel package before use DPDK on PAC N3000 Card. For Centos 7.x: sudo yum install libfdt libfdt-devel For Ubuntu 18.04: sudo apt install libfdt-dev libfdt1 To eliminate build error, we currently do not compile raw/ifpga and net/ipn3ke. User should install libfdt and libfdt-devel first, modify config/common_linux, CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=n to CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=y, modify config/common_base, CONFIG_RTE_LIBRTE_IPN3KE_PMD=n to CONFIG_RTE_LIBRTE_IPN3KE_PMD=y. Then this function can work. Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com> Signed-off-by: Andy Pei <andy.pei@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
77 lines
1.7 KiB
Plaintext
77 lines
1.7 KiB
Plaintext
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2010-2016 Intel Corporation
|
|
|
|
#include "common_base"
|
|
|
|
CONFIG_RTE_EXEC_ENV="linuxapp"
|
|
CONFIG_RTE_EXEC_ENV_LINUX=y
|
|
CONFIG_RTE_EXEC_ENV_LINUXAPP=y
|
|
|
|
CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=y
|
|
CONFIG_RTE_EAL_IGB_UIO=y
|
|
CONFIG_RTE_EAL_VFIO=y
|
|
CONFIG_RTE_KNI_KMOD=y
|
|
CONFIG_RTE_LIBRTE_KNI=y
|
|
CONFIG_RTE_LIBRTE_PMD_KN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|
CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=y
|
|
CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV=y
|
|
CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV=y
|
|
|
|
#
|
|
# NXP ENETC PMD Driver
|
|
#
|
|
CONFIG_RTE_LIBRTE_ENETC_PMD=y
|
|
|
|
#
|
|
# HINIC PMD driver
|
|
#
|
|
CONFIG_RTE_LIBRTE_HINIC_PMD=y
|
|
|
|
#
|
|
# Hisilicon HNS3 PMD driver
|
|
#
|
|
CONFIG_RTE_LIBRTE_HNS3_PMD=y
|
|
|
|
#
|
|
# Compile PMD for Intel FPGA raw device
|
|
# To compile, CONFIG_RTE_EAL_VFIO should be enabled.
|
|
#
|
|
CONFIG_RTE_LIBRTE_PMD_IFPGA_RAWDEV=n
|