mbox series

[v2,for-next,0/3] RDMA/hns: Cleanups on CMDQ

Message ID 1621482876-35780-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Cleanups on CMDQ | expand

Message

Weihang Li May 20, 2021, 3:54 a.m. UTC
This series first rename the CMDQ pointers to make it better
understandable, then remove some dead code.

Changes since v1:
* Remove the print in hns_roce_alloc_cmq_desc() in #2 because the caller
  already has a print.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/1620904578-29829-1-git-send-email-liweihang@huawei.com/

Lang Cheng (3):
  RDMA/hns: Rename CMDQ head/tail pointer to PI/CI
  RDMA/hns: Remove Receive Queue of CMDQ
  RDMA/hns: Remove unused CMDQ member

 drivers/infiniband/hw/hns/hns_roce_common.h |   4 +-
 drivers/infiniband/hw/hns/hns_roce_device.h |   1 -
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 103 ++++++++--------------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |   1 -
 4 files changed, 30 insertions(+), 79 deletions(-)

Comments

Jason Gunthorpe May 20, 2021, 3:41 p.m. UTC | #1
On Thu, May 20, 2021 at 11:54:33AM +0800, Weihang Li wrote:
> This series first rename the CMDQ pointers to make it better
> understandable, then remove some dead code.
> 
> Changes since v1:
> * Remove the print in hns_roce_alloc_cmq_desc() in #2 because the caller
>   already has a print.
> * Link: https://patchwork.kernel.org/project/linux-rdma/cover/1620904578-29829-1-git-send-email-liweihang@huawei.com/
> 
> Lang Cheng (3):
>   RDMA/hns: Rename CMDQ head/tail pointer to PI/CI
>   RDMA/hns: Remove Receive Queue of CMDQ
>   RDMA/hns: Remove unused CMDQ member

Applied to for-next, thanks

Jason