From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id AB34311A4 for ; Fri, 16 Nov 2018 15:14:29 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Nov 2018 06:14:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,240,1539673200"; d="scan'208";a="108702844" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 16 Nov 2018 06:14:27 -0800 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.253]) by IRSMSX101.ger.corp.intel.com ([169.254.1.134]) with mapi id 14.03.0415.000; Fri, 16 Nov 2018 14:13:40 +0000 From: "Richardson, Bruce" To: "Wiles, Keith" , "Burakov, Anatoly" CC: Stephen Hemminger , dev , "Mcnamara, John" , "De Lara Guarch, Pablo" , "Hunt, David" , "Awal, Mohammad Abdul" , "thomas@monjalon.net" , "Yigit, Ferruh" Thread-Topic: [dpdk-dev] [RFC v2 1/9] usertools: add DPDK config lib python library Thread-Index: AQHUfPqNihi8d/rchUqNnwProfF3+6VRkUkAgAC5rgCAACcbAIAAAMbA Date: Fri, 16 Nov 2018 14:13:40 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0726E11E8@IRSMSX103.ger.corp.intel.com> References: <20181115164508.6c99877d@shemminger-XPS-13-9360> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2I2NTU4NjQtOTcwOS00NjhmLTllMTQtNDM5OTY0MGUyZTI3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN2FoZEJsRkFYUUNMYjQ5WjQ0bUl4K05yOE5BRzN5VDk4clFmZWZDU1RMdThrN3luTnFFcHpcL0lZMW1SenY3b1UifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 14:14:30 -0000 > -----Original Message----- > From: Wiles, Keith > Sent: Friday, November 16, 2018 2:10 PM > To: Burakov, Anatoly > Cc: Stephen Hemminger ; dev ; > Mcnamara, John ; Richardson, Bruce > ; De Lara Guarch, Pablo > ; Hunt, David ; > Awal, Mohammad Abdul ; thomas@monjalon.net= ; > Yigit, Ferruh > Subject: Re: [dpdk-dev] [RFC v2 1/9] usertools: add DPDK config lib pytho= n > library >=20 >=20 >=20 > > On Nov 16, 2018, at 5:49 AM, Burakov, Anatoly > wrote: > > > > On 16-Nov-18 12:45 AM, Stephen Hemminger wrote: > >> On Thu, 15 Nov 2018 15:47:13 +0000 > >> Anatoly Burakov 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 > >>> --- > >>> 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. > > > > Wasn't the objection that it's not available everywhere? (for the > > record, i have no horse in the race - i don't much care exactly how > > it's done) >=20 > If it works on FreeBSD and Linux then I am all for it. On windows does it > support this method too? > > Binding and unbinding is completely different on each OS. FreeBSD has no ov= erlap of scripts with Linux, so replacing some of our tools with driverctl won't = affect that OS. /Bruce