Re: [PATCH net-next] net: stmmac: Simplify ioctl handling
From: Maxime Chevallier
Date: Tue Jul 21 2026 - 13:09:06 EST
Hi Jakub,
On 7/21/26 18:42, Jakub Kicinski wrote:
> On Sat, 18 Jul 2026 16:38:47 +0200 Maxime Chevallier wrote:
>> Now that timestamping is controlled through an NDO, we can simply
>> call phylink_mii_ioctl() to handle ioctls.
>>
>> The only functional difference is that phylink_mii_ioctl() ->
>> phy_mii_ioctl() can handle SIOCSHWTSTAMP, but this no longer happens
>> as this ioctl is not longer dispatched to the ndo_eth_ioctl().
>
> To double check - the discussion is orthogonal and this patch can be
> applied as is?
Indeed yes, the patch itself doesn't introduce any behaviour change.
That's actually when I noticed that it doesn't introduce behaviour changes
(as the SIOCSHWTSTAMP ioctl is masked and doesn't reach the .ndo_ioctl() in
the first place) that I added the small comment that started this discussion :)
Maxime