* [PATCH 1/2] Update kernel headers
@ 2021-06-28 22:05 Bob Pearson
2021-06-29 6:36 ` Gal Pressman
0 siblings, 1 reply; 6+ 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>
---
| 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
--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] 6+ messages in thread
* Re: [PATCH 1/2] Update kernel headers
2021-06-28 22:05 [PATCH 1/2] Update kernel headers Bob Pearson
@ 2021-06-29 6:36 ` Gal Pressman
2021-06-29 6:58 ` Leon Romanovsky
0 siblings, 1 reply; 6+ messages in thread
From: Gal Pressman @ 2021-06-29 6:36 UTC (permalink / raw)
To: Bob Pearson, jgg, zyjzyj2000, linux-rdma
On 29/06/2021 1:05, Bob Pearson wrote:
> 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;
> };
>
I think the second patch didn't make it to the list.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] Update kernel headers
2021-06-29 6:36 ` Gal Pressman
@ 2021-06-29 6:58 ` Leon Romanovsky
2021-06-29 14:09 ` Pearson, Robert B
0 siblings, 1 reply; 6+ messages in thread
From: Leon Romanovsky @ 2021-06-29 6:58 UTC (permalink / raw)
To: Gal Pressman; +Cc: Bob Pearson, jgg, zyjzyj2000, linux-rdma
On Tue, Jun 29, 2021 at 09:36:50AM +0300, Gal Pressman wrote:
> On 29/06/2021 1:05, Bob Pearson wrote:
> > 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;
> > };
> >
>
> I think the second patch didn't make it to the list.
I don't know how Bob sends his patches, but it is here
https://lore.kernel.org/linux-rdma/20210628220303.9938-1-rpearsonhpe@gmail.com
Thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH 1/2] Update kernel headers
2021-06-29 6:58 ` Leon Romanovsky
@ 2021-06-29 14:09 ` Pearson, Robert B
0 siblings, 0 replies; 6+ messages in thread
From: Pearson, Robert B @ 2021-06-29 14:09 UTC (permalink / raw)
To: Leon Romanovsky, Gal Pressman
Cc: Bob Pearson, jgg@nvidia.com, zyjzyj2000@gmail.com,
linux-rdma@vger.kernel.org
-----Original Message-----
From: Leon Romanovsky <leon@kernel.org>
Sent: Tuesday, June 29, 2021 1:58 AM
To: Gal Pressman <galpress@amazon.com>
Cc: Bob Pearson <rpearsonhpe@gmail.com>; jgg@nvidia.com; zyjzyj2000@gmail.com; linux-rdma@vger.kernel.org
Subject: Re: [PATCH 1/2] Update kernel headers
On Tue, Jun 29, 2021 at 09:36:50AM +0300, Gal Pressman wrote:
> On 29/06/2021 1:05, Bob Pearson wrote:
> > 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;
> > };
> >
>
> I think the second patch didn't make it to the list.
I don't know how Bob sends his patches, but it is here https://lore.kernel.org/linux-rdma/20210628220303.9938-1-rpearsonhpe@gmail.com
Thanks
There seems to be some confusion here. I will resend.
I use git send-email but I may have mistyped something.
Bob
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] Update kernel headers
2022-09-13 22:30 [PATCH 0/2] providers/rxe: Remove redundant num_sge_fields Bob Pearson
@ 2022-09-13 22:30 ` Bob Pearson
0 siblings, 0 replies; 6+ messages in thread
From: Bob Pearson @ 2022-09-13 22:30 UTC (permalink / raw)
To: jgg, zyjzyj2000, linux-rdma; +Cc: Bob Pearson
To commit ?? ("RDMA/rxe: Remove redundant num_sge fields").
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
---
| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--git a/kernel-headers/rdma/rdma_user_rxe.h b/kernel-headers/rdma/rdma_user_rxe.h
index f09c5c9e..73f679df 100644
--- a/kernel-headers/rdma/rdma_user_rxe.h
+++ b/kernel-headers/rdma/rdma_user_rxe.h
@@ -74,7 +74,7 @@ struct rxe_av {
struct rxe_send_wr {
__aligned_u64 wr_id;
- __u32 num_sge;
+ __u32 reserved;
__u32 opcode;
__u32 send_flags;
union {
@@ -166,7 +166,7 @@ struct rxe_send_wqe {
struct rxe_recv_wqe {
__aligned_u64 wr_id;
- __u32 num_sge;
+ __u32 reserved;
__u32 padding;
struct rxe_dma_info dma;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 1/2] Update kernel headers
2022-09-17 3:15 [PATCH 0/2] providers/rxe: Implement the xrc transport protocol Bob Pearson
@ 2022-09-17 3:15 ` Bob Pearson
0 siblings, 0 replies; 6+ messages in thread
From: Bob Pearson @ 2022-09-17 3:15 UTC (permalink / raw)
To: jgg, zyjzyj2000, lizhijian, linux-rdma; +Cc: Bob Pearson
To commit ?? ("RDMA/rxe: Extend rxe_resp.c to support xrc qps").
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
---
| 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
--git a/kernel-headers/rdma/rdma_user_rxe.h b/kernel-headers/rdma/rdma_user_rxe.h
index 73f679df..c44db5fa 100644
--- a/kernel-headers/rdma/rdma_user_rxe.h
+++ b/kernel-headers/rdma/rdma_user_rxe.h
@@ -74,7 +74,7 @@ struct rxe_av {
struct rxe_send_wr {
__aligned_u64 wr_id;
- __u32 reserved;
+ __u32 srq_num; /* xrc only */
__u32 opcode;
__u32 send_flags;
union {
@@ -166,7 +173,7 @@ struct rxe_send_wqe {
struct rxe_recv_wqe {
__aligned_u64 wr_id;
- __u32 reserved;
+ __u32 num_sge;
__u32 padding;
struct rxe_dma_info dma;
};
@@ -191,8 +198,7 @@ struct rxe_create_qp_resp {
struct rxe_create_srq_resp {
struct mminfo mi;
- __u32 srq_num;
- __u32 reserved;
+ __u32 reserved[2];
};
struct rxe_modify_srq_cmd {
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-09-17 3:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-28 22:05 [PATCH 1/2] Update kernel headers Bob Pearson
2021-06-29 6:36 ` Gal Pressman
2021-06-29 6:58 ` Leon Romanovsky
2021-06-29 14:09 ` Pearson, Robert B
-- 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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox