[Openframeworkwg] Some concerns about the new Fabric/IBverbs API

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Fri Dec 6 16:27:40 PST 2013


On Fri, Dec 06, 2013 at 04:10:08PM -0800, Christoph Lameter wrote:

> Oh with dlopen you can load multiple implementation with the same function
> names. The multiplex layer can build function vectors for these and provide
> some sort of selection function for devices. Then we are back to the existing
> overhead. The multiplex layer can supply many of the same functions that the
> provider layer also offers and then route to the correct driver that it may
> dynamically load.

I've never messed enough with RTLD_LOCAL to know if that would work
properly in all cases.. With that scheme all providers would define
the same symbols..

Though I think I'd prefer to have provider-specific symbol names so at
least you get dynamic linker failures if things are setup wrong.

Jason



More information about the ofiwg mailing list