Subject: Re: [PATCH net-next 0/5] netdevsim: get link via ethtool, set via sysfs

From: Jakub Kicinski <[email-masked]>
Date: Sun, 10 May 2026 09:52:46 -0700

On Sun, 10 May 2026 18:43:32 +0200 Íñigo Huguet wrote:
> Allow to read the carrier status of a netdevsim device via ethtool, like
> most of Ethernet devices allow.
> 
> Also, allow to set its carrier status via sysfs. Currently it's only
> possible by linking a peer device and setting its admin state to
> UP/DOWN. By editing the carrier status via sysfs tests that need to
> check carrier related stuff may be simpler.
> 
> The third patch add the proper selftest for both things, and the fourth
> and fifth fix a few small bugs in the selftest itself.

Could you please explain your motivation? Feels quite trivial,
so it's not immediately obvious why we need tests.