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=1795893721; b=BtzBQcHbIDo88xJaFQN5ImGQis6DRLFs+tiLuZolmmErL+F22WQB6Y5oofM8llnvHe1O G9etgDSqSRR2Hx4pVsbg33AunGSCbD8nHgEUjej3kbjQoMvdL6LiuVUVXoH3Te5pzbLRl BHgq/4PMjJ0Fj5DECRl93ZYUjL27/QkYCEhblccC8z9M/oPx90HiN3N9oCDaF0T1MPsfx 5EIxUwfpnLZMaS2sQmCdk3eVPPw1gLqdvmxVv009yo2xElAu8QLJ/RzgQGwtxH1QRnXHd tiey+wk8Ti9M2Uau7AB/sH7qwHPszxmwL5nxcp1S9IOEh8EONchXKqzTNQovHhmrWmA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795893721; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=41VCngSCZ6MKzUG56koe+WlanbvcYH+dOfBb0Dxsh4w=; b=R41jDx7X2Q42NxhZ8O6Nu2tI8F5nS8F+0Vp9H9RfpHaJWiXXUkbUhob9+fSbQWXM09Jx yy3G9rTfO6C4b5Oi9B+gK2LTwOMZWroUQ5zh6o6tsIHCIuqCIwaMCSvYMThvlBWTKpkdB DQqnZCZWuRIILJs1cmU4gn0Jr/GkEUOnkKjD9LFmj1grlmGsqrBvlyclAszwf3d79fA4o C0lX8+VGm85MBYJc7OGjifxDWw1++5EGV7TzKerSopxm2vaxcFaEg6mmQQvTH+i2/cQi+ /BnbyIOy8Fl5TVhAztJpdsH+khgroS1WMT9wFOBwv6zjr1BLHChoetKfHqZxT2hgS7g== 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=MdKEkAt0; 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 C18C5606A31C for ; Sat, 28 Nov 2026 19:22:01 +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=MdKEkAt0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 883801F000C1; Sat, 28 Nov 2026 19:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795893721; bh=41VCngSCZ6MKzUG56koe+WlanbvcYH+dOfBb0Dxsh4w=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=MdKEkAt0o6h4l6pruwUzdUT9Nj+LCIxcEHDpsMWUcB28JWVJGzzgPJSITD20q7x8k Zxe1vMfaNvPhubBGJ47WlFLxW+IRX/5dyNFUA0kvr0Tcb8W2Rrmn2djstzvsHjSyZY 6uao53PJxWeSHtQssEXcxswqhJARDJP4UqLfFG+jFXz9JVSbe3gQuwBje/lls9ZLRA b8raR3EAZic2/1ExIh1rUwkJjtjyRmnO7JuY2ge/s3OaCJWFPhszI/Vh7tlE0JodSx lE41fTAgobFoNBokv/t9BQ7BZiMhyqcdW9/TWR5SUBiTMjqBxDEOxcuQYiq7+c+JvZ +4aiZbVy93raw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH rdma-next] RDMA/rxe: Release responder MR on receive CQ overflow Reply-To: sashiko-reviews@lists.linux.dev To: "Andrew Stellman" Cc: linux-rdma@vger.kernel.org In-Reply-To: <20261128191732.30232-1-bugs@stellman-greene.com> References: <20261128191732.30232-1-bugs@stellman-greene.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 28 Nov 2026 19:22:01 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Andrew Stellman >=20 > When rxe_cq_post() fails in do_complete() because the receive CQ is > full, rxe_receiver() goes from RESPST_ERR_CQ_OVERFLOW straight to > RESPST_ERROR and skips cleanup(). For an RDMA WRITE with immediate > data, qp->resp.mr keeps its reference, so deregistering the MR while > the QP still exists waits for the pool timeout and then warns: >=20 > rxe0: cq#4 rxe_cq_post: queue full > ------------[ cut here ]------------ > WARNING: drivers/infiniband/sw/rxe/rxe_pool.c:212 at __rxe_cleanup+0x23= 0/0x2bc, CPU#4: cq_overflow_rep/371 > Modules linked in: > CPU: 4 UID: 1000 PID: 371 Comm: cq_overflow_rep Not tainted 7.4.0-rc4-g= 7cd8495c0f16 #18 PREEMPT(full)=20 > Hardware name: linux,dummy-virt (DT) > pstate: 61400005 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=3D--) > [ ... ] > The fix was drafted with OpenAI GPT-6 (Codex) and this changelog with > Claude Opus 5.5, and both were reviewed by me. >=20 > Fixes: 8700e3e7c485 ("Soft RoCE driver") > Signed-off-by: Andrew Stellman Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261128191732.3023= 2-1-bugs@stellman-greene.com?part=3D1