]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Store mr len information into mr obj
authorLang Cheng <chenglang@huawei.com>
Fri, 8 May 2020 09:45:56 +0000 (17:45 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 May 2020 23:54:58 +0000 (20:54 -0300)
commit0062a8110296fd51bc3770e8208e534c3e09bcc5
tree04e123f04b6ed05e853cb76eeb2934ea5fe751c8
parentfa85ff332dd8787e0e8111101e353aeee148bdfb
RDMA/hns: Store mr len information into mr obj

The length information should be stored in the struct ib_mr object,
otherwise the length value of a valid mr object would always be 0.

Link: https://lore.kernel.org/r/1588931159-56875-7-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>
drivers/infiniband/hw/hns/hns_roce_mr.c