linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next 0/8] RDMA/hns: Clean up and refactor mailbox-related code
@ 2022-02-18 11:05 Wenpeng Liang
  2022-02-18 11:05 ` [PATCH for-next 1/8] RDMA/hns: Remove the unused parameter "op_modifier" in mailbox Wenpeng Liang
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Wenpeng Liang @ 2022-02-18 11:05 UTC (permalink / raw)
  To: jgg, leon; +Cc: linux-rdma, linuxarm, liangwenpeng

Mailbox-related code is getting harder to maintain. Especially after
removing the HIP06 code, the mailbox-related code needs to be cleaned
and refactored more urgently.

The following is the basic information of each patch
(1) #1~#4: Preparing for refactoring
(2) #5: Formal Refactoring
(3) #6~#7: Follow-up cleanup

Chengchang Tang (5):
  RDMA/hns: Remove the unused parameter "op_modifier" in mailbox
  RDMA/hns: Remove fixed parameter “timeout” in the mailbox
  RDMA/hns: Refactor mailbox functions
  RDMA/hns: Remove similar code that configures the hardware contexts
  RDMA/hns: Refactor the alloc_srqc()

Wenpeng Liang (3):
  RDMA/hns: Remove redundant parameter "mailbox" in the mailbox
  RDMA/hns: Fix the wrong type of parameter "op" of the mailbox
  RDMA/hns: Refactor the alloc_cqc()

 drivers/infiniband/hw/hns/hns_roce_cmd.c      | 108 +++++++------
 drivers/infiniband/hw/hns/hns_roce_cmd.h      |   8 +-
 drivers/infiniband/hw/hns/hns_roce_cq.c       |  71 +++++----
 drivers/infiniband/hw/hns/hns_roce_device.h   |  24 +--
 drivers/infiniband/hw/hns/hns_roce_hem.c      |   4 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c    | 143 ++++++++----------
 .../infiniband/hw/hns/hns_roce_hw_v2_dfx.c    |   5 +-
 drivers/infiniband/hw/hns/hns_roce_mr.c       |  38 ++---
 drivers/infiniband/hw/hns/hns_roce_srq.c      | 104 +++++++------
 9 files changed, 260 insertions(+), 245 deletions(-)

--
2.33.0


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

end of thread, other threads:[~2022-02-25 10:53 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 11:05 [PATCH for-next 0/8] RDMA/hns: Clean up and refactor mailbox-related code Wenpeng Liang
2022-02-18 11:05 ` [PATCH for-next 1/8] RDMA/hns: Remove the unused parameter "op_modifier" in mailbox Wenpeng Liang
2022-02-24 13:30   ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 2/8] RDMA/hns: Remove fixed parameter “timeout” in the mailbox Wenpeng Liang
2022-02-24 13:31   ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 3/8] RDMA/hns: Remove redundant parameter "mailbox" " Wenpeng Liang
2022-02-24 13:31   ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 4/8] RDMA/hns: Fix the wrong type of parameter "op" of " Wenpeng Liang
2022-02-24 13:31   ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 5/8] RDMA/hns: Refactor mailbox functions Wenpeng Liang
2022-02-24 13:30   ` Leon Romanovsky
2022-02-25 10:50     ` Wenpeng Liang
2022-02-18 11:05 ` [PATCH for-next 6/8] RDMA/hns: Remove similar code that configures the hardware contexts Wenpeng Liang
2022-02-24 13:32   ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 7/8] RDMA/hns: Refactor the alloc_srqc() Wenpeng Liang
2022-02-24 13:35   ` Leon Romanovsky
2022-02-25 10:53     ` Wenpeng Liang
2022-02-18 11:05 ` [PATCH for-next 8/8] RDMA/hns: Refactor the alloc_cqc() Wenpeng Liang

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