Skip to contentSkip to conversation

devtools: rename build dependency of mlx drivers

PATCH In review Thomas Monjalon 2 participants 3 messages Oct 11, 2017 – Nov 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devtools: rename build dependency of mlx drivers

The Mellanox drivers were requiring MOFED at compilation time. It is now possible to use the upstream rdma-core package. So the dependency option is renamed in the build tool.

Fixes 43e9d9794cde ("net/mlx5: support upstream rdma-core")
---
 devtools/test-build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
devtools/test-build.sh +3 -3
index c6dfaf0a8..34fba9b96 100755
@@ -39,7 +39,7 @@ default_path=$PATH
 # - DPDK_DEP_ARCHIVE
 # - DPDK_DEP_CFLAGS
 # - DPDK_DEP_LDFLAGS
-# - DPDK_DEP_MOFED (y/[n])
+# - DPDK_DEP_MLX (y/[n])
 # - DPDK_DEP_NUMA ([y]/n)
 # - DPDK_DEP_PCAP (y/[n])
 # - DPDK_DEP_SSL (y/[n])
@@ -121,7 +121,7 @@ reset_env ()
 	unset DPDK_DEP_ARCHIVE
 	unset DPDK_DEP_CFLAGS
 	unset DPDK_DEP_LDFLAGS
-	unset DPDK_DEP_MOFED
+	unset DPDK_DEP_MLX
 	unset DPDK_DEP_NUMA
 	unset DPDK_DEP_PCAP
 	unset DPDK_DEP_SSL
@@ -167,7 +167,7 @@ config () # <directory> <target> <options>
 		sed -ri             's,(BYPASS=)n,\1y,' $1/.config
 		test "$DPDK_DEP_ARCHIVE" != y || \
 		sed -ri       's,(RESOURCE_TAR=)n,\1y,' $1/.config
-		test "$DPDK_DEP_MOFED" != y || \
+		test "$DPDK_DEP_MLX" != y || \
 		sed -ri           's,(MLX._PMD=)n,\1y,' $1/.config
 		test "$DPDK_DEP_SZE" != y || \
 		sed -ri       's,(PMD_SZEDATA2=)n,\1y,' $1/.config
Signature · 1 line
2.14.1
Acked-by on v1 1/1
#1 lore raw
Quoted 44 lines · Thomas Monjalon

The Mellanox drivers were requiring MOFED at compilation time. It is now possible to use the upstream rdma-core package. So the dependency option is renamed in the build tool.

Fixes 43e9d9794cde ("net/mlx5: support upstream rdma-core")
---
 devtools/test-build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
devtools/test-build.sh +3 -3
index c6dfaf0a8..34fba9b96 100755
@@ -39,7 +39,7 @@ default_path=$PATH
 # - DPDK_DEP_ARCHIVE
 # - DPDK_DEP_CFLAGS
 # - DPDK_DEP_LDFLAGS
-# - DPDK_DEP_MOFED (y/[n])
+# - DPDK_DEP_MLX (y/[n])
 # - DPDK_DEP_NUMA ([y]/n)
 # - DPDK_DEP_PCAP (y/[n])
 # - DPDK_DEP_SSL (y/[n])
@@ -121,7 +121,7 @@ reset_env ()
 	unset DPDK_DEP_ARCHIVE
 	unset DPDK_DEP_CFLAGS
 	unset DPDK_DEP_LDFLAGS
-	unset DPDK_DEP_MOFED
+	unset DPDK_DEP_MLX
 	unset DPDK_DEP_NUMA
 	unset DPDK_DEP_PCAP
 	unset DPDK_DEP_SSL
@@ -167,7 +167,7 @@ config () # <directory> <target> <options>
 		sed -ri             's,(BYPASS=)n,\1y,' $1/.config
 		test "$DPDK_DEP_ARCHIVE" != y || \
 		sed -ri       's,(RESOURCE_TAR=)n,\1y,' $1/.config
-		test "$DPDK_DEP_MOFED" != y || \
+		test "$DPDK_DEP_MLX" != y || \
 		sed -ri           's,(MLX._PMD=)n,\1y,' $1/.config
 		test "$DPDK_DEP_SZE" != y || \
 		sed -ri       's,(PMD_SZEDATA2=)n,\1y,' $1/.config
Signature · 1 line
2.14.1
Signature · 2 lines
Nélio Laranjeiro
6WIND
author Applied
#2 lore raw

11/10/2017 16:39, Nélio Laranjeiro:

Quoted 10 lines · Thomas Monjalon
Quoted 7 lines

The Mellanox drivers were requiring MOFED at compilation time. It is now possible to use the upstream rdma-core package. So the dependency option is renamed in the build tool.

Fixes 43e9d9794cde ("net/mlx5: support upstream rdma-core")

Applied