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

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

From: Jiri Pirko <jiri@resnulli.us>
Date: 2023-01-11 09:34:25

Tue, Jan 10, 2023 at 09:22:22PM CET, kuba@kernel.org wrote:
On Tue, 10 Jan 2023 17:35:35 +0100 Jiri Pirko wrote:
quoted
quoted
I did find it convenient to be able to do both pre and post-registering,
but of the two I'd definitely prefer doing it post-registering, as that
makes it easier to handle/allow more dynamic sub-objects.  
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help