All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Convert management helpers to Core Capability bits
@ 2015-05-12  1:46 ira.weiny-ral2JQCrhuEAvxtiuMwx3w
       [not found] ` <1431395218-27693-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: ira.weiny-ral2JQCrhuEAvxtiuMwx3w @ 2015-05-12  1:46 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Ira Weiny

From: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

The following 5 patches complete the conversion of Michaels management helpers
to use new Core Capability bits to signal core capabilities rather than
inferring these capabilities from the device protocols.

The first fixes a bug which was uncovered after I changed the implementation of
rdma_cap_ib_mad

The second formalizes the creation of immutable per port data which is stored
in the ib_device structure for use by the core code.  This is accomplished by a
call back specified to ib_device_register.

The third converts the management helpers to use a new bit mask which is stored
in the immutable per port device data.  Comments to the RFC version of these
patches included using only 32 bits for this data although I am worried that
will quickly fill up with some of the proposed further cleanups.

The final 2 patches implement the OPA management helper additions which spurred
these architectural changes.  They are reworked versions of previous patches
submitted under the OPA MAD change series.

These all apply on top of Dougs for-4.1 with Michaels v8 management helper
patches.


Ira Weiny (5):
  IB/user_mad: Fix bug in ib_umad_remove_one when rdma_cap_ib_mad
    implementation changed
  IB/core: Formalize the creation of immutable per port data within the
    ib_device object
  IB/core: Convert management helpers to core capability bits
  IB/core: Add rdma_dev_max_mad_size helper call
  IB/core: Add rdma_cap_opa_mad helper using RDMA_CORE_CAP_OPA_MAD flag

 drivers/infiniband/core/device.c             |  57 ++++++-------
 drivers/infiniband/core/mad.c                |   4 +
 drivers/infiniband/core/user_mad.c           |  13 ++-
 drivers/infiniband/hw/amso1100/c2_provider.c |  29 +++++--
 drivers/infiniband/hw/cxgb3/iwch_provider.c  |  29 +++++--
 drivers/infiniband/hw/cxgb4/provider.c       |  29 +++++--
 drivers/infiniband/hw/ehca/ehca_hca.c        |   9 +-
 drivers/infiniband/hw/ehca/ehca_main.c       |  22 ++++-
 drivers/infiniband/hw/ipath/ipath_verbs.c    |  29 +++++--
 drivers/infiniband/hw/mlx4/main.c            |  37 +++++---
 drivers/infiniband/hw/mlx5/main.c            |  29 +++++--
 drivers/infiniband/hw/mthca/mthca_provider.c |  29 +++++--
 drivers/infiniband/hw/nes/nes_verbs.c        |  30 +++++--
 drivers/infiniband/hw/ocrdma/ocrdma_main.c   |  24 +++++-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c  |   6 --
 drivers/infiniband/hw/qib/qib_verbs.c        |  30 +++++--
 drivers/infiniband/hw/usnic/usnic_ib_main.c  |  23 ++++-
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c |   7 +-
 include/rdma/ib_mad.h                        |   1 +
 include/rdma/ib_verbs.h                      | 122 +++++++++++++++++++++++----
 20 files changed, 410 insertions(+), 149 deletions(-)

-- 
1.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-05-13 19:23 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-12  1:46 [PATCH 0/5] Convert management helpers to Core Capability bits ira.weiny-ral2JQCrhuEAvxtiuMwx3w
     [not found] ` <1431395218-27693-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-12  1:46   ` [PATCH 1/5] IB/user_mad: Fix bug in ib_umad_remove_one when rdma_cap_ib_mad implementation changed ira.weiny-ral2JQCrhuEAvxtiuMwx3w
     [not found]     ` <1431395218-27693-2-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-12  2:29       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A82373A8FCE4C5-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-05-12 14:42           ` Weiny, Ira
2015-05-12 19:15       ` Jason Gunthorpe
     [not found]         ` <20150512191505.GB3503-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-05-12 21:53           ` ira.weiny
2015-05-12  1:46   ` [PATCH 2/5] IB/core: Formalize the creation of immutable per port data within the ib_device object ira.weiny-ral2JQCrhuEAvxtiuMwx3w
     [not found]     ` <1431395218-27693-3-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-12 15:25       ` Doug Ledford
     [not found]         ` <1431444301.43876.34.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-05-12 17:48           ` Weiny, Ira
     [not found]             ` <2807E5FD2F6FDA4886F6618EAC48510E1107CBB6-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-05-12 17:54               ` Doug Ledford
2015-05-12 19:21       ` Jason Gunthorpe
     [not found]         ` <20150512192109.GC3503-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-05-12 21:02           ` ira.weiny
     [not found]             ` <20150512210225.GA7341-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-05-12 22:17               ` Jason Gunthorpe
2015-05-12  1:46   ` [PATCH 3/5] IB/core: Convert management helpers to core capability bits ira.weiny-ral2JQCrhuEAvxtiuMwx3w
     [not found]     ` <1431395218-27693-4-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-12  2:38       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A82373A8FCE4DE-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-05-12 21:54           ` ira.weiny
2015-05-12 19:25       ` Jason Gunthorpe
     [not found]         ` <20150512192517.GD3503-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-05-12 22:06           ` ira.weiny
2015-05-12  1:46   ` [PATCH 4/5] IB/core: Add rdma_dev_max_mad_size helper call ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-12  1:46   ` [PATCH 5/5] IB/core: Add rdma_cap_opa_mad helper using RDMA_CORE_CAP_OPA_MAD flag ira.weiny-ral2JQCrhuEAvxtiuMwx3w
     [not found]     ` <1431395218-27693-6-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-13 19:23       ` Hal Rosenstock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.