From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9CD598D96 for ; Thu, 12 Nov 2015 01:14:34 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 11 Nov 2015 16:14:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,278,1444719600"; d="scan'208";a="683343331" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga003.jf.intel.com with ESMTP; 11 Nov 2015 16:14:31 -0800 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX153.ger.corp.intel.com (163.33.192.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 12 Nov 2015 00:14:30 +0000 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.13]) by IRSMSX156.ger.corp.intel.com ([169.254.3.187]) with mapi id 14.03.0248.002; Thu, 12 Nov 2015 00:14:30 +0000 From: "Mcnamara, John" To: "Montorsi, Francesco" , "dev@dpdk.org" Thread-Topic: Permanently binding NIC ports with DPDK drivers Thread-Index: AdEcmnJxLGPWdmnvTNenUPFDugaaaAAQ+kKA Date: Thu, 12 Nov 2015 00:14:29 +0000 Message-ID: References: <964049bfb9054699a2e4520c6758a7ee@bilemail1.empirix.com> In-Reply-To: <964049bfb9054699a2e4520c6758a7ee@bilemail1.empirix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 00:14:35 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Montorsi, Francesco > Sent: Wednesday, November 11, 2015 4:13 PM > To: dev@dpdk.org > Subject: [dpdk-dev] Permanently binding NIC ports with DPDK drivers >=20 > Hi, > Is there a way to permanently (i.e., have the configuration automatically > applied after reboot) bind a NIC port to DPDK? Hi, The Ubuntu dpdk package for 15.10 contains system scripts with functions fo= r reserving hugepages and binding interfaces on bootup: /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 http://packages.ubuntu.com/wily/amd64/dpdk/filelist If you have the latest version of Ubuntu you can check that out or else dow= nload and extract the files from the .deb to see how they do it. John. --=20