RDMA/hns: Fix wrong field of SRQ number the device supports
authorWenpeng Liang <liangwenpeng@huawei.com>
Thu, 26 Nov 2020 09:26:52 +0000 (17:26 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 26 Nov 2020 14:57:32 +0000 (10:57 -0400)
commitebed7b7ca47f3aa95ebf2185a526227744616ac1
treea930743180ae52ac51fb3becb347028d542e305e
parent3d2a9d642512c21a12d19b9250e7a835dcb41a79
RDMA/hns: Fix wrong field of SRQ number the device supports

The SRQ capacity is got from the firmware, whose field should be ended at
bit 19.

Fixes: ba6bb7e97421 ("RDMA/hns: Add interfaces to get pf capabilities from firmware")
Link: https://lore.kernel.org/r/1606382812-23636-1-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.h