[PATCH net-next 2/2] net: stmmac: ethtool: Address off-by-one when reading the coal rx-usecs

Maxime Chevallier maxime.chevallier at bootlin.com
Sun Aug 2 13:29:22 PDT 2026


Hi Andrew,

On 8/2/26 17:05, Andrew Lunn wrote:
>> This does change the boundaries of accepted rx-usecs parameters, as the
>> previously accepted values were in the 16-246 us range, and now fall
>> into the 15-245 range on imx8mp.
> 
> With this change in place, what happens when trying to set 246?
> EINVAL?

Yes indeed :

# ethtool -C eth1 rx-usecs 246
netlink error: Invalid argument

Maxime



More information about the linux-arm-kernel mailing list