linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 for-next 0/4] RDMA/hns: Extend some capabilities for HIP09
@ 2020-08-20 13:17 Weihang Li
  2020-08-20 13:17 ` [PATCH v2 for-next 1/4] RDMA/hns: Export hardware capability flags to userspace Weihang Li
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Weihang Li @ 2020-08-20 13:17 UTC (permalink / raw)
  To: dledford, jgg; +Cc: leon, linux-rdma, linuxarm

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(-)

-- 
2.8.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-31  7:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 13:17 [PATCH v2 for-next 0/4] RDMA/hns: Extend some capabilities for HIP09 Weihang Li
2020-08-20 13:17 ` [PATCH v2 for-next 1/4] RDMA/hns: Export hardware capability flags to userspace Weihang Li
2020-08-27 12:40   ` Jason Gunthorpe
2020-08-31  7:46     ` liweihang
2020-08-20 13:17 ` [PATCH v2 for-next 2/4] RDMA/hns: Add support for EQE in size of 64 Bytes Weihang Li
2020-08-20 13:17 ` [PATCH v2 for-next 3/4] RDMA/hns: Add support for CQE " Weihang Li
2020-08-20 13:17 ` [PATCH v2 for-next 4/4] RDMA/hns: Add support for QPC in size of 512 Bytes Weihang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).