Skip to content

RFC Add Core Capability Bits to use in Management helpers

[email protected] linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 44 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5IB/core: Add Core Capability flags to ib_devicedrivers/infiniband/core/device.c include/rdma/ib_verbs.h+63 -039 replies
2/5IB/core: Replace query_protocol callback with Core Capability flags checkdrivers/infiniband/core/device.c drivers/infiniband/hw/amso1100/c2_provider.c drivers/infiniband/hw/cxgb3/iwch_provider.c +14 more+22 -950 replies
3/5IB/core: Convert cap_ib_mad to core_cap_flags bit maskdrivers/infiniband/hw/ehca/ehca_hca.c drivers/infiniband/hw/ipath/ipath_verbs.c drivers/infiniband/hw/mlx4/main.c +4 more+8 -85 replies
4/5IB/core: Add rdma_dev_max_mad_size calldrivers/infiniband/core/mad.c drivers/infiniband/hw/amso1100/c2_rnic.c drivers/infiniband/hw/cxgb3/iwch_provider.c +12 more+40 -00 replies
5/5IB/core: Add cap_opa_mad helper using RDMA_CORE_CAP_OPA_MAD flaginclude/rdma/ib_verbs.h+16 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/5] Add Core Capability Bits to use in Management helpers

From: Ira Weiny <[email protected]>

The following 5 patches use new Core Capability bits to signal core capabilities rather than inferring these capabilities based on the protocols.

The first 3 are the beginning of converting Michaels patches over to a bit mask. Before converting all the functions I wanted to get consensus with a smaller patch series.

In addition I have included the additional OPA flags which will be needed for the OPA series to show how new support can be communicated. If we are in agreement then I can complete the series with an official submission.

Ira Weiny (5):
IB/core: Add Core Capability flags to ib_device
IB/core: Replace query_protocol callback with Core Capability flags
check
IB/core: Convert cap_ib_mad to core_cap_flags bit mask IB/core: Add rdma_dev_max_mad_size call
IB/core: Add cap_opa_mad helper using RDMA_CORE_CAP_OPA_MAD flag

 drivers/infiniband/core/device.c             |   42 +++++++++++++++-
 drivers/infiniband/core/mad.c                |    4 ++
 drivers/infiniband/hw/amso1100/c2_provider.c |    8 +---
 drivers/infiniband/hw/amso1100/c2_rnic.c     |    1 +
 drivers/infiniband/hw/cxgb3/iwch_provider.c  |    9 +---
 drivers/infiniband/hw/cxgb4/provider.c       |    9 +---
 drivers/infiniband/hw/ehca/ehca_hca.c        |   11 ++--
 drivers/infiniband/hw/ehca/ehca_main.c       |    1 -
 drivers/infiniband/hw/ipath/ipath_verbs.c    |    9 +---
 drivers/infiniband/hw/mlx4/main.c            |   14 ++----
 drivers/infiniband/hw/mlx5/main.c            |   10 +---
 drivers/infiniband/hw/mthca/mthca_provider.c |   10 +---
 drivers/infiniband/hw/nes/nes_verbs.c        |    9 +---
 drivers/infiniband/hw/ocrdma/ocrdma_main.c   |    1 -
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c  |    8 +--
 drivers/infiniband/hw/qib/qib_verbs.c        |    9 +---
 drivers/infiniband/hw/usnic/usnic_ib_main.c  |    1 -
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c |    9 +--
 include/rdma/ib_mad.h                        |    1 +
 include/rdma/ib_verbs.h                      |   72 +++++++++++++++++++++++---
 20 files changed, 142 insertions(+), 96 deletions(-)

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