]> git.openfabrics.org - ~ardavis/dapl.git/commit
openib_common: reorganize provider code base to share common mem, cq, qp, dto functions
authorArlin Davis <arlin.r.davis@intel.com>
Mon, 29 Jun 2009 15:57:46 +0000 (08:57 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Mon, 29 Jun 2009 15:57:46 +0000 (08:57 -0700)
commitc37d7a25dca97011ea76e2a541f936d10ca658e0
treedcdc63e5db5df64d2d32588f2a4f04b98945f13c
parent961a4083ffb646c070137abd33e9ba2ea9482685
openib_common: reorganize provider code base to share common mem, cq, qp, dto functions

add new openib_common directory with cq, qp, util, dto, mem function calls
and definitions. This basically leaves the unique CM and Device definitions
and functions to the individual providers directory of openib_scm and openib_cma.

modifications to dapl_cr_accept required. ep->cm_handle is allocated
and managed entirely in provider so dapl common code should not update
ep_handle->cm_handle from the cr->cm_handle automatically. The provider
should determine which cm_handle is required for the accept.

openib_cma defines _OPENIB_CMA_ and openib_scm defines _OPENIB_SCM_ for provider
specific build needs in common code.
33 files changed:
Makefile.am
dapl/common/dapl_cr_accept.c
dapl/dirs
dapl/include/dapl_debug.h
dapl/openib_cma/SOURCES
dapl/openib_cma/cm.c [new file with mode: 0644]
dapl/openib_cma/dapl_ib_cm.c [deleted file]
dapl/openib_cma/dapl_ib_cq.c [deleted file]
dapl/openib_cma/dapl_ib_dto.h [deleted file]
dapl/openib_cma/dapl_ib_extensions.c [deleted file]
dapl/openib_cma/dapl_ib_mem.c [deleted file]
dapl/openib_cma/dapl_ib_qp.c [deleted file]
dapl/openib_cma/dapl_ib_util.c [deleted file]
dapl/openib_cma/dapl_ib_util.h
dapl/openib_cma/device.c [new file with mode: 0644]
dapl/openib_common/cq.c [new file with mode: 0644]
dapl/openib_common/dapl_ib_common.h [new file with mode: 0644]
dapl/openib_common/dapl_ib_dto.h [new file with mode: 0644]
dapl/openib_common/ib_extensions.c [new file with mode: 0644]
dapl/openib_common/mem.c [new file with mode: 0644]
dapl/openib_common/qp.c [new file with mode: 0644]
dapl/openib_common/util.c [new file with mode: 0644]
dapl/openib_scm/SOURCES
dapl/openib_scm/cm.c [new file with mode: 0644]
dapl/openib_scm/dapl_ib_cm.c [deleted file]
dapl/openib_scm/dapl_ib_cq.c [deleted file]
dapl/openib_scm/dapl_ib_dto.h [deleted file]
dapl/openib_scm/dapl_ib_extensions.c [deleted file]
dapl/openib_scm/dapl_ib_mem.c [deleted file]
dapl/openib_scm/dapl_ib_qp.c [deleted file]
dapl/openib_scm/dapl_ib_util.c [deleted file]
dapl/openib_scm/dapl_ib_util.h
dapl/openib_scm/device.c [new file with mode: 0644]