On Wed, Nov 23, 2016 at 06:08:23PM +0100, Hannes Frederic Sowa wrote: > On Wed, Nov 23, 2016, at 18:04, Jiri Pirko wrote: > > >Sure, but an abort function can be provided to the kernel anyway and the > > >driver can care about that. > > > > Ok, how? > > I think just a sysctl ontop of this series is enough plus a pr_warn. > Rocker and mlxsw are responsible to loop for a maximum amount of time.
Maybe, when the module requests a dump it can also provide a callback that is invoked following each failed dump?