Skip to content

mlx5 profile infrastructure to add and remove stages

Leon Romanovsky linux-rdma 1 version Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Changes in v1 from the cover letter

* Moved ODP srcu initialization to be part of init stage.
* Added const to mlx6_ib_profile struct declaration.
* Remove ODP srcu cleanup callback.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6IB/mlx5: Create profile infrastructure to add and remove stagesdrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h+282 -930 replies
2/6IB/mlx5: Move RoCE/ETH initialization to the corresponding stagedrivers/infiniband/hw/mlx5/main.c+12 -210 replies
3/6IB/mlx5: Move ODP initialization to the corresponding stagedrivers/infiniband/hw/mlx5/main.c+2 -20 replies
4/6IB/mlx5: Move hardware counters initialization to the corresponding stagedrivers/infiniband/hw/mlx5/main.c+6 -70 replies
5/6IB/mlx5: Move loopback initialization to the corresponding stagedrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h+4 -130 replies
6/6IB/mlx5: Move locks initialization to the corresponding stagedrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/odp.c+15 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH rdma-next v1 0/6] mlx5 profile infrastructure to add and remove stages

Changelog:
v0->v1:
* Moved ODP srcu initialization to be part of init stage.
* Added const to mlx6_ib_profile struct declaration.
* Remove ODP srcu cleanup callback.

---------------------------------------
Mark's patches continues e-switch series introduced in shared pull request and refactors the mlx5_ib initialization and cleanup logic to work in the stages.

Such modular separation provides an easy way to construct any initialization sequences and skip unneeded stages as we will have in RDMA/IB representors code.

The patches are available in the git repository at:
git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git tags/rdma-next-2018-01-01

Thanks
---------------------------------------

Mark Bloch (6):
IB/mlx5: Create profile infrastructure to add and remove stages IB/mlx5: Move RoCE/ETH initialization to the corresponding stage IB/mlx5: Move ODP initialization to the corresponding stage IB/mlx5: Move hardware counters initialization to the corresponding
stage
IB/mlx5: Move loopback initialization to the corresponding stage IB/mlx5: Move locks initialization to the corresponding stage

 drivers/infiniband/hw/mlx5/main.c    | 372 ++++++++++++++++++++++++-----------
 drivers/infiniband/hw/mlx5/mlx5_ib.h |  32 ++-
 drivers/infiniband/hw/mlx5/odp.c     |   9 -
 3 files changed, 288 insertions(+), 125 deletions(-)

--
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html