Re: [PATCH v2 for-next 7/7] RDMA/hns: Add support for UD inline

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

 



On Mon, Nov 16, 2020 at 07:33:28PM +0800, Weihang Li wrote:
> @@ -503,7 +581,23 @@ static inline int set_ud_wqe(struct hns_roce_qp *qp,
>  	if (ret)
>  		return ret;
>  
> -	set_extend_sge(qp, wr, &curr_idx, valid_num_sge);
> +	if (wr->send_flags & IB_SEND_INLINE) {
> +		ret = set_ud_inl(qp, wr, ud_sq_wqe, &curr_idx);
> +		if (ret)
> +			return ret;

Why are you implementing this in the kernel? No kernel ULP sets this
flag?

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