From: Leon Romanovsky <leon@kernel.org>
To: Xiao Yang <yangx.jy@fujitsu.com>
Cc: linux-rdma@vger.kernel.org, rpearsonhpe@gmail.com,
zyjzyj2000@gmail.com, jgg@nvidia.com
Subject: Re: [PATCH v2] providers/rxe: Set the correct value of resid for inline data
Date: Sun, 26 Sep 2021 13:51:50 +0300 [thread overview]
Message-ID: <YVBQxpzX8SVvaspe@unreal> (raw)
In-Reply-To: <20210809150738.150596-1-yangx.jy@fujitsu.com>
On Mon, Aug 09, 2021 at 11:07:38PM +0800, Xiao Yang wrote:
> Resid indicates the residual length of transmitted bytes but current
> rxe sets it to zero for inline data at the beginning. In this case,
> request will transmit zero byte to responder wrongly.
>
> Resid should be set to the total length of transmitted bytes at the
> beginning.
>
> Note:
> Just remove the useless setting of resid in init_send_wqe().
>
> Fixes: 1a894ca10105 ("Providers/rxe: Implement ibv_create_qp_ex verb")
> Fixes: 8337db5df125 ("Providers/rxe: Implement memory windows")
> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
> ---
> providers/rxe/rxe.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
Thanks, applied.
prev parent reply other threads:[~2021-09-26 10:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-09 15:07 [PATCH v2] providers/rxe: Set the correct value of resid for inline data Xiao Yang
2021-08-10 3:40 ` Zhu Yanjun
2021-08-10 16:33 ` yangx.jy
2021-08-16 7:47 ` Zhu Yanjun
2021-08-17 0:54 ` yangx.jy
2021-08-23 2:44 ` Zhu Yanjun
2021-08-23 3:58 ` yangx.jy
2021-08-13 22:11 ` Bob Pearson
2021-08-16 3:55 ` Zhu Yanjun
2021-08-16 18:52 ` Bob Pearson
2021-08-23 1:33 ` yangx.jy
2021-08-25 9:44 ` Leon Romanovsky
2021-09-02 8:27 ` yangx.jy
2021-09-02 19:48 ` Bob Pearson
2021-09-03 1:39 ` yangx.jy
2021-09-03 3:34 ` Zhu Yanjun
2021-09-26 10:51 ` Leon Romanovsky [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=YVBQxpzX8SVvaspe@unreal \
--to=leon@kernel.org \
--cc=jgg@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
--cc=rpearsonhpe@gmail.com \
--cc=yangx.jy@fujitsu.com \
--cc=zyjzyj2000@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).