mbox series

[rdma-next,0/2] Extend mlx5 CQ creation with large UAR page index

Message ID cover.1718554263.git.leon@kernel.org (mailing list archive)
Headers show
Series Extend mlx5 CQ creation with large UAR page index | expand

Message

Leon Romanovsky June 16, 2024, 4:15 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Hi,

This series from Akiva extends the mlx5 private field with the UAR page index
which is larger than 16 bits as was before.

As this is first time, we extend ioctl API with private data field after
it already has UHW object, we need to change create CQ API signature to
support it.

Thanks

Akiva Goldberger (2):
  RDMA: Pass entire uverbs attr bundle to create cq function
  RDMA/mlx5: Send UAR page index as ioctl attribute

 drivers/infiniband/core/uverbs_cmd.c          |  2 +-
 drivers/infiniband/core/uverbs_std_types_cq.c |  2 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.c      |  3 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.h      |  2 +-
 drivers/infiniband/hw/cxgb4/cq.c              |  3 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h        |  2 +-
 drivers/infiniband/hw/efa/efa.h               |  2 +-
 drivers/infiniband/hw/efa/efa_verbs.c         |  3 +-
 drivers/infiniband/hw/erdma/erdma_verbs.c     |  3 +-
 drivers/infiniband/hw/erdma/erdma_verbs.h     |  2 +-
 drivers/infiniband/hw/hns/hns_roce_cq.c       |  3 +-
 drivers/infiniband/hw/hns/hns_roce_device.h   |  2 +-
 drivers/infiniband/hw/irdma/verbs.c           |  5 +--
 drivers/infiniband/hw/mana/cq.c               |  2 +-
 drivers/infiniband/hw/mana/mana_ib.h          |  2 +-
 drivers/infiniband/hw/mlx4/cq.c               |  3 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h          |  2 +-
 drivers/infiniband/hw/mlx5/cq.c               | 31 ++++++++++++++++---
 drivers/infiniband/hw/mlx5/main.c             |  1 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |  3 +-
 drivers/infiniband/hw/mthca/mthca_provider.c  |  3 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c         |  3 +-
 drivers/infiniband/sw/siw/siw_verbs.c         |  2 +-
 drivers/infiniband/sw/siw/siw_verbs.h         |  2 +-
 include/rdma/ib_verbs.h                       |  2 +-
 include/uapi/rdma/ib_user_ioctl_cmds.h        |  1 +
 include/uapi/rdma/mlx5_user_ioctl_cmds.h      |  4 +++
 27 files changed, 67 insertions(+), 28 deletions(-)

Comments

Zhu Yanjun June 16, 2024, 9:47 p.m. UTC | #1
在 2024/6/17 0:15, Leon Romanovsky 写道:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Hi,
> 
> This series from Akiva extends the mlx5 private field with the UAR page index
> which is larger than 16 bits as was before.

UAR: User Access Region

Zhu Yanjun
> 
> As this is first time, we extend ioctl API with private data field after
> it already has UHW object, we need to change create CQ API signature to
> support it.
> 
> Thanks
> 
> Akiva Goldberger (2):
>    RDMA: Pass entire uverbs attr bundle to create cq function
>    RDMA/mlx5: Send UAR page index as ioctl attribute
> 
>   drivers/infiniband/core/uverbs_cmd.c          |  2 +-
>   drivers/infiniband/core/uverbs_std_types_cq.c |  2 +-
>   drivers/infiniband/hw/bnxt_re/ib_verbs.c      |  3 +-
>   drivers/infiniband/hw/bnxt_re/ib_verbs.h      |  2 +-
>   drivers/infiniband/hw/cxgb4/cq.c              |  3 +-
>   drivers/infiniband/hw/cxgb4/iw_cxgb4.h        |  2 +-
>   drivers/infiniband/hw/efa/efa.h               |  2 +-
>   drivers/infiniband/hw/efa/efa_verbs.c         |  3 +-
>   drivers/infiniband/hw/erdma/erdma_verbs.c     |  3 +-
>   drivers/infiniband/hw/erdma/erdma_verbs.h     |  2 +-
>   drivers/infiniband/hw/hns/hns_roce_cq.c       |  3 +-
>   drivers/infiniband/hw/hns/hns_roce_device.h   |  2 +-
>   drivers/infiniband/hw/irdma/verbs.c           |  5 +--
>   drivers/infiniband/hw/mana/cq.c               |  2 +-
>   drivers/infiniband/hw/mana/mana_ib.h          |  2 +-
>   drivers/infiniband/hw/mlx4/cq.c               |  3 +-
>   drivers/infiniband/hw/mlx4/mlx4_ib.h          |  2 +-
>   drivers/infiniband/hw/mlx5/cq.c               | 31 ++++++++++++++++---
>   drivers/infiniband/hw/mlx5/main.c             |  1 +
>   drivers/infiniband/hw/mlx5/mlx5_ib.h          |  3 +-
>   drivers/infiniband/hw/mthca/mthca_provider.c  |  3 +-
>   drivers/infiniband/sw/rxe/rxe_verbs.c         |  3 +-
>   drivers/infiniband/sw/siw/siw_verbs.c         |  2 +-
>   drivers/infiniband/sw/siw/siw_verbs.h         |  2 +-
>   include/rdma/ib_verbs.h                       |  2 +-
>   include/uapi/rdma/ib_user_ioctl_cmds.h        |  1 +
>   include/uapi/rdma/mlx5_user_ioctl_cmds.h      |  4 +++
>   27 files changed, 67 insertions(+), 28 deletions(-)
>