[PATCH v4 for-next 0/4] RDMA/hns: Extend some capabilities for HIP09

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
- SCCC: 32B -> 64B

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

Changes since v3:
- Fix comments from Jason in #2 about the length of buffer to copy.

Changes since v2:
- Fix comments from Jason about passing cap_flags to the userspace and drop
  #1 from this series.
- Add a new patch to support SCCC in size of 64 Bytes.

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

Yangyang Li (1):
  RDMA/hns: Add support for SCCC in size of 64 Bytes

 drivers/infiniband/hw/hns/hns_roce_cq.c     |  22 ++++-
 drivers/infiniband/hw/hns/hns_roce_device.h |  27 +++--
 drivers/infiniband/hw/hns/hns_roce_hem.c    |   2 +-
 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  | 147 ++++++++++++++++++++++------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  38 +++++--
 drivers/infiniband/hw/hns/hns_roce_main.c   |  10 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c     |   2 +-
 include/uapi/rdma/hns-abi.h                 |   4 +-
 10 files changed, 207 insertions(+), 66 deletions(-)

-- 
2.8.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux