Re: [PATCH for-next 07/13] RDMA/rxe: Extend srq verbs to support xrcd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 16, 2022 at 10:10:58PM -0500, Bob Pearson wrote:

> diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h
> index f09c5c9e3dd5..514a1b6976fe 100644
> --- a/include/uapi/rdma/rdma_user_rxe.h
> +++ b/include/uapi/rdma/rdma_user_rxe.h
> @@ -74,7 +74,7 @@ struct rxe_av {
>  
>  struct rxe_send_wr {
>  	__aligned_u64		wr_id;
> -	__u32			num_sge;
> +	__u32			srq_num;	/* xrc only */

So this got changed to reserved, and we are making the leap that if
the userspace supports xrc it also isn't going to be writing to the
reserved any more?

> @@ -191,8 +191,6 @@ struct rxe_create_qp_resp {
>  
>  struct rxe_create_srq_resp {
>  	struct mminfo mi;
> -	__u32 srq_num;
> -	__u32 reserved;
>  };

What is this? Why is it OK?

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux