All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/2] RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()/roce_get_xxx()
@ 2022-05-12  8:00 Wenpeng Liang
  2022-05-12  8:00 ` [PATCH for-next 1/2] RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx() Wenpeng Liang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wenpeng Liang @ 2022-05-12  8:00 UTC (permalink / raw)
  To: jgg, leon; +Cc: linux-rdma, linuxarm, liangwenpeng

The current hns driver still partially uses roce_set_xxx()/roce_get_xxx()
to write and read data fields. To make the code clearer, replace all
roce_set_xxx()/roce_get_xxx() with hr_reg_xxx().

Wenpeng Liang (2):
  RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()
  RDMA/hns: Use hr_reg_read() instead of remaining roce_get_xxx()

 drivers/infiniband/hw/hns/hns_roce_device.h   |  14 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c    | 398 ++++++------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h    | 324 +++++---------
 drivers/infiniband/hw/hns/hns_roce_restrack.c |  49 +--
 4 files changed, 261 insertions(+), 524 deletions(-)

--
2.33.0


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

end of thread, other threads:[~2022-05-12 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-12  8:00 [PATCH for-next 0/2] RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()/roce_get_xxx() Wenpeng Liang
2022-05-12  8:00 ` [PATCH for-next 1/2] RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx() Wenpeng Liang
2022-05-12  8:00 ` [PATCH for-next 2/2] RDMA/hns: Use hr_reg_read() instead of remaining roce_get_xxx() Wenpeng Liang
2022-05-12 17:47 ` [PATCH for-next 0/2] RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()/roce_get_xxx() Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.