e56463ec47
dpaaX is used to maintain a local copy of PA->VA translations. Using the rte_mem_virt2iova or rte_mem_virt2phy is expensive. This library is an attempt to reduce the overall cost associated with this translation. This patch enables this dpaaX library by populating a dpaaX's table for PA to VA translation. This change will also help the caam JR driver in PA to VA translation when used with enetc driver over enetc supported SoCs. Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
26 lines
554 B
Makefile
26 lines
554 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2018 NXP
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
#
|
|
# library name
|
|
#
|
|
LIB = librte_pmd_enetc.a
|
|
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
|
|
EXPORT_MAP := rte_pmd_enetc_version.map
|
|
LIBABIVER := 1
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_ethdev.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_rxtx.c
|
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
|
|
LDLIBS += -lrte_ethdev -lrte_net
|
|
LDLIBS += -lrte_bus_pci
|
|
LDLIBS += -lrte_common_dpaax
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|