From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bilemail2.empirix.com (bilemail2.empirix.com [208.67.76.246]) by dpdk.org (Postfix) with ESMTP id 1B22FA2F for ; Wed, 11 Nov 2015 17:13:10 +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; Wed, 11 Nov 2015 11:13:01 -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; Wed, 11 Nov 2015 11:13:01 -0500 From: "Montorsi, Francesco" To: "dev@dpdk.org" Thread-Topic: Permanently binding NIC ports with DPDK drivers Thread-Index: AdEcmnJxLGPWdmnvTNenUPFDugaaaA== Date: Wed, 11 Nov 2015 16:13:01 +0000 Message-ID: <964049bfb9054699a2e4520c6758a7ee@bilemail1.empirix.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: [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: Wed, 11 Nov 2015 16:13:10 -0000 Hi, Is there a way to permanently (i.e., have the configuration automatically a= pplied after reboot) bind a NIC port to DPDK? In case there's none, I'm thinking to save in my software a list of the NIC= ports chosen by the user for use with DPDK and then, upon software startup= to just do for (int i=3D0; i < ...; i++) system("dpdk_nic_bind.py --bind=3Digb_uio " + PCI_device_chosen[i]); Do you see any problem with that?=20 Thanks! Francesco Montorsi