RDMA/hns: Fix missing assignment of max_inline_data
authorWeihang Li <liweihang@huawei.com>
Fri, 2 Apr 2021 09:07:27 +0000 (17:07 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 8 Apr 2021 19:08:21 +0000 (16:08 -0300)
commit9eab614338cdfe08db343954454fa5191d082a11
treeec01fc36a217c431fa41c6a97f040aa61f7ff897
parent24f3f1cd515447207c339f8981d8a709bd949011
RDMA/hns: Fix missing assignment of max_inline_data

When querying QP, the ULPs should be informed of the max length of inline
data supported by the hardware.

Fixes: 30b707886aeb ("RDMA/hns: Support inline data in extented sge space for RC")
Link: https://lore.kernel.org/r/1617354454-47840-3-git-send-email-liweihang@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.c