mbox series

[for-next,0/9] RDMA/hns: Various fixes and cleanups

Message ID 1588931159-56875-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Various fixes and cleanups | expand

Message

Weihang Li May 8, 2020, 9:45 a.m. UTC
This series contains the following:
- #1 ~ #2 are fixes to solve issues found from previous versions.
- #3 ~ #5 are fixes for recent refactoring codes to 5.8.
- #6 ~ #9 are various cleanups.

Lang Cheng (2):
  RDMA/hns: Fix cmdq parameter of querying pf timer resource
  RDMA/hns: Store mr len information into mr obj

Lijun Ou (2):
  RDMA/hns: Bugfix for querying qkey
  RDMA/hns: Reserve one sge in order to avoid local length error

Weihang Li (3):
  RDMA/hns: Fix wrong assignment of SRQ's max_wr
  RDMA/hns: Fix error with to_hr_hem_entries_count()
  RDMA/hns: Remove redundant memcpy()

Wenpeng Liang (1):
  RDMA/hns: Fix assignment to ba_pg_sz of eqe

Xi Wang (1):
  RDMA/hns: Rename macro for defining hns hardware page size

 drivers/infiniband/hw/hns/hns_roce_alloc.c  |  6 ++--
 drivers/infiniband/hw/hns/hns_roce_cq.c     |  4 +--
 drivers/infiniband/hw/hns/hns_roce_device.h | 15 +++++---
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 53 ++++++++++++-----------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  4 ++-
 drivers/infiniband/hw/hns/hns_roce_mr.c     |  8 +++--
 drivers/infiniband/hw/hns/hns_roce_qp.c     |  9 ++---
 drivers/infiniband/hw/hns/hns_roce_srq.c    | 10 +++---
 8 files changed, 56 insertions(+), 53 deletions(-)

Comments

Weihang Li May 22, 2020, 7:39 a.m. UTC | #1
On 2020/5/8 17:46, Weihang Li wrote:
> This series contains the following:
> - #1 ~ #2 are fixes to solve issues found from previous versions.
> - #3 ~ #5 are fixes for recent refactoring codes to 5.8.
> - #6 ~ #9 are various cleanups.
> 
> Lang Cheng (2):
>   RDMA/hns: Fix cmdq parameter of querying pf timer resource
>   RDMA/hns: Store mr len information into mr obj
> 
> Lijun Ou (2):
>   RDMA/hns: Bugfix for querying qkey
>   RDMA/hns: Reserve one sge in order to avoid local length error
> 
> Weihang Li (3):
>   RDMA/hns: Fix wrong assignment of SRQ's max_wr
>   RDMA/hns: Fix error with to_hr_hem_entries_count()
>   RDMA/hns: Remove redundant memcpy()
> 
> Wenpeng Liang (1):
>   RDMA/hns: Fix assignment to ba_pg_sz of eqe
> 
> Xi Wang (1):
>   RDMA/hns: Rename macro for defining hns hardware page size
> 
>  drivers/infiniband/hw/hns/hns_roce_alloc.c  |  6 ++--
>  drivers/infiniband/hw/hns/hns_roce_cq.c     |  4 +--
>  drivers/infiniband/hw/hns/hns_roce_device.h | 15 +++++---
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 53 ++++++++++++-----------------
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  4 ++-
>  drivers/infiniband/hw/hns/hns_roce_mr.c     |  8 +++--
>  drivers/infiniband/hw/hns/hns_roce_qp.c     |  9 ++---
>  drivers/infiniband/hw/hns/hns_roce_srq.c    | 10 +++---
>  8 files changed, 56 insertions(+), 53 deletions(-)
> 

Hi Jason,

I notice that this series has been marked as "Accepted" on patchwork,
but I can't find them on your for-next branch. Maybe there is something
wrong :)

