lkml.org 
[lkml]   [2021]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next] devlink: Require devlink lock during device reload
On Mon, 1 Nov 2021 22:52:19 +0200 Ido Schimmel wrote:
> > >Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> >
> > Looks fine to me.
> >
> > Reviewed-by: Jiri Pirko <jiri@nvidia.com>
>
> Traces from mlxsw / netdevsim below:

Thanks a lot for the testing Ido!

Would you mind giving my RFC a spin as well on your syzbot machinery?

Any input on the three discussion points there?

(1) should we have a "locked" and "unlocked" API or use lock nesting?

(2) should we expose devlink lock so that drivers can use devlink
as a framework for their locking needs?

(3) should we let drivers take refs on the devlink instance?

\
 
 \ /
  Last update: 2021-11-02 00:12    [W:0.058 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site