371d3212cb
Add the make and meson based build infrastructure along with HW definition header file. This patch adds skeleton otx2_mbox.c file to make sure all header files are intact, subsequent patches add content to otx2_mbox.c This patch also updates CONFIG_RTE_MAX_VFIO_GROUPS value to 128 as the system can have up to 128 PFs/VFs. For octeontx2 meson build target, CONFIG_RTE_MAX_VFIO_GROUPS defined as 128 so no additional changes required. Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
22 lines
482 B
Plaintext
22 lines
482 B
Plaintext
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Marvell International Ltd
|
|
#
|
|
|
|
#include "defconfig_arm64-armv8a-linux-gcc"
|
|
|
|
CONFIG_RTE_MACHINE="octeontx2"
|
|
|
|
CONFIG_RTE_CACHE_LINE_SIZE=128
|
|
CONFIG_RTE_MAX_NUMA_NODES=1
|
|
CONFIG_RTE_MAX_LCORE=24
|
|
|
|
# Doesn't support NUMA
|
|
CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
|
|
CONFIG_RTE_LIBRTE_VHOST_NUMA=n
|
|
|
|
# Recommend to use VFIO as co-processors needs SMMU/IOMMU
|
|
CONFIG_RTE_EAL_IGB_UIO=n
|
|
|
|
# Max supported NIX LFs
|
|
CONFIG_RTE_MAX_VFIO_GROUPS=128
|