Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1424587 > unrolled thread

Re: [PATCH v9 09/22] IB/hns: Add hca support

Started by"Wei Hu (Xavier)" <xavier.huwei@huawei.com>
First post2016-06-17 03:30 +0200
Last post2016-06-17 03:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v9 09/22] IB/hns: Add hca support "Wei Hu (Xavier)" <xavier.huwei@huawei.com> - 2016-06-17 03:30 +0200

#1424587 — Re: [PATCH v9 09/22] IB/hns: Add hca support

From"Wei Hu (Xavier)" <xavier.huwei@huawei.com>
Date2016-06-17 03:30 +0200
SubjectRe: [PATCH v9 09/22] IB/hns: Add hca support
Message-ID<rKQLD-8aN-3@gated-at.bofh.it>

On 2016/6/9 15:10, Leon Romanovsky wrote:
> On Wed, Jun 01, 2016 at 11:37:51PM +0800, Lijun Ou wrote:
>> This patch mainly setup hca for RoCE. It will do a series of
>> initial works, as follows:
>>      1. init uar table, allocate uar resource
>>      2. init pd table
>>      3. init cq table
>>      4. init mr table
>>      5. init qp table
>>
>> Signed-off-by: Wei Hu <xavier.huwei@huawei.com>
>> Signed-off-by: Nenglong Zhao <zhaonenglong@hisilicon.com>
>> Signed-off-by: Lijun Ou <oulijun@huawei.com>
>> ---
> <...>
>
>> +
>> +	ret = hns_roce_bitmap_init(&cq_table->bitmap, hr_dev->caps.num_cqs,
>> +				   hr_dev->caps.num_cqs - 1,
>> +				   hr_dev->caps.reserved_cqs, 0);
>> +	if (ret)
>> +		return ret;
>> +
>> +	return 0;
> You can return directly ret, instead last 4 lines.
Hi, leon
     We have fixed it.
     And Oulijun have sent PATCH V10. Thanks

Regards
Wei Hu
>
>> +}
>> +

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web