All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/11] IB/Verbs: IB Management Helpers
@ 2015-03-27 15:39 ` Michael Wang
  0 siblings, 0 replies; 189+ messages in thread
From: Michael Wang @ 2015-03-27 15:39 UTC (permalink / raw)
  To: Roland Dreier, Sean Hefty, Hal Rosenstock, Ira Weiny,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-nfs-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA
  Cc: J. Bruce Fields, Trond Myklebust, David S. Miller, Or Gerlitz,
	Moni Shoua, PJ Waskiewicz, Tatyana Nikolova, Yan Burman,
	Jack Morgenstein, Bart Van Assche, Yann Droneaud, Colin Ian King,
	Majd Dibbiny, Jiri Kosina, Matan Barak, Alex Estrin,
	Doug Ledford, Eric Dumazet, Erez Shitrit, Sagi Grimberg,
	Haggai Eran, Shachar Raindel, Mike Marciniszyn


There are plenty of lengthy code to check the transport type of IB device,
or the link layer type of it's port, but actually we are just speculating
whether a particular management is supported by the device/port.

Thus instead of inferring, we should have our own mechanism for
IB management capability/protocol checking, several proposals below.

This patch set is the pioneer which try to collecting all the cases where
a management helper applicable, and put all the speculating logical together,
in order to be easily integrated to the new querying mechanism in future.

TODO:
    The helper in patch 10 and 11 are still to be classified, that is
    cap_ib() and cap_eth().

    The name/description of each helper may not correct enough, those folks
    who are familiar with these particular parts, your suggestion would be
    invaluable ;-)

Proposals:
    Sean:
    https://www.mail-archive.com/linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg23339.html
    Doug:
    https://www.mail-archive.com/linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg23418.html
    Jason:
    https://www.mail-archive.com/linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg23425.html

Michael Wang (11):
    [PATCH 01/11] IB/Verbs: Use helpers to check transport and link layer
    [RFC PATCH 02/11] IB/Verbs: Use management helper tech_iboe() for iboe-check
    [RFC PATCH 03/11] IB/Verbs: Use management helper has_mad() for mad-check
    [RFC PATCH 04/11] IB/Verbs: Use management helper cap_smi() for smi-check
    [RFC PATCH 05/11] IB/Verbs: Use management helper has_cm() for cm-check
    [RFC PATCH 06/11] IB/Verbs: Use management helper has_sa() and cap_sa() for sa-check
    [RFC PATCH 07/11] IB/Verbs: Use management helper has_mcast() and cap_mcast() for mcast-check
    [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for iwarp-check
    [RFC PATCH 09/11] IB/Verbs: Use management helper has_ipoib() and cap_ipoib() for ipoib-check
    [RFC PATCH 10/11] IB/Verbs: Use management helper cap_ib() for ib-check
    [RFC PATCH 11/11] IB/Verbs: Use management helper cap_eth() for eth-check

---
 drivers/infiniband/core/agent.c           |    6
 drivers/infiniband/core/cm.c              |    6
 drivers/infiniband/core/cma.c             |   79 ++++------
 drivers/infiniband/core/mad.c             |   18 +-
 drivers/infiniband/core/multicast.c       |   30 +---
 drivers/infiniband/core/sa_query.c        |   42 ++---
 drivers/infiniband/core/ucm.c             |    8 -
 drivers/infiniband/core/user_mad.c        |    6
 drivers/infiniband/core/verbs.c           |   14 -
 drivers/infiniband/hw/mlx4/ah.c           |    6
 drivers/infiniband/hw/mlx4/cq.c           |   10 -
 drivers/infiniband/hw/mlx4/mad.c          |   36 +---
 drivers/infiniband/hw/mlx4/main.c         |   23 +--
 drivers/infiniband/hw/mlx4/mlx4_ib.h      |    6
 drivers/infiniband/hw/mlx4/qp.c           |   57 ++-----
 drivers/infiniband/hw/mlx4/sysfs.c        |   16 --
 drivers/infiniband/ulp/ipoib/ipoib_main.c |   18 +-
 include/rdma/ib_verbs.h                   |  218 ++++++++++++++++++++++++++++++
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c   |    8 -
 19 files changed, 381 insertions(+), 226 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" 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] 189+ messages in thread

end of thread, other threads:[~2015-04-07 12:48 UTC | newest]

Thread overview: 189+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-27 15:39 [RFC PATCH 00/11] IB/Verbs: IB Management Helpers Michael Wang
2015-03-27 15:39 ` Michael Wang
2015-03-27 15:39 ` Michael Wang
2015-03-27 15:42 ` [RFC PATCH 02/11] IB/Verbs: Use management helper tech_iboe() for iboe-check Michael Wang
2015-03-27 15:42   ` Michael Wang
2015-03-27 15:42   ` Michael Wang
2015-03-30 16:17   ` Doug Ledford
2015-03-30 16:17     ` Doug Ledford
2015-03-30 16:17     ` Doug Ledford
     [not found]     ` <1427732250.21101.202.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-03-30 16:23       ` Michael Wang
2015-03-30 16:23         ` Michael Wang
2015-03-30 16:23         ` Michael Wang
2015-03-27 15:43 ` [RFC PATCH 03/11] IB/Verbs: Use management helper has_mad() for mad-check Michael Wang
2015-03-27 15:43   ` Michael Wang
2015-03-27 15:43   ` Michael Wang
2015-03-27 15:44 ` [RFC PATCH 04/11] IB/Verbs: Use management helper cap_smi() for smi-check Michael Wang
2015-03-27 15:44   ` Michael Wang
2015-03-27 15:44   ` Michael Wang
     [not found]   ` <55157AEB.7020705-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-27 16:32     ` Jason Gunthorpe
2015-03-27 16:32       ` Jason Gunthorpe
2015-03-27 16:32       ` Jason Gunthorpe
     [not found]       ` <20150327163219.GD28412-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-03-27 16:59         ` Yun Wang
2015-03-27 16:59           ` Yun Wang
2015-03-27 16:59           ` Yun Wang
2015-03-27 15:45 ` [RFC PATCH 05/11] IB/Verbs: Use management helper has_cm() for cm-check Michael Wang
2015-03-27 15:45   ` Michael Wang
2015-03-27 15:45   ` Michael Wang
     [not found] ` <551579CA.4030901-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-27 15:40   ` [PATCH 01/11] IB/Verbs: Use helpers to check transport and link layer Michael Wang
