Thread (45 messages) 45 messages, 5 authors, 2023-01-16

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

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-01-11 16:46:02

On Wed, 11 Jan 2023 10:32:13 +0100 Jiri Pirko wrote:
quoted
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help