mbox series

[RESEND,v2,for-next,0/7] RDMA/hns: Use new interfaces to write/read fields

Message ID 1622624265-44796-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Use new interfaces to write/read fields | expand

Message

Weihang Li June 2, 2021, 8:57 a.m. UTC
hr_reg_*() is simpler than roce_set_*(), and the field/bit can be generated
automatically and accurately.

Changes since v1:
* Add a patch to fix gcc warnings about PREP_FIELD().
* Fix a typo in #5.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/1622281154-49867-1-git-send-email-liweihang@huawei.com/

Lang Cheng (3):
  RDMA/hns: Fix potential compile warnings on hr_reg_write()
  RDMA/hns: Use new interface to modify QP context
  RDMA/hns: Use new interface to get CQE fields

Xi Wang (1):
  RDMA/hns: Clean SRQC structure definition

Yixing Liu (3):
  RDMA/hns: Use new interface to write CQ context.
  RDMA/hns: Use new interface to write FRMR fields
  RDMA/hns: Use new interface to write DB related fields

 drivers/infiniband/hw/hns/hns_roce_common.h |    6 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 1065 +++++++++------------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  862 +++++++---------------
 3 files changed, 644 insertions(+), 1289 deletions(-)