2015-03-27 15:40     ` Michael Wang
2015-03-27 15:40     ` Michael Wang
2015-03-30 15:56     ` Doug Ledford
2015-03-30 15:56       ` Doug Ledford
2015-03-30 15:56       ` Doug Ledford
     [not found]       ` <1427730964.21101.195.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-03-30 16:14         ` Michael Wang
2015-03-30 16:14           ` Michael Wang
2015-03-30 16:14           ` Michael Wang
2015-03-30 16:22           ` Doug Ledford
2015-03-30 16:22             ` Doug Ledford
2015-03-30 16:22             ` Doug Ledford
     [not found]             ` <1427732576.21101.205.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-03-30 17:04               ` Michael Wang
2015-03-30 17:04                 ` Michael Wang
2015-03-30 17:04                 ` Michael Wang
2015-03-27 15:46   ` [RFC PATCH 06/11] IB/Verbs: Use management helper has_sa() and cap_sa(), for sa-check Michael Wang
2015-03-27 15:46     ` Michael Wang
2015-03-27 15:46     ` Michael Wang
2015-03-27 16:47     ` ira.weiny
2015-03-27 16:47       ` ira.weiny
2015-03-27 16:47       ` ira.weiny
2015-03-27 17:13       ` Yun Wang
2015-03-27 17:13         ` Yun Wang
2015-03-27 17:13         ` Yun Wang
2015-03-27 19:49       ` Doug Ledford
2015-03-27 19:49         ` Doug Ledford
2015-03-27 19:49         ` Doug Ledford
     [not found]     ` <55157B43.6060507-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-30 16:16       ` Doug Ledford
