1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2019 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_ipn3ke.a
12 # Add the experimenatal APIs called from this PMD
13 # rte_eth_switch_domain_alloc()
14 # rte_eth_dev_create()
15 # rte_eth_dev_destroy()
16 # rte_eth_switch_domain_free()
18 CFLAGS += -DALLOW_EXPERIMENTAL_API
20 CFLAGS += $(WERROR_FLAGS)
21 CFLAGS += -I$(RTE_SDK)/drivers/bus/ifpga
22 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
23 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
24 LDLIBS += -lrte_bus_ifpga
25 LDLIBS += -lrte_bus_vdev
28 EXPORT_MAP := rte_pmd_ipn3ke_version.map
33 # all source are stored in SRCS-y
35 SRCS-$(CONFIG_RTE_LIBRTE_IPN3KE_PMD) += ipn3ke_ethdev.c
36 SRCS-$(CONFIG_RTE_LIBRTE_IPN3KE_PMD) += ipn3ke_representor.c
37 SRCS-$(CONFIG_RTE_LIBRTE_IPN3KE_PMD) += ipn3ke_tm.c
38 SRCS-$(CONFIG_RTE_LIBRTE_IPN3KE_PMD) += ipn3ke_flow.c
40 include $(RTE_SDK)/mk/rte.lib.mk