From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <fmontorsi@empirix.com> Received: from bilemail2.empirix.com (bilemail2.empirix.com [208.67.76.246]) by dpdk.org (Postfix) with ESMTP id BA5519252 for <dev@dpdk.org>; Fri, 13 Nov 2015 12:48:03 +0100 (CET) Received: from BILEMAIL1.empirix.com (10.17.8.30) by bilemail2.empirix.com (10.17.8.31) with Microsoft SMTP Server (TLS) id 15.0.775.38; Fri, 13 Nov 2015 06:48:02 -0500 Received: from BILEMAIL1.empirix.com ([fe80::f9e0:9293:2523:f021]) by bilemail1.empirix.com ([fe80::f9e0:9293:2523:f021%22]) with mapi id 15.00.0775.031; Fri, 13 Nov 2015 06:48:02 -0500 From: "Montorsi, Francesco" <fmontorsi@empirix.com> To: "Mcnamara, John" <john.mcnamara@intel.com>, "dev@dpdk.org" <dev@dpdk.org> Thread-Topic: Permanently binding NIC ports with DPDK drivers Thread-Index: AdEcmnJxLGPWdmnvTNenUPFDugaaaAAQ+kKAAEqm0rA= Date: Fri, 13 Nov 2015 11:48:02 +0000 Message-ID: <df2bc7ade5ab4e49a352dd23f8b559e3@bilemail1.empirix.com> References: <964049bfb9054699a2e4520c6758a7ee@bilemail1.empirix.com> <B27915DBBA3421428155699D51E4CFE2023B90B2@IRSMSX103.ger.corp.intel.com> In-Reply-To: <B27915DBBA3421428155699D51E4CFE2023B90B2@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.50.63] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Permanently binding NIC ports with DPDK drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Fri, 13 Nov 2015 11:48:04 -0000 Hi John, > -----Original Message----- > From: Mcnamara, John [mailto:john.mcnamara@intel.com] >=20 > The Ubuntu dpdk package for 15.10 contains system scripts with functions = for > reserving hugepages and binding interfaces on bootup: >=20 >=20 > /etc/dpdk/dpdk.conf > /etc/dpdk/interfaces > /etc/init.d/dpdk > /lib/dpdk/dpdk-init > /lib/systemd/system/dpdk.service > /sbin/dpdk_nic_bind > /usr/bin/testpmd > /usr/share/doc/dpdk/README.Debian > /usr/share/doc/dpdk/changelog.Debian.gz > /usr/share/doc/dpdk/copyright > /usr/share/dpdk/tools/cpu_layout.py > /usr/share/dpdk/tools/dpdk_nic_bind.py > /usr/share/dpdk/tools/setup.sh > /usr/share/python/runtime.d/dpdk.rtupdate >=20 > http://packages.ubuntu.com/wily/amd64/dpdk/filelist >=20 > If you have the latest version of Ubuntu you can check that out or else > download and extract the files from the .deb to see how they do it. >=20 This certainly looks very useful. I inspected the package and the files you= mentioned and indeed it looks like a good way to go, specially if Ubuntu d= istribution is moving in that direction (hopefully other distros will follo= w too). Thanks a lot! Francesco