2015-03-30 16:16         ` Doug Ledford
2015-03-30 16:16         ` Doug Ledford
2015-03-30 16:42         ` Michael Wang
2015-03-30 16:42           ` Michael Wang
2015-03-30 16:42           ` Michael Wang
2015-03-30 17:02           ` Doug Ledford
2015-03-30 17:02             ` Doug Ledford
2015-03-30 17:02             ` Doug Ledford
     [not found]             ` <1427734923.21101.227.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-03-31 13:22               ` Michael Wang
2015-03-31 13:22                 ` Michael Wang
2015-03-31 13:22                 ` Michael Wang
2015-03-31 23:12             ` Jason Gunthorpe
2015-03-31 23:12               ` Jason Gunthorpe
2015-03-31 23:12               ` Jason Gunthorpe
     [not found]               ` <20150331231202.GA20094-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-04-01  0:51                 ` ira.weiny
2015-04-01  0:51                   ` ira.weiny
2015-04-01  0:51                   ` ira.weiny
     [not found]                   ` <20150401005113.GA15327-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-04-01  1:31                     ` Jason Gunthorpe
2015-04-01  1:31                       ` Jason Gunthorpe
2015-04-01  1:31                       ` Jason Gunthorpe
2015-03-27 15:46   ` [RFC PATCH 07/11] IB/Verbs: Use management helper has_mcast() and, cap_mcast() for mcast-check Michael Wang
2015-03-27 15:46     ` Michael Wang
2015-03-27 15:46     ` Michael Wang
     [not found]     ` <55157B71.6040505-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-27 16:28       ` Jason Gunthorpe
2015-03-27 16:28         ` Jason Gunthorpe
2015-03-27 16:28         ` Jason Gunthorpe
2015-03-27 17:05         ` ira.weiny
2015-03-27 17:05           ` ira.weiny
2015-03-27 17:05           ` ira.weiny
     [not found]           ` <20150327170508.GB27862-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-03-27 17:31             ` Yun Wang
2015-03-27 17:31               ` Yun Wang
2015-03-27 17:31               ` Yun Wang
2015-03-27 17:49               ` Jason Gunthorpe
2015-03-27 17:49                 ` Jason Gunthorpe
2015-03-27 17:49                 ` Jason Gunthorpe
2015-03-27 18:09                 ` Yun Wang
2015-03-27 18:09                   ` Yun Wang
2015-03-27 18:09                   ` Yun Wang
2015-03-27 17:47             ` Jason Gunthorpe
2015-03-27 17:47               ` Jason Gunthorpe
2015-03-27 17:47               ` Jason Gunthorpe
     [not found]               ` <20150327174727.GB28901-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-03-30  8:30                 ` Michael Wang
2015-03-30  8:30                   ` Michael Wang
2015-03-30  8:30                   ` Michael Wang
     [not found]                   ` <551909AC.2030304-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-30 22:33                     ` Jason Gunthorpe
2015-03-30 22:33                       ` Jason Gunthorpe
2015-03-30 22:33                       ` Jason Gunthorpe
2015-03-30 16:11       ` Doug Ledford
2015-03-30 16:11         ` Doug Ledford
2015-03-30 16:11         ` Doug Ledford
2015-03-30 16:20         ` Michael Wang
2015-03-30 16:20           ` Michael Wang
2015-03-30 16:20           ` Michael Wang
2015-03-30 23:47           ` ira.weiny
2015-03-30 23:47             ` ira.weiny
2015-03-30 23:47             ` ira.weiny
     [not found]             ` <20150330234717.GA28446-W4f6Xiosr+yv7QzWx2u06xL4W9x8LtSr@public.gmane.org>
