mbox series

[for-next,0/3] RDMA/hns: Use ida to manage some index of resources and remove unused bitmap

Message ID 1629336980-17499-1-git-send-email-liangwenpeng@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Use ida to manage some index of resources and remove unused bitmap | expand

Message

Wenpeng Liang Aug. 19, 2021, 1:36 a.m. UTC
Use the ida interface to replace hns' own bitmap interface. The previous
ida patchset has replaced qp, cq, mr, pd, and xrcd. This ida patchset
will replace the remaining uar and srq. Since then, all replacements
have been completed.

Link to the previous ida patchset:
https://patchwork.kernel.org/project/linux-rdma/cover/1623325814-55737-1-git-send-email-liweihang@huawei.com/

Yangyang Li (3):
  RDMA/hns: Use IDA interface to manage uar index
  RDMA/hns: Use IDA interface to manage srq index
  RDMA/hns: Delete unused hns bitmap interface

 drivers/infiniband/hw/hns/hns_roce_alloc.c  | 74 +----------------------------
 drivers/infiniband/hw/hns/hns_roce_device.h | 16 ++-----
 drivers/infiniband/hw/hns/hns_roce_main.c   | 31 +++---------
 drivers/infiniband/hw/hns/hns_roce_pd.c     | 31 ++++++------
 drivers/infiniband/hw/hns/hns_roce_srq.c    | 28 +++++------
 5 files changed, 40 insertions(+), 140 deletions(-)

--
2.8.1

Comments

Jason Gunthorpe Aug. 20, 2021, 6:48 p.m. UTC | #1
On Thu, Aug 19, 2021 at 09:36:17AM +0800, Wenpeng Liang wrote:
> Use the ida interface to replace hns' own bitmap interface. The previous
> ida patchset has replaced qp, cq, mr, pd, and xrcd. This ida patchset
> will replace the remaining uar and srq. Since then, all replacements
> have been completed.
> 
> Link to the previous ida patchset:
> https://patchwork.kernel.org/project/linux-rdma/cover/1623325814-55737-1-git-send-email-liweihang@huawei.com/
> 
> Yangyang Li (3):
>   RDMA/hns: Use IDA interface to manage uar index
>   RDMA/hns: Use IDA interface to manage srq index
>   RDMA/hns: Delete unused hns bitmap interface

It looks OK, but doesn't apply. Can you rebase it and resend? Looks
like it was based on the earlier hns patchset

Thanks,
Jason
Wenpeng Liang Aug. 21, 2021, 8:26 a.m. UTC | #2
On 2021/8/21 2:48, Jason Gunthorpe wrote:
> On Thu, Aug 19, 2021 at 09:36:17AM +0800, Wenpeng Liang wrote:
>> Use the ida interface to replace hns' own bitmap interface. The previous
>> ida patchset has replaced qp, cq, mr, pd, and xrcd. This ida patchset
>> will replace the remaining uar and srq. Since then, all replacements
>> have been completed.
>>
>> Link to the previous ida patchset:
>> https://patchwork.kernel.org/project/linux-rdma/cover/1623325814-55737-1-git-send-email-liweihang@huawei.com/
>>
>> Yangyang Li (3):
>>   RDMA/hns: Use IDA interface to manage uar index
>>   RDMA/hns: Use IDA interface to manage srq index
>>   RDMA/hns: Delete unused hns bitmap interface
> 
> It looks OK, but doesn't apply. Can you rebase it and resend? Looks
> like it was based on the earlier hns patchset
> 
> Thanks,
> Jason
> .
> 

I will rebase it and resend.

Thanks,
Wenpeng
Wenpeng Liang Aug. 24, 2021, 9:37 a.m. UTC | #3
On 2021/8/21 16:26, Wenpeng Liang wrote:
> 
> 
> On 2021/8/21 2:48, Jason Gunthorpe wrote:
>> On Thu, Aug 19, 2021 at 09:36:17AM +0800, Wenpeng Liang wrote:
>>> Use the ida interface to replace hns' own bitmap interface. The previous
>>> ida patchset has replaced qp, cq, mr, pd, and xrcd. This ida patchset
>>> will replace the remaining uar and srq. Since then, all replacements
>>> have been completed.
>>>
>>> Link to the previous ida patchset:
>>> https://patchwork.kernel.org/project/linux-rdma/cover/1623325814-55737-1-git-send-email-liweihang@huawei.com/
>>>
>>> Yangyang Li (3):
>>>   RDMA/hns: Use IDA interface to manage uar index
>>>   RDMA/hns: Use IDA interface to manage srq index
>>>   RDMA/hns: Delete unused hns bitmap interface
>>
>> It looks OK, but doesn't apply. Can you rebase it and resend? Looks
>> like it was based on the earlier hns patchset
>>
>> Thanks,
>> Jason
>> .
>>
> 
> I will rebase it and resend.
> 
> Thanks,
> Wenpeng
> .
> 

Hi, Jason
If the jgg-rc-next branch has been revert the patchset
"RDMA/hns: Add support for Dynamic Context Attachment"
(Link:https://patchwork.kernel.org/project/linux-rdma/cover/1627525163-1683-1-git-send -email-liangwenpeng@huawei.com/),
then this patchset can be applied without conflicts, please try again.

Thanks,
Wenpeng
Jason Gunthorpe Aug. 24, 2021, 2:12 p.m. UTC | #4
On Tue, Aug 24, 2021 at 05:37:03PM +0800, Wenpeng Liang wrote:
> 
> On 2021/8/21 16:26, Wenpeng Liang wrote:
> > 
> > 
> > On 2021/8/21 2:48, Jason Gunthorpe wrote:
> >> On Thu, Aug 19, 2021 at 09:36:17AM +0800, Wenpeng Liang wrote:
> >>> Use the ida interface to replace hns' own bitmap interface. The previous
> >>> ida patchset has replaced qp, cq, mr, pd, and xrcd. This ida patchset
> >>> will replace the remaining uar and srq. Since then, all replacements
> >>> have been completed.
> >>>
> >>> Link to the previous ida patchset:
> >>> https://patchwork.kernel.org/project/linux-rdma/cover/1623325814-55737-1-git-send-email-liweihang@huawei.com/
> >>>
> >>> Yangyang Li (3):
> >>>   RDMA/hns: Use IDA interface to manage uar index
> >>>   RDMA/hns: Use IDA interface to manage srq index
> >>>   RDMA/hns: Delete unused hns bitmap interface
> >>
> >> It looks OK, but doesn't apply. Can you rebase it and resend? Looks
> >> like it was based on the earlier hns patchset
> >>
> >> Thanks,
> >> Jason
> >> .
> >>
> > 
> > I will rebase it and resend.
> > 
> > Thanks,
> > Wenpeng
> > .
> > 
> 
> Hi, Jason
> If the jgg-rc-next branch has been revert the patchset
> "RDMA/hns: Add support for Dynamic Context Attachment"
> (Link:https://patchwork.kernel.org/project/linux-rdma/cover/1627525163-1683-1-git-send -email-liangwenpeng@huawei.com/),
> then this patchset can be applied without conflicts, please try again.

Okay, looks good, thanks

Jason