From: Leon Romanovsky <leon@kernel.org>
To: Zhu Yanjun <yanjun.zhu@linux.dev>
Cc: zyjzyj2000@gmail.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] RDMA/rxe: Align struct rxe_sge and struct ib_sge
Date: Thu, 25 Dec 2025 14:50:14 +0200 [thread overview]
Message-ID: <20251225125014.GK11869@unreal> (raw)
In-Reply-To: <20251225071959.3037-1-yanjun.zhu@linux.dev>
On Thu, Dec 25, 2025 at 02:19:59AM -0500, Zhu Yanjun wrote:
> Replace struct ib_sge with struct rxe_sge in struct rxe_resp_info.
> No functional changes.
>
> Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
> ---
> drivers/infiniband/sw/rxe/rxe_verbs.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h
> index fd48075810dd..f1f6dda22b70 100644
> --- a/drivers/infiniband/sw/rxe/rxe_verbs.h
> +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h
> @@ -222,7 +222,7 @@ struct rxe_resp_info {
> /* SRQ only */
> struct {
> struct rxe_recv_wqe wqe;
> - struct ib_sge sge[RXE_MAX_SGE];
> + struct rxe_sge sge[RXE_MAX_SGE];
I would expect extra changes in addition to this one. For example, in
the SRQ code which allocates the WQE size. Maybe in other places too.
Thanks
> } srq_wqe;
>
> /* Responder resources. It's a circular list where the oldest
> --
> 2.39.5
>
next prev parent reply other threads:[~2025-12-25 12:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-25 7:19 [PATCH 1/1] RDMA/rxe: Align struct rxe_sge and struct ib_sge Zhu Yanjun
2025-12-25 12:50 ` Leon Romanovsky [this message]
2025-12-25 17:19 ` Zhu Yanjun
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=20251225125014.GK11869@unreal \
--to=leon@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=yanjun.zhu@linux.dev \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.