[openib-general] [PATCH] use mmiowb after doorbell ring

Michael S. Tsirkin mst at mellanox.co.il
Thu Nov 2 05:19:13 PST 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [PATCH] use mmiowb after doorbell ring
> 
>  > I just look a quick look at the directory setup and if you are
>  > changing things I'd say you should also arrange to have the libibverbs
>  > soname stamped into the plugin path and soname. Something like
>  > libmthca-libibverbs.2.so.0. Once you do that it is pretty safe
>  > to put it in /usr/lib* 
> 
> That makes sense (although I guess it would be
> libmthca-libibverbs.2.so without the .0, since libmthca is just a
> plugin that doesn't have an independent soname of its own).  Then we
> could have each plugin drop a file in /etc/libibverbs.conf.d/ with the
> name -- something like
> 
>     driver mthca
> 
> (and possibly also read $HOME/.libibverbs.conf if desired)
> 
> The only two things I need to figure out, I hope with help from
> smarter people:
>  - What is the autoconf/automake chicanery needed to make the
>    libmthca figure out the right libibverbs soname to stick in the
>    name of the .so it installs?
>  - And what is the autoconf/automake chicanery needed to fall back to
>    having libmthca install plain mthca.so under /usr/lib/infiniband
>    when it detects that it is being built against libibverbs 1.0?

By the way, what's up with this project?
It's still planned for libibverbs 1.1, isn't it?

-- 
MST




More information about the general mailing list