From: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
To: Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: Linux RDMA list
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Eli Cohen <eli-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>,
ewg <ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org>
Subject: Re: Re: [PATCH] rdmaoe/libibverbs: handle binary compatibility
Date: Thu, 10 Dec 2009 13:57:11 -0800 [thread overview]
Message-ID: <adaein2lcg8.fsf@roland-alpha.cisco.com> (raw)
In-Reply-To: <20091210214945.GP6188-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> (Jason Gunthorpe's message of "Thu, 10 Dec 2009 14:49:45 -0700")
> > #define IB_USER_VERBS_MIN_ABI_VERSION 1
> > -#define IB_USER_VERBS_MAX_ABI_VERSION 6
> > +#define IB_USER_VERBS_MAX_ABI_VERSION 7
>
> Whats this about? That seems like it needs a much bigger review,
> changing the kernel ABI version instantly breaks every existing
> libibverbs, shouldn't be done without alot of discussion!!
Yes, I've been meaning to bring this up earlier.
There was a time, long ago, when changing this ABI was maybe OK. I
think even when I first designed the uverbs ABI, having this version
instead of capability bits was a goof. But I don't have a time machine.
In any case I think at this point we need to stick with ABI version 6
will full backwards compat unless we really really can't. And I don't
think the changes here are nearly drastic enough that we can't figure
out a way forward without breaking things.
> Why do you have IBV_LINK_LAYER_UNSPECIFIED ? That seems pointless. Why
> should existing kernels return UNSPECIFIED when we know they are
> always IB. I'd say drop IBV_LINK_LAYER_UNSPECIFIED and set
> IBV_LINK_LAYER_INFINIBAND to 0.
I prefer having the UNSPECIFIED. Not a strong preference but my
reasoning is that if you have an old kernel that doesn't answer
anything, you're better off letting the app see that. And there's no
reason why iWARP has to run over ethernet in principle.
Maybe I'm wrong but I don't like setting "don't know" magically to IB
behind the scenes.
- R.
next prev parent reply other threads:[~2009-12-10 21:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-10 17:05 [PATCH] rdmaoe/libibverbs: handle binary compatibility Eli Cohen
2009-12-10 17:33 ` Jason Gunthorpe
[not found] ` <20091210173353.GW1966-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2009-12-10 21:14 ` Eli Cohen
2009-12-10 21:49 ` [ewg] " Jason Gunthorpe
[not found] ` <20091210214945.GP6188-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2009-12-10 21:57 ` Roland Dreier [this message]
[not found] ` <adaein2lcg8.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2009-12-10 22:17 ` Jason Gunthorpe
2009-12-14 8:41 ` Eli Cohen
2009-12-10 21:50 ` Sean Hefty
[not found] ` <C657920367C84928A5A013CC8E49912B-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2009-12-14 8:41 ` Eli Cohen
2009-12-14 19:14 ` 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=adaein2lcg8.fsf@roland-alpha.cisco.com \
--to=rdreier-fyb4gu1cfyuavxtiumwx3w@public.gmane.org \
--cc=eli-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org \
--cc=ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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