RDMA/rxe: Align struct rxe_sge and struct ib_sge
Subsystems (2)
PATCH 1/1 RDMA/rxe: Align struct rxe_sge and struct ib_sge
Replace struct ib_sge with struct rxe_sge in struct rxe_resp_info. No functional changes.
--- drivers/infiniband/sw/rxe/rxe_verbs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/sw/rxe/rxe_verbs.h +1 -1
@@ -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 ]; } srq_wqe;/* Responder resources. It's a circular list where the oldest
Signature · 1 line
2.39.5
Quoted 13 lines · Zhu Yanjun
Replace struct
ib_sgewith structrxe_sgein structrxe_resp_info. No functional changes.Signed-off-by Zhu Yanjun <[email protected]>--- drivers/infiniband/sw/rxe/rxe_verbs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/infiniband/sw/rxe/rxe_verbs.h +0
-0
drivers/infiniband/sw/rxe/rxe_verbs.h struct rxe_resp_info { · line 225
Quoted 5 lines
drivers/infiniband/sw/rxe/rxe_verbs.h +1
-1@@ -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
Quoted 6 lines
drivers/infiniband/sw/rxe/rxe_verbs.h +0
-0} srq_wqe;/* Responder resources. It's a circular list where the oldest Signature · 1 line
2.39.5
Quoted 9 lines · Leon Romanovsky
Quoted 8 lines · Zhu Yanjun
Replace struct
ib_sgewith structrxe_sgein structrxe_resp_info. No functional changes.Signed-off-by Zhu Yanjun <[email protected]>--- drivers/infiniband/sw/rxe/rxe_verbs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
drivers/infiniband/sw/rxe/rxe_verbs.h struct rxe_resp_info { · line 225
Quoted 10 lines
drivers/infiniband/sw/rxe/rxe_verbs.h +1
-1@@ -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.
Got it. I will do.
Thanks,
Yanjun.Zhu
Quoted 9 lines
Thanks
Quoted 6 lines
drivers/infiniband/sw/rxe/rxe_verbs.h +0
-0} srq_wqe;/* Responder resources. It's a circular list where the oldest Signature · 1 line
2.39.5