From: sashiko-bot@kernel.org
To: "Tariq Toukan" <tariqt@nvidia.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH net] Revert "net/mlx5: E-Switch, preserve max tx speed on vport state modification"
Date: Sun, 04 Oct 2026 08:42:49 +0000 [thread overview]
Message-ID: <20261004084250.0CCB31F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20261004083531.216988-1-tariqt@nvidia.com>
> From: Or Har-Toov <ohartoov@nvidia.com>
>
> This reverts commit ad0ae7aefa7a ("net/mlx5: E-Switch, preserve max tx
> speed on vport state modification").
>
> mlx5_modify_vport_admin_state() and mlx5_esw_adj_vport_modify() query
> the vport's current max_tx_speed before modifying its state, and
> write that value back, to avoid resetting it to 0 as a side effect
> of an unrelated admin-state change.
>
> That's unnecessary: max_tx_speed is optional in MODIFY_VPORT_STATE -
> FW skips writing it whenever it's 0, treating that as "not provided"
> rather than "reset to zero". Leaving it unset already preserves FW's
> current value, with no query needed.
>
> Fixes: ad0ae7aefa7a ("net/mlx5: E-Switch, preserve max tx speed on vport state modification")
> Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
> Reviewed-by: Mark Bloch <mbloch@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261004083531.216988-1-tariqt@nvidia.com?part=1
next prev parent reply other threads:[~2026-10-04 8:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-04 8:35 [PATCH net] Revert "net/mlx5: E-Switch, preserve max tx speed on vport state modification" Tariq Toukan
2026-10-04 8:42 ` sashiko-bot [this message]
2026-10-05 8:38 ` netdev-bot+sashiko
2026-10-07 1:10 ` patchwork-bot+netdevbpf
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=20261004084250.0CCB31F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.