From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stephen@networkplumber.org>
Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com
 [209.85.214.196]) by dpdk.org (Postfix) with ESMTP id 05BF91D7
 for <dev@dpdk.org>; Fri, 16 Nov 2018 01:45:11 +0100 (CET)
Received: by mail-pl1-f196.google.com with SMTP id x21-v6so7554550pln.9
 for <dev@dpdk.org>; Thu, 15 Nov 2018 16:45:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=PR3PA4JL983PDzu0QT2FiVHwcTbthYAUZjxnw588kX4=;
 b=VvK7MQN0DxxHYOAv4FDqvCp07+f/uPyjx5lMVIxEmGJKc2SJmOqW4wT9GMyPqulcjX
 G5CUtzMEeC5YWvL8BSHKKNPRnPCbY9gg3Sua33ZM2nYvbaJsglZxNLFb3eJtQ0ZG8VSE
 cdx8o+dMOL3E5ZaVuaJNnvtDJfnOZU5ZH4ds7UQY0ODyzS1D0YqNO2L4aUzZQPTDRn8f
 OXDg6wW1tm0+4Pcvm2D7TZ/qL1iPBHfPrs3zw0tSIj4PI6z8ZaW0HMJOOTLZBlWe/As7
 deb5FonPFONhXYfIkUk1TBpnlu4jMewxeWgBlbGzukt+2doOnjgLDS7PzbWI4VJfRFL7
 wRUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=PR3PA4JL983PDzu0QT2FiVHwcTbthYAUZjxnw588kX4=;
 b=KXxYiBdhBCXe5aX4akwqzC9Wyr/n9WRbiTCOQUq6osZlMpc0hjyM+rcNTMABe/q1/M
 KJg5kjJLijMpKpBp9+STmdzpafgXs1b+LAeBOOMDmOxqIvGfDgsBPb+yizODvD7/et1B
 HguKizR1w+ky/YBf0odRPJvwPvrvgG0GwnhEKPl8zYXMNyMAUHC/Kwt74g5DEnMnd0ZK
 HQCtYZrch5rG3Sbs5v6ukOI0JNrwxEftiBYW7s8VG4GS09pg8i5nytxzY5wLV/Y1WVWa
 WN4n054BiafilNFUiXmg4MHIhK9JfnHXbdCPviQSa9SoGPji3wNBmEZB3VPWkn3pUQUS
 DQtA==
X-Gm-Message-State: AGRZ1gLdcDXxEdpPqpiO3krR+ksxIIvsBKj5B62InQPJC5xrUEPvbVYA
 XFNle4KiNccNkoc23JOhBq2qaA==
X-Google-Smtp-Source: AJdET5fod+UX09vLF4UQmZ0ArBUwakcOymQWb22XjIE6Q40I6lkj+qxATfGKJ7pWJy22pGPbbff+dA==
X-Received: by 2002:a17:902:854b:: with SMTP id
 d11-v6mr8661409plo.205.1542329110943; 
 Thu, 15 Nov 2018 16:45:10 -0800 (PST)
Received: from shemminger-XPS-13-9360 ([64.114.255.97])
 by smtp.gmail.com with ESMTPSA id p6sm4668606pfn.53.2018.11.15.16.45.10
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 15 Nov 2018 16:45:10 -0800 (PST)
Date: Thu, 15 Nov 2018 16:45:08 -0800
From: Stephen Hemminger <stephen@networkplumber.org>
To: Anatoly Burakov <anatoly.burakov@intel.com>
Cc: dev@dpdk.org, john.mcnamara@intel.com, bruce.richardson@intel.com,
 pablo.de.lara.guarch@intel.com, david.hunt@intel.com,
 mohammad.abdul.awal@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com
Message-ID: <20181115164508.6c99877d@shemminger-XPS-13-9360>
In-Reply-To: <f7779d62049f632780aecdc1eebeab99b97e0852.1542291869.git.anatoly.burakov@intel.com>
References: <cover.1542291869.git.anatoly.burakov@intel.com>
 <f7779d62049f632780aecdc1eebeab99b97e0852.1542291869.git.anatoly.burakov@intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [RFC v2 1/9] usertools: add DPDK config lib python
 library
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>
X-List-Received-Date: Fri, 16 Nov 2018 00:45:12 -0000

On Thu, 15 Nov 2018 15:47:13 +0000
Anatoly Burakov <anatoly.burakov@intel.com> wrote:

> This is a placeholder for Python library abstracting away many of
> mundane details DPDK configuration scripts have to deal with. We
> need __init__.py file to make the subdirectory a package so that
> Python scripts in usertools/ can find their dependencies.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> ---
>  usertools/DPDKConfigLib/__init__.py | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  create mode 100644 usertools/DPDKConfigLib/__init__.py
> 
> diff --git a/usertools/DPDKConfigLib/__init__.py b/usertools/DPDKConfigLib/__init__.py
> new file mode 100644
> index 000000000..e69de29bb

Doing this a better than current code, but can we go farther?

I would like DPDK to get out of doing binds directly and switch to using driverctl
which also handles persistent rebind on reboot.