net/virtio: allocate vrings on device NUMA node
[dpdk.git] / drivers / net / mlx4 / Makefile
index ac5b67f..92e9322 100644 (file)
@@ -69,10 +69,6 @@ else
 CFLAGS += -DNDEBUG -UPEDANTIC
 endif
 
-ifdef CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE
-CFLAGS += -DMLX4_PMD_TX_MP_CACHE=$(CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE)
-endif
-
 include $(RTE_SDK)/mk/rte.lib.mk
 
 # Generate and clean-up mlx4_autoconf.h.
@@ -89,6 +85,11 @@ mlx4_autoconf.h.new: FORCE
 mlx4_autoconf.h.new: $(RTE_SDK)/buildtools/auto-config-h.sh
        $Q $(RM) -f -- '$@'
        $Q : > '$@'
+       $Q sh -- '$<' '$@' \
+               HAVE_IBV_MLX4_WQE_LSO_SEG \
+               infiniband/mlx4dv.h \
+               type 'struct mlx4_wqe_lso_seg' \
+               $(AUTOCONF_OUTPUT)
 
 # Create mlx4_autoconf.h or update it in case it differs from the new one.
 
@@ -114,7 +115,7 @@ endif
 $(LIB_GLUE): mlx4_glue.o
        $Q $(LD) $(GLUE_LDFLAGS) $(EXTRA_LDFLAGS) \
                -Wl,-h,$(LIB_GLUE) \
-               -s -shared -o $@ $< -libverbs -lmlx4
+               -shared -o $@ $< -libverbs -lmlx4
 
 mlx4_glue.o: mlx4_autoconf.h