Re: [PATCH net-next 09/11] devlink: convert occ_get op to separate registration
From: Jiri Pirko <jiri@resnulli.us>
Date: 2018-04-05 05:36:40
From: Jiri Pirko <jiri@resnulli.us>
Date: 2018-04-05 05:36:40
Thu, Apr 05, 2018 at 01:00:18AM CEST, dsahern@gmail.com wrote:
On 4/4/18 4:59 PM, Jakub Kicinski wrote:quoted
On Wed, 4 Apr 2018 08:25:11 +0200, Jiri Pirko wrote:quoted
quoted
Jiri, I am not aware of any other API where a driver registers with it yet doesn't want the handler to be called so either waits to registerAgain, the thing is, this is kind of unusual because of the reload thing.FWIW my knee jerk thought is that it's strange that devlink ops can be executed at all while reload is happening (incl. another reload request). I'm probably missing the real issue..Just responding with the same question ... Why are you not unregistering resources on a reload?
Because you need the use the values of course!