mbox series

[v2,for-next,0/5] RDMA/hns: Fix and refactor CMDQ related code

Message ID 1612688143-28226-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Fix and refactor CMDQ related code | expand

Message

Weihang Li Feb. 7, 2021, 8:55 a.m. UTC
Remove some dead code in process of CMDQ transmission, and fix an issue
about missing error code.

Changes since v1:
* Drop #2 from the v1 series because the compatibility with the firmware
  needs to be considered.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/1612419786-39173-1-git-send-email-liweihang@huawei.com/

Lang Cheng (5):
  RDMA/hns: Remove unused member and variable of CMDQ
  RDMA/hns: Fixes missing error code of CMDQ
  RDMA/hns: Remove redundant operations on CMDQ
  RDMA/hns: Adjust fields and variables about CMDQ tail/head
  RDMA/hns: Refactor process of posting CMDQ

 drivers/infiniband/hw/hns/hns_roce_common.h |   4 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 125 ++++++++--------------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |   5 --
 3 files changed, 37 insertions(+), 97 deletions(-)

Comments

Jason Gunthorpe Feb. 9, 2021, 7:37 p.m. UTC | #1
On Sun, Feb 07, 2021 at 04:55:38PM +0800, Weihang Li wrote:
> Remove some dead code in process of CMDQ transmission, and fix an issue
> about missing error code.
> 
> Changes since v1:
> * Drop #2 from the v1 series because the compatibility with the firmware
>   needs to be considered.
> * Link: https://patchwork.kernel.org/project/linux-rdma/cover/1612419786-39173-1-git-send-email-liweihang@huawei.com/
> 
> Lang Cheng (5):
>   RDMA/hns: Remove unused member and variable of CMDQ
>   RDMA/hns: Fixes missing error code of CMDQ
>   RDMA/hns: Remove redundant operations on CMDQ
>   RDMA/hns: Adjust fields and variables about CMDQ tail/head
>   RDMA/hns: Refactor process of posting CMDQ

Applied to for-next, thanks

Jason