From: sashiko-bot@kernel.org
To: "Mark Bloch" <mbloch@nvidia.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH rdma-next] RDMA: Preserve fixed-MAC bond GIDs across failover
Date: Wed, 02 Dec 2026 12:38:15 +0000 [thread overview]
Message-ID: <sashiko-outbox-245733@kernel.org> (raw)
In-Reply-To: <20261202123010.3914123-1-mbloch@nvidia.com>
> NETDEV_BONDING_FAILOVER deletes the bond's GIDs and adds them back.
> The delete clears the hardware entry even if a live QP still holds
> a reference to the GID. That reference keeps the old slot occupied,
> so re-adding the GID cannot restore the entry used by the QP.
>
> Some providers can move existing QPs to the new physical port without
> replacing their GIDs. Add RDMA_CORE_CAP_BONDING_FAILOVER so providers
> can advertise this, and set it for mlx5 RoCE LAG.
>
> Skip the failover purge for ports with this capability when their
> associated netdevice belongs to an active-backup bond using
> fail_over_mac=none. The source MAC stays the same, so the GIDs remain
> valid. Check the direct bond master, since the capability does not
> cover failover further up the netdevice hierarchy, such as when the
> bond itself is enslaved to another bond.
> [ ... ]
> purge skipped, nothing would later remove a GID whose address deletion
> was missed.
>
> Cc: Or Gerlitz <gerlitz.or@gmail.com>
> Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202123010.3914123-1-mbloch@nvidia.com?part=1
prev parent reply other threads:[~2026-12-02 12:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 12:30 [PATCH rdma-next] RDMA: Preserve fixed-MAC bond GIDs across failover Mark Bloch
2026-12-02 12:38 ` sashiko-bot [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=sashiko-outbox-245733@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mbloch@nvidia.com \
--cc=sashiko-reviews@lists.linux.dev \
/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