From: Leon Romanovsky <leon@kernel.org>
To: Bernard Metzler <bernard.metzler@linux.dev>,
Andrew Stellman <astellman@stellman-greene.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH rdma-rc] RDMA/siw: Don't send stale data for a queued zero length Read Request
Date: Thu, 26 Nov 2026 03:57:07 -0500 [thread overview]
Message-ID: <179568342728.1250831.15769582279657645593.b4-ty@kernel.org> (raw)
In-Reply-To: <20261122191122.65240-1-astellman@stellman-greene.com>
On Sun, 22 Nov 2026 14:11:22 -0500, Andrew Stellman wrote:
> siw_init_rresp() queues an inbound RDMA Read Request in the inbound read
> queue (IRQ) when the TX work request is busy. For a zero length Read
> Request the IRQ entry has num_sge 0, and siw_activate_tx() then leaves
> wqe->sqe.sge[0] as the previous work request left it.
> siw_qp_sq_proc_tx() sets num_sge to 1 for every Read Response, so the
> Read Response is built from the previous work request's sge[0]. RFC
> 5040, section 5.2.1, requires a zero length Read Response.
>
> [...]
Applied, thanks!
[1/1] RDMA/siw: Don't send stale data for a queued zero length Read Request
https://git.kernel.org/rdma/rdma/c/da570e4488d197
Best regards,
--
Leon Romanovsky <leon@kernel.org>
next prev parent reply other threads:[~2026-11-26 8:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 19:11 Andrew Stellman
2026-11-26 8:57 ` Leon Romanovsky [this message]
2026-11-26 14:40 ` Bernard Metzler
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=179568342728.1250831.15769582279657645593.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=astellman@stellman-greene.com \
--cc=bernard.metzler@linux.dev \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
/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
all inboxes | Powered by JetHome®