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

Roland Dreier rdreier at cisco.com
Wed Oct 18 13:43:03 PDT 2006


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

 - R.




More information about the general mailing list