public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Yishai Hadas
	<yishaih-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>,
	"Hefty,
	Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Benjamin Drung
	<benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>,
	"Weiny, Ira" <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH rdma-core] Make the provider facing libibverbs interface private
Date: Mon, 30 Jan 2017 10:03:41 -0700	[thread overview]
Message-ID: <20170130170341.GB29502@obsidianresearch.com> (raw)
In-Reply-To: <20170130135959.GL6005-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>

On Mon, Jan 30, 2017 at 03:59:59PM +0200, Leon Romanovsky wrote:
> On Thu, Jan 26, 2017 at 04:08:13PM -0700, Jason Gunthorpe wrote:
> > The first part is to remove the header files that define the
> > prototypes for these symbols from the set of packaged headers.
> > This ensures that nothing can compile and use these symbols.
> >
> > Next we move the symbols into a new symbol version stanza only
> > for the private ABI. This breaks every existing out of-tree provider,
> > but the earlier change to ibv_cmd_create_ah already did that.
> >
> > There are a few symbols that are still private by virtue of not being
> > in public headers, but these are used internally by the other libraries.
> > For distribution sanity continue to treat them as public ABI.
> >
> > Signed-off-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
> >  Documentation/versioning.md   |  22 ++++++++
> >  debian/control                |   2 +-
> >  debian/libibverbs-dev.install |   3 --
> >  debian/libibverbs1.symbols    |  44 +--------------
> >  libibverbs/CMakeLists.txt     |   9 ++--
> >  libibverbs/libibverbs.map     | 122 +++++++++++++++++++++---------------------
> >  6 files changed, 93 insertions(+), 109 deletions(-)
> 
> How is it connected to ABI soname versioning?
> https://github.com/linux-rdma/rdma-core/blob/master/Documentation/versioning.md

Not sure I follow..

Those guidelines continue to apply to the public symbols.

> libibverbs.map's ABI version was 1.4 before and it was synced with
> CmakeList, but now, it won't.

The map file will have two sections now, one for public symbols that
will continue to use the 1.3/1.4/etc system
(Ah, Yishai forgot to update CMakeLists when he added the 1.4 symbols,
oops, we need a travis check for this I guess..)

The other is the private symbol section that basically just tracks the
release number. There will only ever be one PRIVATE section since we
don't provide compat. We do not attempt to reflect the PRIVATE symbols
in the filename.

The file name will continue to be 1.3.${PACKAGE_VERSION} but it is
largely irrelevant..

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

  parent reply	other threads:[~2017-01-30 17:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-26 23:08 [PATCH rdma-core] Make the provider facing libibverbs interface private Jason Gunthorpe
     [not found] ` <20170126230813.GA7149-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-01-30 13:59   ` Leon Romanovsky
     [not found]     ` <20170130135959.GL6005-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-01-30 17:03       ` Jason Gunthorpe [this message]
     [not found]         ` <20170130170341.GB29502-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-01-30 20:30           ` Leon Romanovsky
     [not found]             ` <20170130203011.GN6005-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-01-30 20:53               ` Jason Gunthorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170130170341.GB29502@obsidianresearch.com \
    --to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
    --cc=benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=yishaih-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox