From patchwork Thu Nov 26 14:18:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ferruh Yigit X-Patchwork-Id: 84583 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E8E4A052A; Thu, 26 Nov 2020 15:20:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 07686C9D2; Thu, 26 Nov 2020 15:19:00 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 26BEAC98C; Thu, 26 Nov 2020 15:18:56 +0100 (CET) IronPort-SDR: e2tcubORuGOAV6XSEzbSq5EdwrcZQ2EOQ/SsOo3vcgk8rgOJCXiXpLgKm7uoHuf8+gygdGs8hR BUj1lfIgZNrg== X-IronPort-AV: E=McAfee;i="6000,8403,9816"; a="172445635" X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="172445635" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 06:18:55 -0800 IronPort-SDR: 8di5XglxyH03Jpz8hSQ48NvwOS+qgyD1bzvfujBYZZ3udUF+kVGmZ9vX6c95wYPv4F6hS0SVaY XNy0B294Edrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="333392356" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.180]) by orsmga006.jf.intel.com with ESMTP; 26 Nov 2020 06:18:53 -0800 From: Ferruh Yigit To: Thomas Monjalon , Ray Kinsella , Neil Horman Cc: Ferruh Yigit , dev@dpdk.org, techboard@dpdk.org, Stephen Hemminger , Bruce Richardson , conor.walsh@intel.com Date: Thu, 26 Nov 2020 14:18:32 +0000 Message-Id: <20201126141832.2277628-7-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201126141832.2277628-1-ferruh.yigit@intel.com> References: <20201126141832.2277628-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 6/6] usertools/setup: move removal target to 21.11 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" There are still some functions in the script that not replaced completely, give more time to complete removal of the tool. A warning added to script documentation about the removal plan. Current functionality supported by the script is: ---------------------------------------------------------- Step 1: Setup linux environment ---------------------------------------------------------- [1] Insert VFIO module [2] Display current Ethernet/Baseband/Crypto device settings [3] Bind Ethernet/Baseband/Crypto device to IGB UIO module [4] Bind Ethernet/Baseband/Crypto device to VFIO module [5] Setup VFIO permissions ---------------------------------------------------------- Step 2: Uninstall and system cleanup ---------------------------------------------------------- [6] Unbind devices from IGB UIO or VFIO driver [7] Remove IGB UIO module [8] Remove VFIO module [9] Remove KNI module [10] Exit Script Signed-off-by: Ferruh Yigit Tested-by: Conor Walsh --- doc/guides/linux_gsg/quick_start.rst | 4 ++++ doc/guides/rel_notes/deprecation.rst | 2 +- usertools/dpdk-setup.sh | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/guides/linux_gsg/quick_start.rst b/doc/guides/linux_gsg/quick_start.rst index 630def36a173..ba2decd4b1b5 100644 --- a/doc/guides/linux_gsg/quick_start.rst +++ b/doc/guides/linux_gsg/quick_start.rst @@ -6,6 +6,10 @@ Quick Start Setup Script ======================== +.. warning:: + + The dpdk-setup.sh script is deprecated and will be removed in v21.11 release. + The dpdk-setup.sh script, found in the usertools subdirectory, allows the user to perform the following tasks: * Insert and remove VFIO kernel modules diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 96986fabd598..6ad3dafe1bd3 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -103,5 +103,5 @@ Deprecation Notices * dpdk-setup.sh: This old script relies on deprecated stuff, and especially ``make``. Given environments are too much variables for such a simple script, - it will be removed in DPDK 20.11. + it will be removed in DPDK 21.11. Some useful parts may be converted into specific scripts. diff --git a/usertools/dpdk-setup.sh b/usertools/dpdk-setup.sh index e8667e094a53..9f24e28c03fd 100755 --- a/usertools/dpdk-setup.sh +++ b/usertools/dpdk-setup.sh @@ -289,7 +289,7 @@ while [ "$QUIT" == "0" ]; do OPTIONS[$OPTION_NUM]="quit" echo "" echo '--------------------------------------------------' - echo 'WARNING: This tool will be removed from DPDK 20.11' + echo 'WARNING: This tool will be removed from DPDK 21.11' echo '--------------------------------------------------' echo echo -n "Option: "