2018-05-03 09:30:11 +02:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation.
|
|
|
|
# Copyright(c) 2014 6WIND S.A.
|
|
|
|
# Copyright(c) Broadcom Limited.
|
|
|
|
# All rights reserved.
|
2016-06-15 14:23:01 -07:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_bnxt.a
|
|
|
|
|
2017-06-01 12:07:16 -05:00
|
|
|
EXPORT_MAP := rte_pmd_bnxt_version.map
|
|
|
|
|
2016-06-15 14:23:01 -07:00
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2017-10-12 18:04:21 +02:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
2017-10-26 12:06:08 +02:00
|
|
|
LDLIBS += -lrte_bus_pci
|
2016-06-15 14:23:01 -07:00
|
|
|
|
|
|
|
EXPORT_MAP := rte_pmd_bnxt_version.map
|
|
|
|
|
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2016-06-15 14:23:08 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_cpr.c
|
2016-06-15 14:23:01 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_ethdev.c
|
2016-06-15 14:23:09 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_filter.c
|
2018-06-28 13:15:37 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_flow.c
|
2016-06-15 14:23:02 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_hwrm.c
|
2016-06-15 14:23:07 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_ring.c
|
2016-06-15 14:23:11 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_rxq.c
|
2016-06-15 14:23:14 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_rxr.c
|
2016-06-15 14:23:12 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_stats.c
|
2016-06-15 14:23:10 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_txq.c
|
2016-06-15 14:23:13 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_txr.c
|
2016-06-15 14:23:06 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_vnic.c
|
2016-10-11 16:47:50 -05:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_irq.c
|
2018-06-28 13:15:36 -07:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_util.c
|
2017-06-01 12:07:16 -05:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += rte_pmd_bnxt.c
|
2019-05-29 17:02:23 -04:00
|
|
|
ifeq ($(CONFIG_RTE_ARCH_X86), y)
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNXT_PMD) += bnxt_rxtx_vec_sse.c
|
|
|
|
endif
|
2016-06-15 14:23:01 -07:00
|
|
|
|
|
|
|
#
|
|
|
|
# Export include files
|
|
|
|
#
|
|
|
|
SYMLINK-y-include +=
|
2017-06-01 12:07:16 -05:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_BNXT_PMD)-include := rte_pmd_bnxt.h
|
2016-06-15 14:23:01 -07:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|