Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-22 Thread Matan Azrad
Hi Konstantin From: Ananyev, Konstantin, Tuesday, April 17, 2018 2:00 PM > Hi Matan, > > Hi Konstantin > > From: Ananyev, Konstantin, Tuesday, April 17, 2018 12:23 PM > > > > Actually you say that the whitelist\blacklist mechanism is not > > > > good enough > > > and the binding workarounds it. >

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-19 Thread Thomas Monjalon
19/04/2018 10:40, Bruce Richardson: > On Thu, Apr 19, 2018 at 10:24:24AM +0200, Thomas Monjalon wrote: > > 19/04/2018 08:04, Alejandro Lucero: > > > I do not completely understand the discussion, but I think the > > > disagreement is due to how some devices interact with DPDK, at least > > > Mellan

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-19 Thread Bruce Richardson
On Thu, Apr 19, 2018 at 10:24:24AM +0200, Thomas Monjalon wrote: > 19/04/2018 08:04, Alejandro Lucero: > > I do not completely understand the discussion, but I think the > > disagreement is due to how some devices interact with DPDK, at least > > Mellanox ones. I'm saying that because we have a DPD

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-19 Thread Thomas Monjalon
19/04/2018 08:04, Alejandro Lucero: > I do not completely understand the discussion, but I think the disagreement > is due to how some devices interact with DPDK, at least Mellanox ones. I'm > saying that because we have a DPDK app which starts with no device at all > (--no-pci) and it relies on de

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-18 Thread Alejandro Lucero
I do not completely understand the discussion, but I think the disagreement is due to how some devices interact with DPDK, at least Mellanox ones. I'm saying that because we have a DPDK app which starts with no device at all (--no-pci) and it relies on device plugging attach/detach for configuring

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-18 Thread Flavio Leitner
On Wed, Apr 18, 2018 at 11:17:47AM -0700, Stephen Hemminger wrote: > On Wed, 18 Apr 2018 11:11:01 -0300 > Flavio Leitner wrote: > > > On Sun, Apr 15, 2018 at 01:48:36AM +, Stephen Hemminger wrote: > > > My vote is to work with udev and not try to replace it. > > > > > > Driverctl works well.

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-18 Thread Stephen Hemminger
On Wed, 18 Apr 2018 11:11:01 -0300 Flavio Leitner wrote: > On Sun, Apr 15, 2018 at 01:48:36AM +, Stephen Hemminger wrote: > > My vote is to work with udev and not try to replace it. > > > > Driverctl works well. Just not for bifurcated driver > > I second that. We also have other system

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-18 Thread Flavio Leitner
On Sun, Apr 15, 2018 at 01:48:36AM +, Stephen Hemminger wrote: > My vote is to work with udev and not try to replace it. > > Driverctl works well. Just not for bifurcated driver I second that. We also have other system configs to care about like kernel parameters and hugepage configuration w

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-17 Thread Ananyev, Konstantin
Hi Matan, > > > Hi Konstantin > > From: Ananyev, Konstantin, Tuesday, April 17, 2018 12:23 PM > > To: Matan Azrad ; Richardson, Bruce > > > > Cc: Burakov, Anatoly ; Thomas Monjalon > > ; dev@dpdk.org; pmati...@redhat.com; > > david.march...@6wind.com; Guo, Jia ; > > step...@networkplumber.org;

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-17 Thread Matan Azrad
Hi Konstantin From: Ananyev, Konstantin, Tuesday, April 17, 2018 12:23 PM > To: Matan Azrad ; Richardson, Bruce > > Cc: Burakov, Anatoly ; Thomas Monjalon > ; dev@dpdk.org; pmati...@redhat.com; > david.march...@6wind.com; Guo, Jia ; > step...@networkplumber.org; f...@redhat.com > Subject: RE: ke

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-17 Thread Ananyev, Konstantin
Hi everyone, Few comments from me below. In summary I am also in favor to keep binding decision at system level (outside DPDK). Konstantin > -Original Message- > From: Matan Azrad [mailto:ma...@mellanox.com] > Sent: Monday, April 16, 2018 5:11 PM > To: Richardson, Bruce > Cc: Burakov, A

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Thomas Monjalon
16/04/2018 18:57, Stephen Hemminger: > Buried under this discussion is the fact that the Mellanox bifurcated driver > behaves completely differently from every other driver. This makes coming to > a common solution much harder. The bifurcated model has advantages and > disadvantages, > in this cas

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger, Monday, April 16, 2018 8:19 PM > On Mon, 16 Apr 2018 17:10:09 + > Matan Azrad wrote: > > > Hi Stephen > > > > From: Stephen Hemminger, Monday, April 16, 2018 7:57 PM > > > On Mon, 16 Apr 2018 16:11:12 + > > > Matan Azrad wrote: > > > > > > > > If the

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Stephen Hemminger
On Mon, 16 Apr 2018 17:10:09 + Matan Azrad wrote: > Hi Stephen > > From: Stephen Hemminger, Monday, April 16, 2018 7:57 PM > > On Mon, 16 Apr 2018 16:11:12 + > > Matan Azrad wrote: > > > > > > If the device management is only managed in one place, i.e. not in > > > > DPDK, then there

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger, Monday, April 16, 2018 7:57 PM > On Mon, 16 Apr 2018 16:11:12 + > Matan Azrad wrote: > > > > If the device management is only managed in one place, i.e. not in > > > DPDK, then there is no conflict to manage. > > > > I can't agree with this statement, > >

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Stephen Hemminger
On Mon, 16 Apr 2018 16:11:12 + Matan Azrad wrote: > > If the device management is only managed in one place, i.e. not in DPDK, > > then there is no conflict to manage. > > I can't agree with this statement, > The essence of DPDK is to give a good alternative to managing network devices, >

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Matan Azrad
Hi Bruce From: Bruce Richardson, Monday, April 16, 2018 11:32 AM > On Sat, Apr 14, 2018 at 08:10:28PM +, Matan Azrad wrote: > > Hi all > > > > From: Burakov, Anatoly, Friday, April 13, 2018 8:41 PM > > > To: Bruce Richardson ; Thomas Monjalon > > > > > > Cc: dev@dpdk.org; pmati...@redhat.com;

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Matan Azrad
Hi Guo From: Guo, Jia, Monday, April 16, 2018 12:26 PM > To: Matan Azrad ; Burakov, Anatoly > ; Bruce Richardson > ; Thomas Monjalon > Cc: dev@dpdk.org; pmati...@redhat.com; david.march...@6wind.com; > konstantin.anan...@intel.com; step...@networkplumber.org; > f...@redhat.com > Subject: Re: kern

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Guo, Jia
hi, all On 4/15/2018 4:10 AM, Matan Azrad wrote: Hi all From: Burakov, Anatoly, Friday, April 13, 2018 8:41 PM To: Bruce Richardson ; Thomas Monjalon Cc: dev@dpdk.org; pmati...@redhat.com; david.march...@6wind.com; jia@intel.com; Matan Azrad ; konstantin.anan...@intel.com; step...@networ

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-16 Thread Bruce Richardson
On Sat, Apr 14, 2018 at 08:10:28PM +, Matan Azrad wrote: > Hi all > > From: Burakov, Anatoly, Friday, April 13, 2018 8:41 PM > > To: Bruce Richardson ; Thomas Monjalon > > > > Cc: dev@dpdk.org; pmati...@redhat.com; david.march...@6wind.com; > > jia@intel.com; Matan Azrad ; > > konstantin.

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-14 Thread Wiles, Keith
On Apr 13, 2018, at 11:40 AM, Bruce Richardson mailto:bruce.richard...@intel.com>> wrote: On Fri, Apr 13, 2018 at 06:31:21PM +0200, Thomas Monjalon wrote: It's time to think (again) how we bind devices with kernel modules. We need to decide how we want to manage hotplugged devices with DPDK. A

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-14 Thread Stephen Hemminger
My vote is to work with udev and not try to replace it. Driverctl works well. Just not for bifurcated driver On Fri, Apr 13, 2018, 9:31 AM Thomas Monjalon wrote: > It's time to think (again) how we bind devices with kernel modules. > We need to decide how we want to manage hotplugged devices wi

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-14 Thread Matan Azrad
Hi all From: Burakov, Anatoly, Friday, April 13, 2018 8:41 PM > To: Bruce Richardson ; Thomas Monjalon > > Cc: dev@dpdk.org; pmati...@redhat.com; david.march...@6wind.com; > jia@intel.com; Matan Azrad ; > konstantin.anan...@intel.com; step...@networkplumber.org; > f...@redhat.com > Subject: R

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-13 Thread Burakov, Anatoly
On 13-Apr-18 5:40 PM, Bruce Richardson wrote: On Fri, Apr 13, 2018 at 06:31:21PM +0200, Thomas Monjalon wrote: It's time to think (again) how we bind devices with kernel modules. We need to decide how we want to manage hotplugged devices with DPDK. A bit of history first. There was some code in

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-13 Thread Bruce Richardson
On Fri, Apr 13, 2018 at 06:31:21PM +0200, Thomas Monjalon wrote: > It's time to think (again) how we bind devices with kernel modules. > We need to decide how we want to manage hotplugged devices with DPDK. > > A bit of history first. > There was some code in DPDK for bind/unbind, but it has been

[dpdk-dev] kernel binding of devices + hotplug

2018-04-13 Thread Thomas Monjalon
It's time to think (again) how we bind devices with kernel modules. We need to decide how we want to manage hotplugged devices with DPDK. A bit of history first. There was some code in DPDK for bind/unbind, but it has been removed in DPDK 1.7 - http://dpdk.org/commit/5d8751b83 Copy of the commit m