Message ID | 20201126141832.2277628-1-ferruh.yigit@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 4F3C8A052A; Thu, 26 Nov 2020 15:18:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D07CC940; Thu, 26 Nov 2020 15:18:43 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4C470C93A; Thu, 26 Nov 2020 15:18:39 +0100 (CET) IronPort-SDR: 1kIk6eRmxCiBhWIUVT07uu97CJjLmsJrqAZyQGTOr6v5iXPO+gBUdr6C3qU+cp4mnEnq+sTAdD eQlD4Mg0QXwg== X-IronPort-AV: E=McAfee;i="6000,8403,9816"; a="172445606" X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="172445606" 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:37 -0800 IronPort-SDR: FIggZEpSD5N+313DB1jsZM7qfxeculBgFnG8yw32LHq2tBdlRgbeDRSz+dy8JhXvccLENbhgbR VO0s9OcErmqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,372,1599548400"; d="scan'208";a="333392283" 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:36 -0800 From: Ferruh Yigit <ferruh.yigit@intel.com> To: Thomas Monjalon <thomas@monjalon.net> Cc: Ferruh Yigit <ferruh.yigit@intel.com>, dev@dpdk.org, techboard@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>, Bruce Richardson <bruce.richardson@intel.com>, conor.walsh@intel.com Date: Thu, 26 Nov 2020 14:18:26 +0000 Message-Id: <20201126141832.2277628-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/6] update dpdk-setup.sh X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
update dpdk-setup.sh
|
|
Message
Ferruh Yigit
Nov. 26, 2020, 2:18 p.m. UTC
This is an effort to update the dpdk-setup.sh script and keep it one more year until whole functionality of it is replaced. Other option is to remove it completely, please comment. v2: * Documentation updated Ferruh Yigit (6): usertools/setup: remove make based build usertools/setup: remove inserting custom kernel modules usertools/setup: remove running built applications usertools/setup: remove hugepage functions usertools/setup: fix loading vfio module usertools/setup: move removal target to 21.11 doc/guides/faq/faq.rst | 4 +- doc/guides/linux_gsg/quick_start.rst | 247 ++------------------ doc/guides/rel_notes/deprecation.rst | 2 +- usertools/dpdk-setup.sh | 332 ++------------------------- 4 files changed, 41 insertions(+), 544 deletions(-)
Comments
On Thu, Nov 26, 2020 at 3:19 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote: > > This is an effort to update the dpdk-setup.sh script and keep it one > more year until whole functionality of it is replaced. > > Other option is to remove it completely, please comment. I would simply remove this script. Binding devices can be done with either driverctl (which is available in most distributions) and dpdk-devbind.py (which a Howto already in the doc). As for permissions, what this script is doing is scary. I would prefer users don't rely on this: usertools/dpdk-setup.sh: sudo chmod a+x /dev/vfio usertools/dpdk-setup.sh: sudo chmod 0666 /dev/vfio/* OVS uses a udev rule for non root support: https://github.com/openvswitch/ovs/blob/master/rhel/usr_lib_udev_rules.d_91-vfio.rules We could describe this in the DPDK documentation.