Skip to content

Add support of NOIO allocations to IPoIB

Leon Romanovsky linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Changes in v1 from the cover letter

* Forgot to add hfi1

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4IB/IPoIB: Convert IPoIB to memalloc_noio_* callsdrivers/infiniband/ulp/ipoib/ipoib_cm.c+7 -92 replies
2/4IB/{rdmavt, qib, hfi1}: Remove gfp flags argumentdrivers/infiniband/hw/hfi1/qp.c drivers/infiniband/hw/hfi1/qp.h drivers/infiniband/hw/qib/qib_qp.c +3 more+28 -541 reply
3/4{net, IB}/mlx4: Remove gfp flags argumentdrivers/infiniband/hw/mlx4/cq.c drivers/infiniband/hw/mlx4/mlx4_ib.h drivers/infiniband/hw/mlx4/qp.c +13 more+76 -890 replies
4/4IB/core: Remove NOIO QP create flaginclude/rdma/ib_verbs.h+1 -10 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchDennis Dalessandro
1/4R-b
2/4A-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-next V1 0/4] Add support of NOIO allocations to IPoIB

Hi Doug,

These patches adds native support to NOIO allocations during create QP for IPoIB.

In contrast to the commit 09b93088d750 ("IB: Add a QP creation flag to use GFP_NOIO allocations"), which added specific QP create flag, this series uses standard memalloc_noio_* calls to mark GFP_NOIO for all allocations paths below.

This change allows to all drivers benefit from this facitlity and not only mlx4 and qib. As a nice outcome, there is a lot simplification in the mlx4 and qib drivers by removing need to carry GFP flags.

Thanks

Cc Mel Gorman <[email protected]>
Cc Jiri Kosina <[email protected]>
Cc Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/[email protected]>
Cc Dennis Dalessandro <[email protected]>

Changelog from v0:
* Forgot to add hfi1

Leon Romanovsky (4):
IB/IPoIB: Convert IPoIB to memalloc_noio_* calls IB/{rdmavt, qib, hfi1}: Remove gfp flags argument {net, IB}/mlx4: Remove gfp flags argument IB/core: Remove NOIO QP create flag

 drivers/infiniband/hw/hfi1/qp.c                    |  7 ++--
 drivers/infiniband/hw/hfi1/qp.h                    |  3 +-
 drivers/infiniband/hw/mlx4/cq.c                    |  6 +--
 drivers/infiniband/hw/mlx4/mlx4_ib.h               |  1 -
 drivers/infiniband/hw/mlx4/qp.c                    | 40 ++++++++----------
 drivers/infiniband/hw/mlx4/srq.c                   |  8 ++--
 drivers/infiniband/hw/qib/qib_qp.c                 | 15 ++++---
 drivers/infiniband/hw/qib/qib_verbs.h              |  4 +-
 drivers/infiniband/sw/rdmavt/qp.c                  | 48 ++++++----------------
 drivers/infiniband/ulp/ipoib/ipoib_cm.c            | 16 ++++----
 drivers/net/ethernet/mellanox/mlx4/alloc.c         | 29 +++++++------
 drivers/net/ethernet/mellanox/mlx4/cq.c            |  4 +-
 drivers/net/ethernet/mellanox/mlx4/en_rx.c         |  6 +--
 drivers/net/ethernet/mellanox/mlx4/en_tx.c         |  2 +-
 drivers/net/ethernet/mellanox/mlx4/icm.c           |  7 ++--
 drivers/net/ethernet/mellanox/mlx4/icm.h           |  3 +-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h          |  4 +-
 drivers/net/ethernet/mellanox/mlx4/mr.c            | 17 ++++----
 drivers/net/ethernet/mellanox/mlx4/qp.c            | 20 ++++-----
 .../net/ethernet/mellanox/mlx4/resource_tracker.c  |  4 +-
 drivers/net/ethernet/mellanox/mlx4/srq.c           |  4 +-
 include/linux/mlx4/device.h                        | 10 ++---
 include/rdma/ib_verbs.h                            |  2 +-
 include/rdma/rdma_vt.h                             |  5 +--
 24 files changed, 112 insertions(+), 153 deletions(-)

--
2.12.2

--
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