From: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
To: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2.6.37] RDMA/cxgb3: When a user QP is marked in error, also mark the CQs in error.
Date: Wed, 20 Oct 2010 17:36:54 -0500 [thread overview]
Message-ID: <4CBF6F06.7030703@opengridcomputing.com> (raw)
In-Reply-To: <adapqv47co9.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
On 10/20/2010 04:54 PM, Roland Dreier wrote:
> > - bump the ABI since the create_cq uverbs response changes.
>
> > - detect older libraries and reduce the mmap size accordingly.
>
> If you bump the ABI, will older libraries still run with the new driver?
> Or will they just bail out with "unsupported ABI version"?
>
>
Well, the existing lib versions don't look at the ABI at all. :) So
we're ok. And I put logic in the driver to detect the old libs vs ABI
1 libs.
> If you can work with both old and new userspace libraries, is there any
> reason for an ABI break anyway?
>
The ABI version bump tells the new library that the kernel driver
supports this new functionality. I don't know another way to do this
without the ABI bump. The kernel driver detects the library ABI via the
size of the create_cq response that's passed in from the lib. But in
the other direction, I think the only was is with the ABI number.
Steve.
--
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
next prev parent reply other threads:[~2010-10-20 22:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 21:44 [PATCH 2.6.37] RDMA/cxgb3: When a user QP is marked in error, also mark the CQs in error Steve Wise
[not found] ` <20101020214432.4869.50981.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org>
2010-10-20 21:54 ` Roland Dreier
[not found] ` <adapqv47co9.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-10-20 22:36 ` Steve Wise [this message]
2010-10-20 22:10 ` Hefty, Sean
[not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B801FC1F-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-10-20 22:37 ` Steve Wise
[not found] ` <4CBF6F3F.10507-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2010-10-20 22:41 ` Hefty, Sean
[not found] ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25B801FCA3-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-10-20 23:34 ` Steve Wise
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=4CBF6F06.7030703@opengridcomputing.com \
--to=swise-7bpotxp6k4+p2yhjcf5u+vpxobypeauw@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@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 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.