This patch enables the NXP DPAA & DPAA2 drivers for ARMV8 targets. They can be used with standard armv8 config with command line mempool argument or newly introduced platform mempool internal registration mechanism. Note that the dpaa(x) specific config files are still preserved to continue customer support. They also contain some of the ARM performance tuning flags. e.g the default ARM cache size of 128 is not optimal for NXP platforms. However, these configs will eventually be removed once a dynamic mechanisms are developed to detect the performance settings. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
|
|
# Copyright 2016 NXP
|
|
#
|
|
|
|
#include "defconfig_arm64-armv8a-linuxapp-gcc"
|
|
|
|
# NXP (Freescale) - Soc Architecture with WRIOP and QBMAN support
|
|
CONFIG_RTE_MACHINE="dpaa2"
|
|
CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72"
|
|
|
|
#
|
|
# Compile Environment Abstraction Layer
|
|
#
|
|
CONFIG_RTE_MAX_LCORE=16
|
|
CONFIG_RTE_MAX_NUMA_NODES=1
|
|
CONFIG_RTE_CACHE_LINE_SIZE=64
|
|
|
|
CONFIG_RTE_PKTMBUF_HEADROOM=256
|
|
|
|
# Doesn't support NUMA
|
|
CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
|
|
CONFIG_RTE_LIBRTE_VHOST_NUMA=n
|
|
|
|
#
|
|
# Compile Support Libraries for DPAA2
|
|
#
|
|
CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=n
|
|
|
|
#
|
|
# Compile burst-oriented NXP DPAA2 PMD driver
|
|
#
|
|
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_INIT=n
|
|
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
|
|
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_RX=n
|
|
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_TX=n
|
|
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_TX_FREE=n
|
|
|
|
#
|
|
# Compile NXP DPAA2 crypto sec driver for CAAM HW
|
|
#
|
|
CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_INIT=n
|
|
CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_DRIVER=n
|
|
CONFIG_RTE_LIBRTE_DPAA2_SEC_DEBUG_RX=n
|