[PATCH for-next 0/2] RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()/roce_get_xxx()

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

 



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




[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