mbox series

[v2,for-next,0/7] RDMA/hns: Refactor qp related code

Message ID 1581325720-12975-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Refactor qp related code | expand

Message

Weihang Li Feb. 10, 2020, 9:08 a.m. UTC
This series refactor qp related code, including creating, destroying qp and
so on to make the processs easier to understand and maintain.

Previous disscussion can be found at:
https://patchwork.kernel.org/cover/11341265/

Changes since v1:
- Reduce the number of prints as Leon suggested.
- Fix a wrong function name in description of patch 4/7.

Xi Wang (7):
  RDMA/hns: Optimize qp destroy flow
  RDMA/hns: Optimize qp context create and destroy flow
  RDMA/hns: Optimize qp number assign flow
  RDMA/hns: Optimize qp buffer allocation flow
  RDMA/hns: Optimize qp param setup flow
  RDMA/hns: Optimize kernel qp wrid allocation flow
  RDMA/hns: Optimize qp doorbell allocation flow

 drivers/infiniband/hw/hns/hns_roce_device.h |   6 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |  19 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  |  43 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c     | 788 ++++++++++++++++------------
 4 files changed, 446 insertions(+), 410 deletions(-)

Comments

Jason Gunthorpe Feb. 19, 2020, 12:52 a.m. UTC | #1
On Mon, Feb 10, 2020 at 05:08:33PM +0800, Weihang Li wrote:
> This series refactor qp related code, including creating, destroying qp and
> so on to make the processs easier to understand and maintain.
> 
> Previous disscussion can be found at:
> https://patchwork.kernel.org/cover/11341265/
> 
> Changes since v1:
> - Reduce the number of prints as Leon suggested.
> - Fix a wrong function name in description of patch 4/7.
>
> Xi Wang (7):
>   RDMA/hns: Optimize qp destroy flow
>   RDMA/hns: Optimize qp context create and destroy flow
>   RDMA/hns: Optimize qp number assign flow
>   RDMA/hns: Optimize qp buffer allocation flow
>   RDMA/hns: Optimize qp param setup flow
>   RDMA/hns: Optimize kernel qp wrid allocation flow
>   RDMA/hns: Optimize qp doorbell allocation flow

These don't apply, please resend.

Jason
Weihang Li Feb. 19, 2020, 8:22 a.m. UTC | #2
On 2020/2/19 8:52, Jason Gunthorpe wrote:
> On Mon, Feb 10, 2020 at 05:08:33PM +0800, Weihang Li wrote:
>> This series refactor qp related code, including creating, destroying qp and
>> so on to make the processs easier to understand and maintain.
>>
>> Previous disscussion can be found at:
>> https://patchwork.kernel.org/cover/11341265/
>>
>> Changes since v1:
>> - Reduce the number of prints as Leon suggested.
>> - Fix a wrong function name in description of patch 4/7.
>>
>> Xi Wang (7):
>>   RDMA/hns: Optimize qp destroy flow
>>   RDMA/hns: Optimize qp context create and destroy flow
>>   RDMA/hns: Optimize qp number assign flow
>>   RDMA/hns: Optimize qp buffer allocation flow
>>   RDMA/hns: Optimize qp param setup flow
>>   RDMA/hns: Optimize kernel qp wrid allocation flow
>>   RDMA/hns: Optimize qp doorbell allocation flow
> 
> These don't apply, please resend.
> 
> Jason
> 

OK, will resend a new version. Thank you.

Weihang

>