[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c57977d0-5af6-44b7-80a4-00024f3e5e49@nvidia.com>
Date: Sun, 2 Mar 2025 10:17:58 +0200
From: Shahar Shitrit <shshitrit@...dia.com>
To: Jakub Kicinski <kuba@...nel.org>, Tariq Toukan <tariqt@...dia.com>
Cc: "David S. Miller" <davem@...emloft.net>, Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>, Andrew Lunn <andrew+netdev@...n.ch>,
Saeed Mahameed <saeedm@...dia.com>, Gal Pressman <gal@...dia.com>,
Leon Romanovsky <leonro@...dia.com>, Leon Romanovsky <leon@...nel.org>,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, Carolina Jubran <cjubran@...dia.com>
Subject: Re: [PATCH net-next 3/6] net/mlx5e: Enable lanes configuration when
auto-negotiation is off
On 01/03/2025 0:51, Jakub Kicinski wrote:
> On Wed, 26 Feb 2025 13:47:49 +0200 Tariq Toukan wrote:
>> + if (table[i].speed == info->speed) {
>> + if (!info->lanes || table[i].lanes == info->lanes)
>
> Hm, on a quick look it seems like lane count was added in all tables,
> so not sure why the !info->lanes
>
it's for the case only speed was passed from ethtool (then ethtool
passes 0 for lanes)
>> + link_modes |= MLX5E_PROT_MASK(i);
Powered by blists - more mailing lists