2015-03-31  7:25               ` Michael Wang
2015-03-31  7:25                 ` Michael Wang
2015-03-31  7:25                 ` Michael Wang
2015-03-27 15:47 ` [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check Michael Wang
2015-03-27 15:47   ` Michael Wang
2015-03-27 15:47   ` Michael Wang
2015-03-27 16:13   ` Jason Gunthorpe
2015-03-27 16:13     ` Jason Gunthorpe
2015-03-27 16:13     ` Jason Gunthorpe
     [not found]     ` <20150327161319.GB28412-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-03-27 16:17       ` Michael Wang
2015-03-27 16:17         ` Michael Wang
2015-03-27 16:17         ` Michael Wang
2015-03-27 17:16     ` ira.weiny
2015-03-27 17:16       ` ira.weiny
2015-03-27 17:16       ` ira.weiny
2015-03-27 17:29       ` Jason Gunthorpe
2015-03-27 17:29         ` Jason Gunthorpe
2015-03-27 17:29         ` Jason Gunthorpe
     [not found]         ` <20150327172912.GA28901-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-03-30 15:10           ` Michael Wang
2015-03-30 15:10             ` Michael Wang
2015-03-30 15:10             ` Michael Wang
     [not found]             ` <55196754.5010600-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-30 22:35               ` Jason Gunthorpe
2015-03-30 22:35                 ` Jason Gunthorpe
2015-03-30 22:35                 ` Jason Gunthorpe
     [not found]                 ` <20150330223528.GB27728-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-03-31  7:39                   ` Michael Wang
2015-03-31  7:39                     ` Michael Wang
2015-03-31  7:39                     ` Michael Wang
     [not found]                     ` <551A4F24.6090405-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-31 11:19                       ` Tom Talpey
2015-03-31 11:19                         ` Tom Talpey
2015-03-31 11:19                         ` Tom Talpey
2015-03-31 11:41                         ` Michael Wang
2015-03-31 11:41                           ` Michael Wang
2015-03-31 11:41                           ` Michael Wang
     [not found]                           ` <551A87D3.2070306-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-31 13:56                             ` Tom Talpey
2015-03-31 13:56                               ` Tom Talpey
2015-03-31 13:56                               ` Tom Talpey
2015-03-31 13:58                               ` Michael Wang
2015-03-31 13:58                                 ` Michael Wang
2015-03-31 13:58                                 ` Michael Wang
2015-03-27 17:35       ` Yun Wang
2015-03-27 17:35         ` Yun Wang
2015-03-27 17:35         ` Yun Wang
2015-03-30 16:13   ` Doug Ledford
2015-03-30 16:13     ` Doug Ledford
2015-03-30 16:13     ` Doug Ledford
     [not found]     ` <1427731980.21101.199.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-03-30 16:21       ` Michael Wang
2015-03-30 16:21         ` Michael Wang
2015-03-30 16:21         ` Michael Wang
2015-03-31 23:20       ` Jason Gunthorpe
2015-03-31 23:20         ` Jason Gunthorpe
2015-03-31 23:20         ` Jason Gunthorpe
2015-03-27 15:48 ` [RFC PATCH 09/11] IB/Verbs: Use management helper has_ipoib() and, cap_ipoib() for ipoib-check Michael Wang
2015-03-27 15:48   ` Michael Wang
2015-03-27 15:48   ` Michael Wang
2015-03-27 16:06   ` Jason Gunthorpe
2015-03-27 16:06     ` Jason Gunthorpe
2015-03-27 16:06     ` Jason Gunthorpe
     [not found]     ` <20150327160616.GA28412-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2015-03-27 16:15       ` Michael Wang
2015-03-27 16:15         ` Michael Wang
2015-03-27 16:15         ` Michael Wang
2015-03-27 16:38         ` Jason Gunthorpe
2015-03-27 16:38           ` Jason Gunthorpe
2015-03-27 16:38           ` Jason Gunthorpe
2015-03-27 15:49 ` [RFC PATCH 10/11] IB/Verbs: Use management helper cap_ib() for ib-check Michael Wang
2015-03-27 15:49   ` Michael Wang
2015-03-27 15:49   ` Michael Wang
2015-03-27 15:49 ` [RFC PATCH 11/11] IB/Verbs: Use management helper cap_eth() for eth-check Michael Wang
2015-03-27 15:49   ` Michael Wang
2015-03-27 15:49   ` Michael Wang
2015-04-06 20:22 ` [RFC PATCH 00/11] IB/Verbs: IB Management Helpers ira.weiny
2015-04-06 20:22   ` ira.weiny
2015-04-06 20:22   ` ira.weiny
2015-04-07  7:31   ` Michael Wang
2015-04-07  7:31     ` Michael Wang
2015-04-07  7:31     ` Michael Wang
2015-04-07 12:48   ` Michael Wang
2015-04-07 12:48     ` Michael Wang
2015-04-07 12:48     ` Michael Wang

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.