RDMA/hns: Bugfix for qpc/cqc timer configuration
authorYangyang Li <liyangyang20@huawei.com>
Thu, 24 Oct 2019 09:21:57 +0000 (17:21 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 28 Oct 2019 16:33:06 +0000 (13:33 -0300)
commit887803db866a7a4e1817a3cb8a3eee4e9879fed2
tree5686bbf1c4bbecb6a1f8e3e4601be3e149f0ffad
parent5c7e76fb7cb5071be800c938ebf2c475e140d3f0
RDMA/hns: Bugfix for qpc/cqc timer configuration

qpc/cqc timer entry size needs one page, but currently they are fixedly
configured to 4096, which is not appropriate in 64K page scenarios. So
they should be modified to PAGE_SIZE.

Fixes: 0e40dc2f70cd ("RDMA/hns: Add timer allocation support for hip08")
Link: https://lore.kernel.org/r/1571908917-16220-3-git-send-email-liweihang@hisilicon.com
Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.h