public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@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 22:30:11 +0200	[thread overview]
Message-ID: <20170130203011.GN6005@mtr-leonro.local> (raw)
In-Reply-To: <20170130170341.GB29502-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2579 bytes --]

On Mon, Jan 30, 2017 at 10:03:41AM -0700, Jason Gunthorpe wrote:
> 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

But you removed IBVERBS_1.4. Do we introduce IBVERBS_1.4 again?

> (Ah, Yishai forgot to update CMakeLists when he added the 1.4 symbols,

Yeah, I spotted it too while reviewed your patch and worked on direct
verbs improvements.

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

I understand rationale behind this and agree with you regarding the
change.

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

It is better to keep in sync these numbers in CmakeLists and map file.

>
> Jason

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-01-30 20:30 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
     [not found]         ` <20170130170341.GB29502-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-01-30 20:30           ` Leon Romanovsky [this message]
     [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=20170130203011.GN6005@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@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=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@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