lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251225125014.GK11869@unreal>
Date: Thu, 25 Dec 2025 14:50:14 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Zhu Yanjun <yanjun.zhu@...ux.dev>
Cc: zyjzyj2000@...il.com, jgg@...pe.ca, linux-rdma@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] RDMA/rxe: Align struct rxe_sge and struct ib_sge

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@...ux.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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