Skip to content

Generalize if ULP supported check

Leon Romanovsky linux-rdma linux-s390 lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8RDMA/core: Check if client supports IB device or notdrivers/infiniband/core/device.c include/rdma/ib_verbs.h+12 -02 replies
2/8RDMA/cma: Skip device which doesn't support CMdrivers/infiniband/core/cma.c+14 -10 replies
3/8IB/cm: Skip device which doesn't support IB CMdrivers/infiniband/core/cm.c+14 -10 replies
4/8IB/core: Skip device which doesn't have necessary capabilitiesdrivers/infiniband/core/multicast.c drivers/infiniband/core/sa_query.c+28 -26 replies
5/8IB/IPoIB: Skip device which doesn't have InfiniBand portdrivers/infiniband/ulp/ipoib/ipoib_main.c+13 -00 replies
6/8IB/opa_vnic: Move to client_supported callbackdrivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c+1 -30 replies
7/8net/smc: Move to client_supported callbacknet/smc/smc_ib.c+6 -30 replies
8/8net/rds: Move to client_supported callbacknet/rds/ib.c+13 -71 reply

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchSantosh Shilimkar
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8A-b

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 0/8] Generalize if ULP supported check

From: Leon Romanovsky <[email protected]>

Hi,

This series adds new callback to check if ib client is supported/not_supported. Such general callback allows us to save memory footprint by not starting on devices that not going to work on them anyway.

Thanks

Parav Pandit (8):
RDMA/core: Check if client supports IB device or not RDMA/cma: Skip device which doesn't support CM IB/cm: Skip device which doesn't support IB CM IB/core: Skip device which doesn't have necessary capabilities IB/IPoIB: Skip device which doesn't have InfiniBand port IB/opa_vnic: Move to client_supported callback net/smc: Move to client_supported callback
net/rds: Move to client_supported callback

 drivers/infiniband/core/cm.c                  | 15 +++++++++++++-
 drivers/infiniband/core/cma.c                 | 15 +++++++++++++-
 drivers/infiniband/core/device.c              |  3 +++
 drivers/infiniband/core/multicast.c           | 15 +++++++++++++-
 drivers/infiniband/core/sa_query.c            | 15 +++++++++++++-
 drivers/infiniband/ulp/ipoib/ipoib_main.c     | 13 ++++++++++++
 .../infiniband/ulp/opa_vnic/opa_vnic_vema.c   |  4 +---
 include/rdma/ib_verbs.h                       |  9 +++++++++
 net/rds/ib.c                                  | 20 ++++++++++++-------
 net/smc/smc_ib.c                              |  9 ++++++---
 10 files changed, 101 insertions(+), 17 deletions(-)
Signature · 1 line
2.30.2