All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-core 0/4] Cleanup ibv_register_driver
@ 2017-02-28 21:31 Jason Gunthorpe
       [not found] ` <1488317497-538-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Gunthorpe @ 2017-02-28 21:31 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Now that the provider API is private there is no reason to have two different
ways to register a driver. Consolidate everything into verbs_register_driver.

This approach is simplified by not also forcing a change to the new context
allocation protocol, which is a bit more complex.

The changes to providers are very simple and mechanical. A future series could
eliminate the old context allocation protocol.

https://github.com/linux-rdma/rdma-core/pull/87

Jason Gunthorpe (4):
  ibverbs: Make struct verbs_device and related private
  providers: Make every provider allocate a verbs_device
  providers: Move all verbs_device ops into struct verbs_device_ops
  verbs: Remove ibv_register_driver

 libibverbs/compat-1_0.c            |  4 ++--
 libibverbs/device.c                | 12 ++++++------
 libibverbs/driver.h                | 36 +++++++++++++++++++++++++++++++----
 libibverbs/init.c                  | 39 +++++++++-----------------------------
 libibverbs/verbs.h                 | 27 +++++---------------------
 providers/cxgb3/iwch.c             | 12 ++++++------
 providers/cxgb3/iwch.h             |  2 +-
 providers/cxgb4/dev.c              | 10 +++++-----
 providers/cxgb4/libcxgb4.h         |  2 +-
 providers/hfi1verbs/hfiverbs.c     | 12 ++++++------
 providers/hfi1verbs/hfiverbs.h     |  2 +-
 providers/hns/hns_roce_u.c         | 12 ++++++------
 providers/hns/hns_roce_u.h         |  2 +-
 providers/i40iw/i40iw_umain.c      | 11 ++++++-----
 providers/i40iw/i40iw_umain.h      |  5 +----
 providers/ipathverbs/ipathverbs.c  | 12 ++++++------
 providers/ipathverbs/ipathverbs.h  |  2 +-
 providers/mlx4/mlx4.c              |  9 ++++++---
 providers/mlx5/mlx5.c              |  9 +++++++--
 providers/mthca/mthca.c            | 10 +++++-----
 providers/mthca/mthca.h            |  2 +-
 providers/nes/nes_umain.c          | 11 ++++++-----
 providers/nes/nes_umain.h          |  5 +----
 providers/ocrdma/ocrdma_main.c     | 14 +++++++-------
 providers/ocrdma/ocrdma_main.h     |  4 +---
 providers/qedr/qelr.h              |  2 +-
 providers/qedr/qelr_main.c         | 14 ++++++--------
 providers/qedr/qelr_main.h         |  2 --
 providers/rxe/rxe.c                | 12 ++++++------
 providers/rxe/rxe.h                |  2 +-
 providers/vmw_pvrdma/pvrdma.h      |  2 +-
 providers/vmw_pvrdma/pvrdma_main.c | 12 ++++++------
 32 files changed, 150 insertions(+), 162 deletions(-)

-- 
2.7.4

--
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] 6+ messages in thread

end of thread, other threads:[~2017-03-01 20:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-28 21:31 [PATCH rdma-core 0/4] Cleanup ibv_register_driver Jason Gunthorpe
     [not found] ` <1488317497-538-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-02-28 21:31   ` [PATCH rdma-core 1/4] ibverbs: Make struct verbs_device and related private Jason Gunthorpe
2017-02-28 21:31   ` [PATCH rdma-core 2/4] providers: Make every provider allocate a verbs_device Jason Gunthorpe
     [not found]     ` <1488317497-538-3-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-01 20:01       ` Steve Wise
2017-02-28 21:31   ` [PATCH rdma-core 3/4] providers: Move all verbs_device ops into struct verbs_device_ops Jason Gunthorpe
2017-02-28 21:31   ` [PATCH rdma-core 4/4] verbs: Remove ibv_register_driver Jason Gunthorpe

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.