All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yishai Hadas <yishaih-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
	Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>
Cc: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Tzahi Oved <tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH V9 libmlx4 1/2] Infra-structure changes to support verbs extensions
Date: Sun, 29 Dec 2013 18:46:22 +0200	[thread overview]
Message-ID: <52C051DE.6080904@dev.mellanox.co.il> (raw)
In-Reply-To: <20131223182120.GE25089-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>

On 12/23/2013 8:21 PM, Jason Gunthorpe wrote:
> On Mon, Dec 23, 2013 at 09:35:46AM -0800, Roland Dreier wrote:
>> On Thu, Aug 1, 2013 at 8:05 AM, Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote:
>>> #ifdef HAVE_IBV_REGISTER_DRIVER
>>>   static __attribute__((constructor)) void mlx4_register_driver(void)
>>>   {
>>> -       ibv_register_driver("mlx4", mlx4_driver_init);
>>> +       verbs_register_driver("mlx4", mlx4_driver_init);
>>>   }
>>>   #else
>> So just to be clear, after this change libmlx4 will no longer build or
>> work with libibverbs <= 1.1.7 (1.1.8 is unreleased but is the one with
>> the verbs extension changes)?
> Right, but is it more than just that hunk..
>   
>> If so does it make sense to have this autoconf stuff
>> (HAVE_IBV_REGISTER_DRIVER) for compatibility with libibverbs 1.0.x?
> None, it should be dropped, and the kind thing would be to have
> configure bail if verbs_register isn't found.
>
>> How hard would it be to add an autoconf check for
>> verbs_register_driver() and keep compatibility with libibverbs 1.1.7?
> Not sure that is useful. I can't think of any reason someone would
> actually want to do that, and doing the autoconf test sort of implies
> that someone actually tested it, it works, and it is a sane thing to
> do..
>
> Jason
     Right, the idea was that libibverbs with verbs extension will 
support both types of providers, w/w.o verbs extension but provider with 
verbs extension
     (e.g. libmlx4) will require the extended libibverbs.
     Re libibverbs, I have reviewed your GIT with the extensions - seems 
to be fine.

     Roland - please move forward and take libmlx4 as well, there are 
some distros who are waiting for.
> --
> 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

--
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:[~2013-12-29 16:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 15:05 [PATCH V9 libmlx4 0/2] Add extension and XRC QP support Yishai Hadas
     [not found] ` <1375369555-11416-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-08-01 15:05   ` [PATCH V9 libmlx4 1/2] Infra-structure changes to support verbs extensions Yishai Hadas
     [not found]     ` <1375369555-11416-2-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-12-23 17:35       ` Roland Dreier
     [not found]         ` <CAL1RGDXmbkeyxwsxduJEq9K6x_S4-q-txiR2pziS3tX-BKV76g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-23 18:21           ` Jason Gunthorpe
     [not found]             ` <20131223182120.GE25089-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2013-12-29 16:46               ` Yishai Hadas [this message]
2013-08-01 15:05   ` [PATCH V9 libmlx4 2/2] Add support for XRC QPs Yishai Hadas
2013-08-06 15:03   ` [PATCH V9 libmlx4 0/2] Add extension and XRC QP support Or Gerlitz
     [not found]     ` <CAJZOPZJ9gr=4Z-9XK0JRcojsXEwzXV9Hn+1h-vcu3fcvbWxM-Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-06 17:40       ` Roland Dreier
     [not found]         ` <CAG4TOxP2CUgUsu-061XZpEgY89k0Xf4+jfTOmq=b_h0Q1Ccs0w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-06 20:32           ` Or Gerlitz
     [not found]             ` <CAJZOPZKJzkiVqaHPx1Zvs0boxyy0P=KJSkq-7ZuA6FMJwbh-4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-17  9:03               ` Or Gerlitz
     [not found]                 ` <525FA7DC.5090805-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-11-14 21:57                   ` Tzahi Oved
2013-10-17  9:03               ` Or Gerlitz

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=52C051DE.6080904@dev.mellanox.co.il \
    --to=yishaih-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org \
    --cc=tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=yishaih-VPRAkNaXOzVWk0Htik3J/w@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.