Re: [patch net-next v2 11/15] netdevsim: implement proper devlink reload

2019-10-02 Thread Jiri Pirko
Thu, Oct 03, 2019 at 02:38:12AM CEST, jakub.kicin...@netronome.com wrote: >On Wed, 2 Oct 2019 18:12:27 +0200, Jiri Pirko wrote: >> From: Jiri Pirko >> >> During devlink reload, all driver objects should be reinstantiated with >> the exception of devlink instance and devlink resources and params.

Re: [patch net-next v2 11/15] netdevsim: implement proper devlink reload

2019-10-02 Thread Jakub Kicinski
On Wed, 2 Oct 2019 18:12:27 +0200, Jiri Pirko wrote: > From: Jiri Pirko > > During devlink reload, all driver objects should be reinstantiated with > the exception of devlink instance and devlink resources and params. > Move existing devlink_resource_size_get() calls into fib_create() just > bef

[patch net-next v2 11/15] netdevsim: implement proper devlink reload

2019-10-02 Thread Jiri Pirko
From: Jiri Pirko During devlink reload, all driver objects should be reinstantiated with the exception of devlink instance and devlink resources and params. Move existing devlink_resource_size_get() calls into fib_create() just before fib notifier is registered. Also, make sure that extack is pro