diff options
author | Lang Cheng <chenglang@huawei.com> | 2020-03-12 12:50:24 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-19 01:30:36 +0300 |
commit | 026ded373483c07983a6a30b70034ad0f3667a44 (patch) | |
tree | 42e7113ade99fb568f136025157c35a8cfb5c3a8 /drivers/infiniband/sw | |
parent | 4b34e23f4eaa236b918886fb90f468a6aa04997f (diff) | |
download | linux-026ded373483c07983a6a30b70034ad0f3667a44.tar.xz |
RDMA/hns: Check if depth of qp is 0 before configure
Depth of qp shouldn't be allowed to be set to zero, after ensuring that,
subsequent process can be simplified. And when qp is changed from reset to
reset, the capability of minimum qp depth was used to identify hardware of
hip06, it should be changed into a more readable form.
Link: https://lore.kernel.org/r/1584006624-11846-1-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions