Re: [PATCH for-next] RDMA/hns: Update the kernel header file of hns

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

 



On Tue, Jan 22, 2019 at 10:23:34AM +0800, Lijun Ou wrote:
> The hns_roce_ib_create_srq_resp is used to interact with the
> user for data. As a result, it is added to apply with matching
> kernel headers.
> 
> Signed-off-by: Lijun Ou <oulijun@xxxxxxxxxx>
>  include/uapi/rdma/hns-abi.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h
> index ef3c7ec..eb76b38 100644
> +++ b/include/uapi/rdma/hns-abi.h
> @@ -52,6 +52,11 @@ struct hns_roce_ib_create_srq {
>  	__aligned_u64 que_addr;
>  };
>  
> +struct hns_roce_ib_create_srq_resp {
> +	__u32	srqn;
> +	__u32	reserved;
> +};
> +

This makes no sense, how can uapi headers be added without adding a
corresponding kernel code!?!?! What fills in srqn?

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