Re: [PATCH v2 for-next] RDMA/hns: Add caps flag for UD inline of userspace

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

 



On Tue, Jan 05, 2021 at 04:47:03PM +0800, Weihang Li wrote:
> diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h
> index 90b739d..79dba94 100644
> +++ b/include/uapi/rdma/hns-abi.h
> @@ -77,6 +77,7 @@ enum hns_roce_qp_cap_flags {
>  	HNS_ROCE_QP_CAP_RQ_RECORD_DB = 1 << 0,
>  	HNS_ROCE_QP_CAP_SQ_RECORD_DB = 1 << 1,
>  	HNS_ROCE_QP_CAP_OWNER_DB = 1 << 2,
> +	HNS_ROCE_QP_CAP_UD_SQ_INL = 1 << 3,

I don't understand why you need this flag.

The # of bytes of inline data should be returned from create_qp in the
max_inline_data cap.

If things doesn't support inline data then shouldn't that just return
0?

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