RDMA/hns: Let software PI/CI grow naturally
authorLang Cheng <chenglang@huawei.com>
Wed, 20 May 2020 13:53:11 +0000 (21:53 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 May 2020 17:02:11 +0000 (14:02 -0300)
commit25966e893143f1cf9b1294bc6e33e3a6b51ed2ad
tree83dedd441c44df72f24a73cc11a45ffc5976535a
parenta94dae867c5663f36c950b82832e146a6c2f0e42
RDMA/hns: Let software PI/CI grow naturally

The hardware can truncate PI/CI when posting or polling, the driver does
not need to do truncation. Therefore keep the software's PI/CI consistent
with it in the hardware.

Link: https://lore.kernel.org/r/1589982799-28728-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@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c