Netdev List
 help / color / mirror / Atom feed
From: "Björn Töpel" <bjorn@kernel.org>
To: Dragos Tatulea <dtatulea@nvidia.com>,
	Saeed Mahameed <saeedm@nvidia.com>,
	Tariq Toukan <tariqt@nvidia.com>, Mark Bloch <mbloch@nvidia.com>,
	Leon Romanovsky <leon@kernel.org>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org
Cc: Stanislav Fomichev <sdf@fomichev.me>,
	Mina Almasry <almasrymina@google.com>,
	linux-rdma@vger.kernel.org
Subject: Re: [PATCH net] net/mlx5e: Report a down device as -ENETDOWN to queue restarts
Date: Tue, 01 Dec 2026 16:40:39 +0100	[thread overview]
Message-ID: <87ld69ovpk.fsf@all.your.base.are.belong.to.us> (raw)
In-Reply-To: <832b3e4b-1184-4b06-a8cb-69b30fe2756f@nvidia.com>

Dragos Tatulea <dtatulea@nvidia.com> writes:

> On 01.12.26 12:39, Björn Töpel wrote:
>> diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
>> index 227695dfa51d..43ca52c55297 100644
>> --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
>> +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
>> @@ -5735,8 +5735,11 @@ static int mlx5e_queue_mem_alloc(struct net_device *dev,
>>  	int err;
>>  
>>  	mutex_lock(&priv->state_lock);
>> +	/* Core takes -ENETDOWN as nothing to restart, as when a memory
>> +	 * provider goes while the device is down
>> +	 */
> I'd drop this comment. Other than that:
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>

Thanks, I'll spin a v2 w/o this.

      reply	other threads:[~2026-12-01 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 11:39 [PATCH net] net/mlx5e: Report a down device as -ENETDOWN to queue restarts Björn Töpel
2026-12-01 13:43 ` Dragos Tatulea
2026-12-01 15:40   ` Björn Töpel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ld69ovpk.fsf@all.your.base.are.belong.to.us \
    --to=bjorn@kernel.org \
    --cc=almasrymina@google.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=dtatulea@nvidia.com \
    --cc=edumazet@kernel.org \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mbloch@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=saeedm@nvidia.com \
    --cc=sdf@fomichev.me \
    --cc=tariqt@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox