]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Enable all CMDQ context
authorLang Cheng <chenglang@huawei.com>
Thu, 1 Apr 2021 07:32:19 +0000 (15:32 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 8 Apr 2021 19:05:03 +0000 (16:05 -0300)
commitb9bd57056d6c27d0ef83b602c3d8f0f8c07f85fc
treeee01a88e9ee98fba161a05d2e345cea6cffc5e96
parent4336ee2bd018526c4048cf28e32749a813c898fc
RDMA/hns: Enable all CMDQ context

Fix error of cmd's context number calculation algorithm to enable all of
32 cmd entries and support 32 concurrent accesses.

Link: https://lore.kernel.org/r/1617262341-37571-2-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@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cmd.c
drivers/infiniband/hw/hns/hns_roce_device.h