[dpdk-dev] [PATCH] usertools: warn about future removal of setup script

Thomas Monjalon thomas at monjalon.net
Thu Aug 6 19:13:03 CEST 2020


As agreed in the deprecation notice, the "generic" script
to setup the Linux environment will be removed in DPDK 20.11.
Some specific parts may be converted into dedicated scripts.

In the meantime, a warning will be printed to users of this script.

Suggested-by: Stephen Hemminger <stephen at networkplumber.org>
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 usertools/dpdk-setup.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/usertools/dpdk-setup.sh b/usertools/dpdk-setup.sh
index e5bbe9feec..411bf2e07f 100755
--- a/usertools/dpdk-setup.sh
+++ b/usertools/dpdk-setup.sh
@@ -592,6 +592,10 @@ while [ "$QUIT" == "0" ]; do
 	echo "[$OPTION_NUM] Exit Script"
 	OPTIONS[$OPTION_NUM]="quit"
 	echo ""
+	echo '--------------------------------------------------'
+	echo 'WARNING: This tool will be removed from DPDK 20.11'
+	echo '--------------------------------------------------'
+	echo
 	echo -n "Option: "
 	read our_entry
 	echo ""
-- 
2.27.0



More information about the dev mailing list