git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ring: move code in a new header file
[dpdk.git]
/
drivers
/
net
/
mlx5
/
Makefile
diff --git
a/drivers/net/mlx5/Makefile
b/drivers/net/mlx5/Makefile
index
8b8f6ea
..
a3984eb
100644
(file)
--- a/
drivers/net/mlx5/Makefile
+++ b/
drivers/net/mlx5/Makefile
@@
-39,6
+39,10
@@
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxq.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_txq.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxtx.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxq.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_txq.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxtx.c
+ifneq ($(filter y,$(CONFIG_RTE_ARCH_X86_64) \
+ $(CONFIG_RTE_ARCH_ARM64)),)
+SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxtx_vec.c
+endif
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_trigger.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_ethdev.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_mac.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_trigger.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_ethdev.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_mac.c
@@
-46,9
+50,9
@@
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxmode.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_vlan.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_stats.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rss.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_vlan.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_stats.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rss.c
-SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_fdir.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_mr.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_flow.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_mr.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_flow.c
+SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_socket.c
# Basic CFLAGS.
CFLAGS += -O3
# Basic CFLAGS.
CFLAGS += -O3
@@
-60,7
+64,10
@@
CFLAGS += -D_DEFAULT_SOURCE
CFLAGS += -D_XOPEN_SOURCE=600
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -Wno-strict-prototypes
CFLAGS += -D_XOPEN_SOURCE=600
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -Wno-strict-prototypes
-LDLIBS += -libverbs
+LDLIBS += -libverbs -lmlx5
+LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
+LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
+LDLIBS += -lrte_bus_pci
# A few warnings cannot be avoided in external headers.
CFLAGS += -Wno-error=cast-qual
# A few warnings cannot be avoided in external headers.
CFLAGS += -Wno-error=cast-qual
@@
-101,24
+108,24
@@
mlx5_autoconf.h.new: FORCE
mlx5_autoconf.h.new: $(RTE_SDK)/buildtools/auto-config-h.sh
$Q $(RM) -f -- '$@'
$Q sh -- '$<' '$@' \
mlx5_autoconf.h.new: $(RTE_SDK)/buildtools/auto-config-h.sh
$Q $(RM) -f -- '$@'
$Q sh -- '$<' '$@' \
- HAVE_
VERBS_IBV_EXP_FLOW_SPEC_ACTION_DROP
\
- infiniband/verbs
_exp
.h \
- enum IBV_
EXP_FLOW_SPEC_ACTION_DROP
\
+ HAVE_
IBV_DEVICE_VXLAN_SUPPORT
\
+ infiniband/verbs.h \
+ enum IBV_
DEVICE_VXLAN_SUPPORT
\
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
- HAVE_
VERBS_IBV_EXP_CQ_COMPRESSED_CQE
\
- infiniband/verbs
_exp
.h \
- enum IBV_
EXP_CQ_COMPRESSED_CQE
\
+ HAVE_
IBV_WQ_FLAG_RX_END_PADDING
\
+ infiniband/verbs.h \
+ enum IBV_
WQ_FLAG_RX_END_PADDING
\
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
- HAVE_
VERBS_MLX5_ETH_VLAN_INLINE_HEADER_SIZE
\
- infiniband/mlx5
_hw
.h \
- enum MLX5
_ETH_VLAN_INLINE_HEADER_SIZE
\
+ HAVE_
IBV_MLX5_MOD_MPW
\
+ infiniband/mlx5
dv
.h \
+ enum MLX5
DV_CONTEXT_FLAGS_MPW_ALLOWED
\
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
- HAVE_
VERBS_MLX5_OPCODE_TSO
\
- infiniband/mlx5
_hw
.h \
- enum MLX5
_OPCODE_TSO
\
+ HAVE_
IBV_MLX5_MOD_CQE_128B_COMP
\
+ infiniband/mlx5
dv
.h \
+ enum MLX5
DV_CONTEXT_FLAGS_CQE_128B_COMP
\
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
HAVE_ETHTOOL_LINK_MODE_25G \
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
HAVE_ETHTOOL_LINK_MODE_25G \
@@
-136,9
+143,9
@@
mlx5_autoconf.h.new: $(RTE_SDK)/buildtools/auto-config-h.sh
enum ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT \
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
enum ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT \
$(AUTOCONF_OUTPUT)
$Q sh -- '$<' '$@' \
- HAVE_
UPDATE_CQ_CI
\
- infiniband/
mlx5_hw
.h \
-
func ibv_mlx5_exp_update_cq_ci
\
+ HAVE_
IBV_DEVICE_COUNTERS_SET_SUPPORT
\
+ infiniband/
verbs
.h \
+
enum IBV_FLOW_SPEC_ACTION_COUNT
\
$(AUTOCONF_OUTPUT)
# Create mlx5_autoconf.h or update it in case it differs from the new one.
$(AUTOCONF_OUTPUT)
# Create mlx5_autoconf.h or update it in case it differs from the new one.