net/bnxt: fix Tx and Rx burst for secondary process
[dpdk.git] / drivers / net / vmxnet3 / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2015 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_vmxnet3_uio.a
10
11 CFLAGS += -DALLOW_EXPERIMENTAL_API
12 CFLAGS += -O3
13 CFLAGS += $(WERROR_FLAGS)
14
15 ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
16 #
17 # CFLAGS for icc
18 #
19 CFLAGS_BASE_DRIVER  = -diag-disable 174 -diag-disable 593 -diag-disable 869
20 CFLAGS_BASE_DRIVER += -diag-disable 981 -diag-disable 2259
21
22 else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y)
23 #
24 # CFLAGS for clang
25 #
26 CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value
27 CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args
28
29 else
30 #
31 # CFLAGS for gcc
32 #
33 ifeq ($(shell test $(GCC_VERSION) -ge 44 && echo 1), 1)
34 CFLAGS     += -Wno-deprecated
35 endif
36 CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value
37 CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args
38
39 endif
40 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
41 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
42 LDLIBS += -lrte_bus_pci
43
44 VPATH += $(SRCDIR)/base
45
46 EXPORT_MAP := rte_pmd_vmxnet3_version.map
47
48 LIBABIVER := 1
49
50 #
51 # all source are stored in SRCS-y
52 #
53 SRCS-$(CONFIG_RTE_LIBRTE_VMXNET3_PMD) += vmxnet3_rxtx.c
54 SRCS-$(CONFIG_RTE_LIBRTE_VMXNET3_PMD) += vmxnet3_ethdev.c
55
56 include $(RTE_SDK)/mk/rte.lib.mk