[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230330103856.4f725998@kernel.org>
Date: Thu, 30 Mar 2023 10:38:56 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Andy Roulin <aroulin@...dia.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jiri@...dia.com,
andrew@...n.ch, f.fainelli@...il.com, mkubecek@...e.cz,
mlxsw@...dia.com, idosch@...dia.com,
Danielle Ratson <danieller@...dia.com>
Subject: Re: [PATCH net-next] ethtool: reset #lanes when lanes is omitted
On Thu, 30 Mar 2023 09:56:58 -0700 Andy Roulin wrote:
> Subject: [PATCH net-next] ethtool: reset #lanes when lanes is omitted
This should have been tagged for net, right?
> If the number of lanes was forced and then subsequently the user
> omits this parameter, the ksettings->lanes is reset. The driver
> should then reset the number of lanes to the device's default
> for the specified speed.
>
> However, although the ksettings->lanes is set to 0, the mod variable
> is not set to true to indicate the driver and userspace should be
> notified of the changes.
>
> Fixes: 012ce4dd3102 ("ethtool: Extend link modes settings uAPI with lanes")
> Signed-off-by: Andy Roulin <aroulin@...dia.com>
> Reviewed-by: Danielle Ratson <danieller@...dia.com>
Powered by blists - more mailing lists