Re: [patch net-next rfc 02/15] netdevsim: create devlink instance per netdevsim instance

2019-04-15 Thread Jiri Pirko
Mon, Apr 15, 2019 at 05:07:04PM CEST, dsah...@gmail.com wrote: >On 4/14/19 11:41 PM, Jiri Pirko wrote: >> Mon, Apr 15, 2019 at 04:24:24AM CEST, dsah...@gmail.com wrote: >>> On 4/13/19 10:20 AM, Jiri Pirko wrote: From: Jiri Pirko Currently there is one devlink instance created per ne

Re: [patch net-next rfc 02/15] netdevsim: create devlink instance per netdevsim instance

2019-04-15 Thread David Ahern
On 4/14/19 11:41 PM, Jiri Pirko wrote: > Mon, Apr 15, 2019 at 04:24:24AM CEST, dsah...@gmail.com wrote: >> On 4/13/19 10:20 AM, Jiri Pirko wrote: >>> From: Jiri Pirko >>> >>> Currently there is one devlink instance created per network namespace. >>> That is quite odd considering the fact that devl

Re: [patch net-next rfc 02/15] netdevsim: create devlink instance per netdevsim instance

2019-04-14 Thread Jiri Pirko
Mon, Apr 15, 2019 at 04:24:24AM CEST, dsah...@gmail.com wrote: >On 4/13/19 10:20 AM, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Currently there is one devlink instance created per network namespace. >> That is quite odd considering the fact that devlink instance should >> represent an ASIC. The

Re: [patch net-next rfc 02/15] netdevsim: create devlink instance per netdevsim instance

2019-04-14 Thread David Ahern
On 4/13/19 10:20 AM, Jiri Pirko wrote: > From: Jiri Pirko > > Currently there is one devlink instance created per network namespace. > That is quite odd considering the fact that devlink instance should > represent an ASIC. The following patches are going to move the devlink > instance even more

[patch net-next rfc 02/15] netdevsim: create devlink instance per netdevsim instance

2019-04-13 Thread Jiri Pirko
From: Jiri Pirko Currently there is one devlink instance created per network namespace. That is quite odd considering the fact that devlink instance should represent an ASIC. The following patches are going to move the devlink instance even more down to a bus device, but until then, have one devl