mbox series

[v2,for-next,0/5] RDMA/hns: Refactor and reorganization

Message ID 1616815294-13434-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Refactor and reorganization | expand

Message

Weihang Li March 27, 2021, 3:21 a.m. UTC
Refactor the process of polling CQ and several control paths in the hns
driver.

Changes since v1:
- Avoid wrapping a function in another one.
- Make a rebase.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/1615972183-42510-1-git-send-email-liweihang@huawei.com/

P.S. This version is made based on "RDMA/hns: Support to select congestion
control algorithm" at https://patchwork.kernel.org/project/linux-rdma/cover/1616679236-7795-1-git-send-email-liweihang@huawei.com/
Sorry for just finding out there's merge conflict between these two series,
I will send a new version ASAP if something needs to be updated.

Weihang Li (1):
  RDMA/hns: Refactor hns_roce_v2_poll_one()

Xi Wang (3):
  RDMA/hns: Refactor reset state checking flow
  RDMA/hns: Reorganize process of setting HEM
  RDMA/hns: Simplify command fields for HEM base address configuration

Yixing Liu (1):
  RDMA/hns: Reorganize hns_roce_create_cq()

 drivers/infiniband/hw/hns/hns_roce_cmd.c    |  35 +-
 drivers/infiniband/hw/hns/hns_roce_cq.c     |  86 ++-
 drivers/infiniband/hw/hns/hns_roce_device.h |  11 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |   2 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 971 +++++++++++++++-------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  | 116 ++--
 6 files changed, 625 insertions(+), 596 deletions(-)

Comments

Jason Gunthorpe April 1, 2021, 7:14 p.m. UTC | #1
On Sat, Mar 27, 2021 at 11:21:29AM +0800, Weihang Li wrote:
> Refactor the process of polling CQ and several control paths in the hns
> driver.
> 
> Changes since v1:
> - Avoid wrapping a function in another one.
> - Make a rebase.
> - Link: https://patchwork.kernel.org/project/linux-rdma/cover/1615972183-42510-1-git-send-email-liweihang@huawei.com/
> 
> P.S. This version is made based on "RDMA/hns: Support to select congestion
> control algorithm" at https://patchwork.kernel.org/project/linux-rdma/cover/1616679236-7795-1-git-send-email-liweihang@huawei.com/
> Sorry for just finding out there's merge conflict between these two series,
> I will send a new version ASAP if something needs to be updated.
> 
> Weihang Li (1):
>   RDMA/hns: Refactor hns_roce_v2_poll_one()
> 
> Xi Wang (3):
>   RDMA/hns: Refactor reset state checking flow
>   RDMA/hns: Reorganize process of setting HEM
>   RDMA/hns: Simplify command fields for HEM base address configuration
> 
> Yixing Liu (1):
>   RDMA/hns: Reorganize hns_roce_create_cq()

Applied to for-next, thanks

Jason