Thank you
Weihang
Weihang Li May 22, 2020, 9:01 a.m. UTC | #2
On 2020/5/22 15:39, liweihang wrote:
> On 2020/5/8 17:46, Weihang Li wrote:
>> This series contains the following:
>> - #1 ~ #2 are fixes to solve issues found from previous versions.
>> - #3 ~ #5 are fixes for recent refactoring codes to 5.8.
>> - #6 ~ #9 are various cleanups.
>>
>> Lang Cheng (2):
>>   RDMA/hns: Fix cmdq parameter of querying pf timer resource
>>   RDMA/hns: Store mr len information into mr obj
>>
>> Lijun Ou (2):
>>   RDMA/hns: Bugfix for querying qkey
>>   RDMA/hns: Reserve one sge in order to avoid local length error
>>
>> Weihang Li (3):
>>   RDMA/hns: Fix wrong assignment of SRQ's max_wr
>>   RDMA/hns: Fix error with to_hr_hem_entries_count()
>>   RDMA/hns: Remove redundant memcpy()
>>
>> Wenpeng Liang (1):
>>   RDMA/hns: Fix assignment to ba_pg_sz of eqe
>>
>> Xi Wang (1):
>>   RDMA/hns: Rename macro for defining hns hardware page size
>>
>>  drivers/infiniband/hw/hns/hns_roce_alloc.c  |  6 ++--
>>  drivers/infiniband/hw/hns/hns_roce_cq.c     |  4 +--
>>  drivers/infiniband/hw/hns/hns_roce_device.h | 15 +++++---
>>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 53 ++++++++++++-----------------
>>  drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  4 ++-
>>  drivers/infiniband/hw/hns/hns_roce_mr.c     |  8 +++--
>>  drivers/infiniband/hw/hns/hns_roce_qp.c     |  9 ++---
>>  drivers/infiniband/hw/hns/hns_roce_srq.c    | 10 +++---
>>  8 files changed, 56 insertions(+), 53 deletions(-)
>>
> 
> Hi Jason,
> 
> I notice that this series has been marked as "Accepted" on patchwork,
> but I can't find them on your for-next branch. Maybe there is something
> wrong :)
> 

Sorry, I just saw them on your branch.

Thanks
Weihang
Jason Gunthorpe May 22, 2020, 2:28 p.m. UTC | #3
On Fri, May 22, 2020 at 07:39:31AM +0000, liweihang wrote:
> On 2020/5/8 17:46, Weihang Li wrote:
> > This series contains the following:
> > - #1 ~ #2 are fixes to solve issues found from previous versions.
> > - #3 ~ #5 are fixes for recent refactoring codes to 5.8.
> > - #6 ~ #9 are various cleanups.
> > 
> > Lang Cheng (2):
> >   RDMA/hns: Fix cmdq parameter of querying pf timer resource
> >   RDMA/hns: Store mr len information into mr obj
> > 
> > Lijun Ou (2):
> >   RDMA/hns: Bugfix for querying qkey
> >   RDMA/hns: Reserve one sge in order to avoid local length error
> > 
> > Weihang Li (3):
> >   RDMA/hns: Fix wrong assignment of SRQ's max_wr
> >   RDMA/hns: Fix error with to_hr_hem_entries_count()
> >   RDMA/hns: Remove redundant memcpy()
> > 
> > Wenpeng Liang (1):
> >   RDMA/hns: Fix assignment to ba_pg_sz of eqe
> > 
> > Xi Wang (1):
> >   RDMA/hns: Rename macro for defining hns hardware page size
> > 
> >  drivers/infiniband/hw/hns/hns_roce_alloc.c  |  6 ++--
> >  drivers/infiniband/hw/hns/hns_roce_cq.c     |  4 +--
> >  drivers/infiniband/hw/hns/hns_roce_device.h | 15 +++++---
> >  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 53 ++++++++++++-----------------
> >  drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  4 ++-
> >  drivers/infiniband/hw/hns/hns_roce_mr.c     |  8 +++--
> >  drivers/infiniband/hw/hns/hns_roce_qp.c     |  9 ++---
> >  drivers/infiniband/hw/hns/hns_roce_srq.c    | 10 +++---
> >  8 files changed, 56 insertions(+), 53 deletions(-)
> > 
> 
> Hi Jason,
> 
> I notice that this series has been marked as "Accepted" on patchwork,
> but I can't find them on your for-next branch. Maybe there is something
> wrong :)

It is in the wip branch waiting on 0-day to test compile it

Jason