OSDN Git Service

RDMA/hns: Modify ba page size for cqe
authorYangyang Li <liyangyang20@huawei.com>
Mon, 24 Jun 2019 11:47:47 +0000 (19:47 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 5 Jul 2019 15:02:00 +0000 (12:02 -0300)
commitf5662b4ddc9db20033f310694edbd3fc7041f6f2
tree061030dc19915ac05253416430607922db908e15
parent21b97f538765996ac76b3a99adf371d0da5450f9
RDMA/hns: Modify ba page size for cqe

Currently, the depth of cq only supports 64K.  According to the UM, the
depth of cq is up to 4M, Therefore the ba page size of cqe was modified to
support the maximum specification of cq depth.

Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c