[openib-general] Port of NetPIPE-3.6.2 to OpenIB userspace verbs

Troy Benjegerdes hozer at hozed.org
Wed Mar 16 21:10:58 PST 2005


Note to self: check build twice in case your filesystem has bogons.

it builds fine. I must have had a bogus object file. But, does this mean
the port is up, or only that the physical link is active?

troy at opteron1:/afs/scl/project/infiniband/openib/roland-uverbs/src/bin$ ./ibstat
CA 'mthca0'
        CA type: MT23108
        Number of ports: 2
        Firmware version: 2.0.0
        Hardware version: a1
        Node GUID: 0x0002c90108cd8ba0
        System image GUID: 0x0002c90108cd8ba3
        Port 1:
                State: Active
                Physical state: LinkUp
                Rate: 10
                Base lid: 1
                LMC: 0
                SM lid: 1
                Capability mask: 0x00100a6a
                Port GUID: 0x0002c90108cd8ba1


On Wed, Mar 16, 2005 at 10:58:17PM -0600, Troy Benjegerdes wrote:
> On Tue, Mar 15, 2005 at 02:06:29PM -0800, Roland Dreier wrote:
> > I just spent a little time creating a new "ibv" module for NetPIPE
> > that runs on top of the userspace verbs I've been developing on the
> > roland-uverbs branch.  This is pretty much a straight port of the
> > current Mellanox VAPI "ib" module, with the main changes coming from
> > the fact that OpenIB doesn't support the non-standard "unsignaled
> > receive" extension, and the fact that a completion event thread is no
> > longer created automatically.
> > 
> > I found several bugs in the verbs support while making this work, but
> > it seems quite stable now, although I haven't tried all option
> > combinations.  I also have not had a chance to compare Mellanox VAPI
> > and OpenIB verbs performance on identical hardware -- it would be very
> > useful to see this comparison on a variety of systems.
> > 
> 
> I'm having trouble building opensm et all from roland-uverb... (and I
> can't really test NetPIPE without an SM )
> 
> .o -o opensm  -L/afs/scl/project/infiniband/openib/roland-uverbs/src/lib
> -lpthread
> /afs/scl/project/infiniband/openib/roland-uverbs/src/lib/libumad.so
> /afs/scl/project/infiniband/openib/roland-uverbs/src/lib/libcomplib.so
> /afs/scl/project/infiniband/openib/roland-uverbs/src/lib/libcommon.so
> -Wl,--rpath -Wl,/afs/scl/project/infiniband/openib/roland-uverbs/src/lib
> -Wl,--rpath -Wl,/afs/scl/project/infiniband/openib/roland-uverbs/src/lib
> osm_switch.o(.text+0x25): In function `osm_switch_init':
> /afs/scl/project/infiniband/openib/roland-uverbs/src/userspace/management/osm/opensm/osm_switch.c:111:
> multiple definition of `no symbol'
> osm_switch.o(.text+0x0):/afs/scl/project/infiniband/openib/roland-uverbs/src/userspace/management/osm/opensm/osm_switch.c:98:
> first defined here
> /usr/bin/ld: Warning: size of symbol `' changed from 37 in osm_switch.o
> to 242 in osm_switch.o
> osm_switch.o(.text+0x117): In function `osm_switch_destroy':
> /afs/scl/project/infiniband/openib/roland-uverbs/src/userspace/management/osm/opensm/osm_switch.c:163:
> multiple definition of `no symbol'
> osm_switch.o(.text+0x0):/afs/scl/project/infiniband/openib/roland-uverbs/src/userspace/management/osm/opensm/osm_switch.c:98:
> first defined here
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

-- 
--------------------------------------------------------------------------
Troy Benjegerdes                'da hozer'                hozer at hozed.org  

Somone asked my why I work on this free (http://www.fsf.org/philosophy/)
software stuff and not get a real job. Charles Shultz had the best answer:

"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's why
I draw cartoons. It's my life." -- Charles Shultz



More information about the general mailing list