From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796215096; b=uQMJi4CQXU8X0NKg5pmkAK4V8gnjVNc56oH7USB1vL3Jn49mUIxvkHO5AWjRGjw5rC1S twBDS2ehP6/70lhud48Va2G9xtD3y57IAWOI3uYnm8h2LzSPaQFGOlE3acYD8uT4+f6s3 HrT8AngSL3qqEGsrxYFop049I5Lenp7KG+aCEdmdoRXpDXPYH28++PeaIeal/7NbBIsbF V0hL0BzDaqJ+GgmSM8IHje1TO/R1r2ktKMB71tvC8/te0oeXW8A8+pjf8CAIqWCDmR8B7 vB2TMHzXPp2ph5bmw08kRvH/vsYUXn5WeitgZWU7DOETkTQ4V9tV9l/4Rp9d3GdTofA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796215096; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Rz3crv4Q9Edl0L/Yfibqa+RAN33Qd+443qUvxhiNuGs=; b=tfJErP8XbScJXzHF8fcF0LXvDY5L+nqneEB6/o2dYEvKPl7jgep3xsU2+0zA5MnkhxiA z48exsbk2VhyDXMOk1ukvRDc/8KZmylM+t+bCoOwI4OAZzdj1KuwjnIbUAXd5CRmozaI6 d5C0b1OdB8FLFCqREVtS4PtXwAL6amop3UtuKW4ojS+i4vtgNRK7Hr0BOxLqWKe4fFvFA lHjDiLZy87lfxfAm/AdJqGsQb4d9wIs8Qxp5uLJBtI29UV96eL8CzqKa3se3V3rT2xfsf GVIOH5Wh1cBixQtShhlwNPLy/Ouyx6MlGgXOhUbf+6hs0vKZkW17XhUmLyxIWztjYVw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C71HH+Jf; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 471F2606A322 for ; Wed, 2 Dec 2026 12:38:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C71HH+Jf Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2E401F0089B; Wed, 2 Dec 2026 12:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796215095; bh=Rz3crv4Q9Edl0L/Yfibqa+RAN33Qd+443qUvxhiNuGs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=C71HH+JfkgjSk6CDPto4foMXKM5pe3uuu1lR83Pg0GEmrZPXcjgp0+MrWkgPVsvTz yNhcH9SygSr21wisZcvphSkN2emX+4q6rhZGbuFB6+bQPSCMNr2wWJAQFDBBUlayvQ oGd2nUszI84QliLcrSk0J8YmWJFfLIpoY98Yu6jxECq6teII/LgIzg2e9FEKAO/Py6 Nbg4Iu/o0R2WcUh2VTKOGnCtOXTP/uzeeIRAQUAWaSipf2iebr0e+JAYmqxz4GBUkS gbrYn29Y8pdLsobINL947LQ4vI4a+uvZ3C4OOcxV5UUv7/t7971VopsNf3nNl/puWp LSXmzZY1vpKfQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH rdma-next] RDMA: Preserve fixed-MAC bond GIDs across failover Reply-To: sashiko-reviews@lists.linux.dev To: "Mark Bloch" Cc: linux-rdma@vger.kernel.org In-Reply-To: <20261202123010.3914123-1-mbloch@nvidia.com> References: <20261202123010.3914123-1-mbloch@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 12:38:15 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > 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. >=20 > 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. >=20 > Skip the failover purge for ports with this capability when their > associated netdevice belongs to an active-backup bond using > fail_over_mac=3Dnone. 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. >=20 > Cc: Or Gerlitz > Signed-off-by: Mark Bloch Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202123010.3914= 123-1-mbloch@nvidia.com?part=3D1