Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Andrew Stellman" <bugs@stellman-greene.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH rdma-next] RDMA/rxe: Release responder MR on receive CQ overflow
Date: Sat, 28 Nov 2026 19:22:01 +0000	[thread overview]
Message-ID: <sashiko-outbox-238993@kernel.org> (raw)
In-Reply-To: <20261128191732.30232-1-bugs@stellman-greene.com>

> From: Andrew Stellman <astellman@stellman-greene.com>
> 
> 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:
> 
>   rxe0: cq#4 rxe_cq_post: queue full
>   ------------[ cut here ]------------
>   WARNING: drivers/infiniband/sw/rxe/rxe_pool.c:212 at __rxe_cleanup+0x230/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-g7cd8495c0f16 #18 PREEMPT(full) 
>   Hardware name: linux,dummy-virt (DT)
>   pstate: 61400005 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
> [ ... ]
> The fix was drafted with OpenAI GPT-6 (Codex) and this changelog with
> Claude Opus 5.5, and both were reviewed by me.
> 
> Fixes: 8700e3e7c485 ("Soft RoCE driver")
> Signed-off-by: Andrew Stellman <astellman@stellman-greene.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261128191732.30232-1-bugs@stellman-greene.com?part=1

      reply	other threads:[~2026-11-28 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 19:17 [PATCH rdma-next] RDMA/rxe: Release responder MR on receive CQ overflow Andrew Stellman
2026-11-28 19:22 ` 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-238993@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=bugs@stellman-greene.com \
    --cc=linux-rdma@vger.kernel.org \
    --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