RDMA/hns: Add support for CQE in size of 64 Bytes
authorWenpeng Liang <liangwenpeng@huawei.com>
Wed, 16 Sep 2020 08:43:24 +0000 (16:43 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Sep 2020 18:35:11 +0000 (15:35 -0300)
commit09a5f210f67eea4a2176820c3bc398747a564705
treec72a7972ce75ecede91a9344dc5db8953cad0732
parent247fc16d734d9b9e6e4e952db39515231867bda5
RDMA/hns: Add support for CQE in size of 64 Bytes

The new version of RoCEE supports using CQE in size of 32B or 64B. The
performance of bus can be improved by using larger size of CQE.

Link: https://lore.kernel.org/r/1600245806-56321-3-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cq.c
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
drivers/infiniband/hw/hns/hns_roce_main.c
include/uapi/rdma/hns-abi.h