mbox series

[v2,for-next,0/4] RDMA/hns: Extend some capabilities for HIP09

Message ID 1597929469-22674-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Extend some capabilities for HIP09 | expand

Message

Weihang Li Aug. 20, 2020, 1:17 p.m. UTC
HIP09 supports larger entries/contexts to improve the performance of bus or
exchange more information with the hardware. The capbilities changes from
HIP08 to HIP09 is as follows:
- CEQE: 4B -> 64B
- AEQE: 16B -> 64B
- CQE: 32B -> 64B
- QPC: 256B -> 512B

Previous discussions can be found at:
v1: https://patchwork.kernel.org/cover/11718143/

Changes since v1:
- Fix comments from Lang Cheng about redundant comments and type of
  reserved fields in structure of eqe.
- Rename some variables.

Wenpeng Liang (3):
  RDMA/hns: Add support for EQE in size of 64 Bytes
  RDMA/hns: Add support for CQE in size of 64 Bytes
  RDMA/hns: Add support for QPC in size of 512 Bytes

Xi Wang (1):
  RDMA/hns: Export hardware capability flags to userspace

 drivers/infiniband/hw/hns/hns_roce_cq.c     | 19 ++++++-
 drivers/infiniband/hw/hns/hns_roce_device.h | 25 ++++++---
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c  | 17 +++----
 drivers/infiniband/hw/hns/hns_roce_hw_v1.h  |  4 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 79 ++++++++++++++++++++---------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  | 18 ++++---
 drivers/infiniband/hw/hns/hns_roce_main.c   |  5 +-
 include/uapi/rdma/hns-abi.h                 |  4 ++
 8 files changed, 121 insertions(+), 50 deletions(-)