Re: [PATCH for-next 6/8] RDMA/hns: Remove similar code that configures the hardware contexts

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

 



On Fri, Feb 18, 2022 at 07:05:17PM +0800, Wenpeng Liang wrote:
> From: Chengchang Tang <tangchengchang@xxxxxxxxxx>
> 
> Remove duplicate code for creating and destroying hardware contexts via
> mailbox.
> 
> Signed-off-by: Chengchang Tang <tangchengchang@xxxxxxxxxx>
> Signed-off-by: Wenpeng Liang <liangwenpeng@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/hns/hns_roce_cmd.c    | 12 +++++++++
>  drivers/infiniband/hw/hns/hns_roce_cmd.h    |  5 ++++
>  drivers/infiniband/hw/hns/hns_roce_cq.c     |  8 +++---
>  drivers/infiniband/hw/hns/hns_roce_device.h |  2 --
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  |  4 +--
>  drivers/infiniband/hw/hns/hns_roce_mr.c     | 29 ++++++---------------
>  drivers/infiniband/hw/hns/hns_roce_srq.c    | 20 +++-----------
>  7 files changed, 35 insertions(+), 45 deletions(-)
> 

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>



[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