linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] providers/rxe: Implement the xrc transport protocol
@ 2022-09-17  3:15 Bob Pearson
  2022-09-17  3:15 ` [PATCH 1/2] Update kernel headers Bob Pearson
  2022-09-17  3:15 ` [PATCH 2/2] providers/rxe: Implement the xrc transport protocol Bob Pearson
  0 siblings, 2 replies; 9+ messages in thread
From: Bob Pearson @ 2022-09-17  3:15 UTC (permalink / raw)
  To: jgg, zyjzyj2000, lizhijian, linux-rdma; +Cc: Bob Pearson

Make changes to implement the xrc transport protocol including
- Implement ibv_create_srq_ex
- Implement ibv_open/close_xrcd
- Implement ibv_get_srq_num
- Implement xrc support for qp_ex

The patch "providers/rxe: Remove redundant num_sge fields" is
a pre-requisite for this patch.

Bob Pearson (2):
  Update kernel headers
  providers/rxe: Implement the xrc transport protocol

 kernel-headers/rdma/ib_user_ioctl_verbs.h |   2 +
 kernel-headers/rdma/ib_user_verbs.h       |  16 +
 kernel-headers/rdma/rdma_user_rxe.h       |  14 +-
 providers/rxe/rxe-abi.h                   |   2 +
 providers/rxe/rxe.c                       | 387 +++++++++++++++-------
 providers/rxe/rxe.h                       |  21 +-
 6 files changed, 318 insertions(+), 124 deletions(-)


base-commit: 41c28b03d2b7cfc982eedd2e7491b01df984f5d7
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/2] providers/rxe: Remove redundant num_sge_fields
@ 2022-09-13 22:30 Bob Pearson
  2022-09-13 22:30 ` [PATCH 1/2] Update kernel headers Bob Pearson
  0 siblings, 1 reply; 9+ messages in thread
From: Bob Pearson @ 2022-09-13 22:30 UTC (permalink / raw)
  To: jgg, zyjzyj2000, linux-rdma; +Cc: Bob Pearson

This patch series removes two unused num_sge fields in
struct rxe_send_wr and struct rxe_recv_wqe in favor of the
num_sge field in struct rxe_dma_info. It has no effect on the
current ABI. It has the desireable side effect of freeing
4 bytes in rxe_send_wr, which is otherwise completely full, for
other uses.

Bob Pearson (2):
  Update kernel headers
  providers/rxe: Remove redundant num_sge fields

 kernel-headers/rdma/rdma_user_rxe.h |  4 ++--
 providers/rxe/rxe.c                 | 11 +++++------
 2 files changed, 7 insertions(+), 8 deletions(-)


base-commit: 3cbfb618e0a70d7341d1e737fd00f661ccaac1c4
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 1/2] Update kernel headers
@ 2021-06-28 22:05 Bob Pearson
  2021-06-29  6:36 ` Gal Pressman
  0 siblings, 1 reply; 9+ messages in thread
From: Bob Pearson @ 2021-06-28 22:05 UTC (permalink / raw)
  To: jgg, zyjzyj2000, linux-rdma; +Cc: Bob Pearson

To commit ?? ("RDMA/rxe: Convert kernel UD post send to use ah_num").

Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
---
 kernel-headers/rdma/rdma_user_rxe.h | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/kernel-headers/rdma/rdma_user_rxe.h b/kernel-headers/rdma/rdma_user_rxe.h
index e283c222..e544832e 100644
--- a/kernel-headers/rdma/rdma_user_rxe.h
+++ b/kernel-headers/rdma/rdma_user_rxe.h
@@ -98,6 +98,8 @@ struct rxe_send_wr {
 			__u32	remote_qpn;
 			__u32	remote_qkey;
 			__u16	pkey_index;
+			__u16	reserved;
+			__u32	ah_num;
 		} ud;
 		struct {
 			__aligned_u64	addr;
@@ -148,7 +150,12 @@ struct rxe_dma_info {
 
 struct rxe_send_wqe {
 	struct rxe_send_wr	wr;
-	struct rxe_av		av;
+	union {
+		struct rxe_av av;
+		struct {
+			__u32		reserved[0];
+		} ex;
+	};
 	__u32			status;
 	__u32			state;
 	__aligned_u64		iova;
@@ -168,6 +175,11 @@ struct rxe_recv_wqe {
 	struct rxe_dma_info	dma;
 };
 
+struct rxe_create_ah_resp {
+	__u32 ah_num;
+	__u32 reserved;
+};
+
 struct rxe_create_cq_resp {
 	struct mminfo mi;
 };
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-26 18:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17  3:15 [PATCH 0/2] providers/rxe: Implement the xrc transport protocol Bob Pearson
2022-09-17  3:15 ` [PATCH 1/2] Update kernel headers Bob Pearson
2022-09-17  3:15 ` [PATCH 2/2] providers/rxe: Implement the xrc transport protocol Bob Pearson
2022-09-26 17:58   ` Jason Gunthorpe
  -- strict thread matches above, loose matches on Subject: below --
2022-09-13 22:30 [PATCH 0/2] providers/rxe: Remove redundant num_sge_fields Bob Pearson
2022-09-13 22:30 ` [PATCH 1/2] Update kernel headers Bob Pearson
2021-06-28 22:05 Bob Pearson
2021-06-29  6:36 ` Gal Pressman
2021-06-29  6:58   ` Leon Romanovsky
2021-06-29 14:09     ` Pearson, Robert B

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).