[openib-general] [PATCH] librdmacm: updated librdmacm to work with proposed 2.6.20 kernel CMA

Or Gerlitz ogerlitz at voltaire.com
Thu Oct 26 07:45:34 PDT 2006


Sean Hefty wrote:
> Updates the librdmacm to work with ABI version 3, which is the proposed
> kernel changes for inclusion in 2.6.20.
> 
> Test programs are also updated.
> 

OK, Sean, i have one system up and running, with kernel based on 
Roland's git plus patches 1-7 and user space based on the svn with the 
librdmacm patch. Will clone this config on Sunday such that i can 
actually run mckey and see it working. Thanks a lot for putting 
everything together...

Anyway, during working on that i have noted two issues which need to be 
addressed:

1) librdmacm does not get built against libibverbs-1.0 (see below) so i 
am using libibverbs (ie the non released yet libibverbs1.1)

2) the cma rdma multicast does not let a consumer to join as send-only

Or.


Path: .
URL: https://openib.org/svn/gen2/trunk/src/userspace/librdmacm
Repository UUID: 21a7a0b7-18d7-0310-8e21-e8b31bdbf5cd
Revision: 9963
Node Kind: directory
Schedule: normal
Last Changed Author: swise
Last Changed Rev: 9898
Last Changed Date: 2006-10-19 15:08:19 +0200 (Thu, 19 Oct 2006)

make  all-am
make[1]: Entering directory 
`/home/ogerlitz/openib/infiniband-user-9963/librdmacm'
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
-I./include   -g -Wall -D_GNU_SOURCE -I/home/ogerlitz/ib/include -MT 
cma.lo -MD -MP -MF ".deps/cma.Tpo" -c -o cma.lo `test -f 'src/cma.c' || 
echo './'`src/cma.c; \
then mv -f ".deps/cma.Tpo" ".deps/cma.Plo"; else rm -f ".deps/cma.Tpo"; 
exit 1; fi  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -g -Wall 
-D_GNU_SOURCE -I/home/ogerlitz/ib/include -MT cma.lo -MD -MP -MF 
.deps/cma.Tpo -c src/cma.c  -fPIC -DPIC -o .libs/cma.o
src/cma.c: In function `rdma_disconnect':
src/cma.c:901: error: structure has no member named `transport_type'
src/cma.c:902: error: `IBV_TRANSPORT_IB' undeclared (first use in this 
function)
src/cma.c:902: error: (Each undeclared identifier is reported only once
src/cma.c:902: error: for each function it appears in.)
src/cma.c:905: error: `IBV_TRANSPORT_IWARP' undeclared (first use in 
this function)
src/cma.c: In function `ucma_copy_ud_event':
src/cma.c:1177: warning: implicit declaration of function 
`ibv_copy_ah_attr_from_kern'
make[1]: *** [cma.lo] Error 1
make[1]: Leaving directory 
`/home/ogerlitz/openib/infiniband-user-9963/librdmacm'
make: *** [all] Error 2







More information about the general mailing list