public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-core 0/3] Improve symbol version support in ibverbs & providers
@ 2017-08-24 22:00 Jason Gunthorpe
       [not found] ` <1503612029-19854-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Gunthorpe @ 2017-08-24 22:00 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

This changes the macros used to delcare symbol versions to something that can
really safely support static libraries by removing all traces of symbol versioning
when the static library is built.

This also addresses the uclib problem and solves the need for ugly function prototypes
in a different way, using a fairly ugly macro to generate all the needed prototypes
and versions for the different operating modes instead.


Jason Gunthorpe (3):
  Add util/symver.h
  verbs: Use util/symver.h for all symbol versioning
  mlx5: Fix ABI break from revising the UAR pointer

 CMakeLists.txt                   |   9 ++
 buildlib/config.h.in             |   4 +
 buildlib/rdma_functions.cmake    |   3 +
 debian/ibverbs-providers.symbols |   2 +
 libibverbs/compat-1_0.c          | 270 ++++++++++++++++++---------------------
 libibverbs/device.c              |  58 ++++-----
 libibverbs/ibverbs.h             |   6 -
 libibverbs/verbs.c               | 202 +++++++++++++----------------
 providers/mlx5/CMakeLists.txt    |   2 +-
 providers/mlx5/libmlx5.map       |   5 +
 providers/mlx5/mlx5.c            |  24 +++-
 providers/mlx5/mlx5dv.h          |   2 +-
 util/CMakeLists.txt              |   1 +
 util/symver.h                    | 100 +++++++++++++++
 14 files changed, 390 insertions(+), 298 deletions(-)
 create mode 100644 util/symver.h

-- 
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-08-27 21:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-24 22:00 [PATCH rdma-core 0/3] Improve symbol version support in ibverbs & providers Jason Gunthorpe
     [not found] ` <1503612029-19854-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-24 22:00   ` [PATCH rdma-core 1/3] Add util/symver.h Jason Gunthorpe
2017-08-24 22:00   ` [PATCH rdma-core 2/3] verbs: Use util/symver.h for all symbol versioning Jason Gunthorpe
2017-08-24 22:00   ` [PATCH rdma-core 3/3] mlx5: Fix ABI break from revising the UAR pointer Jason Gunthorpe
2017-08-27 11:58   ` [PATCH rdma-core 0/3] Improve symbol version support in ibverbs & providers Leon Romanovsky
     [not found]     ` <20170827115806.GS1724-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-27 21:41       ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox