Subject: Re: [PATCH net-next 7/9] devlink: allow registering parameters after the instance

From: Jakub Kicinski <[email-masked]>
Date: Wed, 11 Jan 2023 08:45:49 -0800

On Wed, 11 Jan 2023 10:32:13 +0100 Jiri Pirko wrote:
> >> I'm confused. You want to register objects after instance register?  
> >
> >+1, I think it's an anti-pattern.  
> 
> Could you elaborate a bit please?

Mixing registering sub-objects before and after the instance is a bit
of an anti-pattern. Easy to introduce bugs during reload and reset /
error recovery. I thought that's what you were saying as well.