Re: [PATCH net-next] mctp i2c: add sysfs control for mux child netdevs
From: Kenny Hsieh
Date: Thu Oct 15 2026 - 04:59:53 EST
Hi Jeremy,
On Tue, 2026-10-13 at 15:02 +0800, Jeremy Kerr wrote:
> More a request than a review: since you're going to the trouble of
> allowing dynamic MCTP devices on mux subordinates, would it be possible
> to also allow this for the root controllers as well?
Yes. v2 drops the root exclusion, so the attribute is attached to every
adapter of the mux tree, the root included. Matt asked for the same
thing, to be able to remove a root netdev at runtime.
https://lore.kernel.org/netdev/20261015081341.1262695-1-kenny_hsieh@xxxxxxxxx/
I have no USB-attached adapter here, so the hotplug ordering is
untested. The attribute is attached from the bus notifier as an adapter
appears, which should cover one arriving after the controller is bound.
BR,
Kenny