mbox series

[v2,for-next,0/6] RDMA/hns: Support RoCE on virtual functions of HIP09

Message ID 1617715514-29039-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Support RoCE on virtual functions of HIP09 | expand

Message

Weihang Li April 6, 2021, 1:25 p.m. UTC
This series first do necessary refactor on function's resource code to
reduce the complexity of subsequent patches. Then the RoCE support for VFs
is introduced.

Changes since v1:
- Simplify hr_reg_read() by FIELD_GET in #1.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/1617353896-40727-1-git-send-email-liweihang@huawei.com/

Wei Xu (4):
  RDMA/hns: Query the number of functions supported by the PF
  RDMA/hns: Reserve the resource for the VFs
  RDMA/hns: Set parameters of all the functions belong to a PF
  RDMA/hns: Enable RoCE on virtual functions

Xi Wang (2):
  RDMA/hns: Simplify function's resource related command
  RDMA/hns: Remove duplicated hem page size config code

 drivers/infiniband/hw/hns/hns_roce_common.h |  10 +
 drivers/infiniband/hw/hns/hns_roce_device.h |   6 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 553 ++++++++++++++++------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  | 236 +++---------
 4 files changed, 385 insertions(+), 420 deletions(-)

Comments

Jason Gunthorpe April 13, 2021, 11:03 p.m. UTC | #1
On Tue, Apr 06, 2021 at 09:25:08PM +0800, Weihang Li wrote:
> This series first do necessary refactor on function's resource code to
> reduce the complexity of subsequent patches. Then the RoCE support for VFs
> is introduced.
> 
> Changes since v1:
> - Simplify hr_reg_read() by FIELD_GET in #1.
> - Link: https://patchwork.kernel.org/project/linux-rdma/cover/1617353896-40727-1-git-send-email-liweihang@huawei.com/
> 
> Wei Xu (4):
>   RDMA/hns: Query the number of functions supported by the PF
>   RDMA/hns: Reserve the resource for the VFs
>   RDMA/hns: Set parameters of all the functions belong to a PF
>   RDMA/hns: Enable RoCE on virtual functions
> 
> Xi Wang (2):
>   RDMA/hns: Simplify function's resource related command
>   RDMA/hns: Remove duplicated hem page size config code

Applied to for-next, thanks

Jason