[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2016-08-25 Thread Panu Matilainen
On 08/25/2016 02:01 PM, Ferruh Yigit wrote: > On 8/25/2016 5:57 AM, Keren Hochman wrote: >> Hi, >> I there a way to permanently bind a nic port when using DPDK drier with >> kernel < 3.6 ? (In this kernel VFIO driver is not supported)? >> Thanks, Keren >> > > There was a tool from Panu for this pur

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2016-08-25 Thread Ferruh Yigit
On 8/25/2016 5:57 AM, Keren Hochman wrote: > Hi, > I there a way to permanently bind a nic port when using DPDK drier with > kernel < 3.6 ? (In this kernel VFIO driver is not supported)? > Thanks, Keren > There was a tool from Panu for this purpose: http://dpdk.org/ml/archives/dev/2015-December/0

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2016-08-25 Thread Keren Hochman
Hi, I there a way to permanently bind a nic port when using DPDK drier with kernel < 3.6 ? (In this kernel VFIO driver is not supported)? Thanks, Keren

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-13 Thread Panu Matilainen
On 11/13/2015 01:48 PM, Montorsi, Francesco wrote: > Hi John, > >> -Original Message- >> From: Mcnamara, John [mailto:john.mcnamara at intel.com] >> >> The Ubuntu dpdk package for 15.10 contains system scripts with functions for >> reserving hugepages and binding interfaces on bootup: >> >>

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-13 Thread Panu Matilainen
On 11/13/2015 01:44 PM, Montorsi, Francesco wrote: > Hi Panu, > >> -Original Message- >> From: Panu Matilainen [mailto:pmatilai at redhat.com] >> I've been looking into this recently, here's what I have so far: >> http://laiskiainen.org/git/?p=driverctl.git >> > Thanks I tried the script (I

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-13 Thread Montorsi, Francesco
Hi John, > -Original Message- > From: Mcnamara, John [mailto:john.mcnamara at intel.com] > > The Ubuntu dpdk package for 15.10 contains system scripts with functions for > reserving hugepages and binding interfaces on bootup: > > > /etc/dpdk/dpdk.conf > /etc/dpdk/interfaces >

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-13 Thread Montorsi, Francesco
Hi Panu, > -Original Message- > From: Panu Matilainen [mailto:pmatilai at redhat.com] > I've been looking into this recently, here's what I have so far: > http://laiskiainen.org/git/?p=driverctl.git > Thanks I tried the script (I just had to change /bin/sh into /bin/bash on first line) a

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-13 Thread Aaron Conole
Panu Matilainen writes: > On 11/11/2015 06:28 PM, Bruce Richardson wrote: >> On Wed, Nov 11, 2015 at 04:13:01PM +, Montorsi, Francesco wrote: >>> Hi, >>> Is there a way to permanently (i.e., have the configuration automatically >>> applied after reboot) bind a NIC port to DPDK? >>> >>> In cas

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-12 Thread Panu Matilainen
On 11/11/2015 06:28 PM, Bruce Richardson wrote: > On Wed, Nov 11, 2015 at 04:13:01PM +, Montorsi, Francesco wrote: >> Hi, >> Is there a way to permanently (i.e., have the configuration automatically >> applied after reboot) bind a NIC port to DPDK? >> >> In case there's none, I'm thinking to s

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Montorsi, Francesco > Sent: Wednesday, November 11, 2015 4:13 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Permanently binding NIC ports with DPDK drivers > > Hi, > Is there a way to

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-11 Thread Montorsi, Francesco
Hi Bruce, > -Original Message- > From: Bruce Richardson [mailto:bruce.richardson at intel.com] > I'm not aware of any way to make the bindings permanent across reboots. > What you have suggested will work, but there are probably better ways to > do the same thing. I agree... let's see if

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-11 Thread Bruce Richardson
On Wed, Nov 11, 2015 at 04:13:01PM +, Montorsi, Francesco wrote: > Hi, > Is there a way to permanently (i.e., have the configuration automatically > applied 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 b

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-11 Thread Montorsi, Francesco
Hi, Is there a way to permanently (i.e., have the configuration automatically applied 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

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-11 Thread Matthew Hall
In my development environment I set up an at-boot provisioning script that does it. I recommend using scripts and not shelling out from C code. ;) On Wed, Nov 11, 2015 at 04:13:01PM +, Montorsi, Francesco wrote: > Hi, > Is there a way to permanently (i.e., have the configuration automatically

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-11 Thread Stephen Hemminger
On Wed, 11 Nov 2015 16:59:14 + "Montorsi, Francesco" wrote: > Hi Bruce, > > > -Original Message- > > From: Bruce Richardson [mailto:bruce.richardson at intel.com] > > I'm not aware of any way to make the bindings permanent across reboots. > > What you have suggested will work, but th