RDMA/hns: Add support for QP stash
authorLang Cheng <chenglang@huawei.com>
Thu, 26 Nov 2020 07:04:11 +0000 (15:04 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 27 Nov 2020 16:53:59 +0000 (12:53 -0400)
commitf93c39bc95472dae3b5de71da5c005f47ece3148
tree1e96c30836bdbd834458331b6e73b12fd671be3a
parentbfefae9f108dfa62eb9c16c9e97086fddb4ece04
RDMA/hns: Add support for QP stash

Stash is a mechanism that uses the core information carried by the ARM AXI
bus to access the L3 cache. It can be used to improve the performance by
increasing the hit ratio of L3 cache. QPs need to enable stash by default.

Link: https://lore.kernel.org/r/1606374251-21512-3-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_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h