From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id BB1AA4C88 for ; Tue, 14 Aug 2018 12:11:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 03:11:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,237,1531810800"; d="scan'208";a="83231992" Received: from miacopin-mobl1.ger.corp.intel.com (HELO [10.252.22.171]) ([10.252.22.171]) by orsmga002.jf.intel.com with ESMTP; 14 Aug 2018 03:11:49 -0700 To: dev@dpdk.org Cc: john.mcnamara@intel.com, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com, david.hunt@intel.com, mohammad.abdul.awal@intel.com References: From: "Burakov, Anatoly" Message-ID: Date: Tue, 14 Aug 2018 11:11:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 0/9] Modularize and enhance DPDK Python scripts 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: , X-List-Received-Date: Tue, 14 Aug 2018 10:11:55 -0000 On 25-Jun-18 4:59 PM, Anatoly Burakov wrote: > This patchset attempts to create a library out of Python scripts that > come with DPDK, with a goal of enabling external tools to get the same > information about the system DPDK has, and perhaps configure DPDK. > > Potential applications include: > > * Better setup.sh script (it's long overdue, and you know it!) > * Easier development of better tools for developers (see hugepage-info > example) > * Easier gathering of DPDK-centric system information, has potential > applications in troubleshooting tools > * Reduce code duplication for external tools seeking to use the same > functionality (bind-unbind, cpu layout, etc) > * Add cross-platform support for our scripts (see cpu-layout example > now working on FreeBSD) > > There are a few things to mention. First of all, it's an RFC, so the > fact that it's unfinished and maybe awkward comes with the territory. > I am also aware of the fact that it's a Python library, that it's > outside the scope of DPDK and that it's somewhat a Not-Invented-Here > kind of proposition where there are a lot of externally available > (and arguably much better designed and implemented) tools that do the > same thing. > > So the first question i would like to ask is, is the community at all > interested in something like this? Does it have to be part of DPDK > repository? Can it be maintained in a separate repository? How do we > handle updates and dependencies? > > I should also mention that it is *not* intended to be a replacement > for udev or any other method of device binding - if anything, it's > the opposite, in that it takes the whole issue out of the question > and thus would make switching to udev or any other device binding > easier since both internal and external tools can utilize the same > Python API. > I would like to draw attention to this RFC again :) -- Thanks, Anatoly