]> git.openfabrics.org - ~ardavis/dapl.git/commit
scm, ucm: add pkey, pkey_index, sl override for QP's
authorArlin Davis <arlin.r.davis@intel.com>
Thu, 17 Jun 2010 19:40:21 +0000 (12:40 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 17 Jun 2010 19:40:21 +0000 (12:40 -0700)
commit6c6a482b8ad33d134f0631019b249bd0fea71007
tree94a7f333b3393e1bece74b7b6d61acbad62b41bd
parent876942781e9bf72302184f3534a2ddc4068550ac
scm, ucm: add pkey, pkey_index, sl override for QP's

On a per open basis, add environment variables
DAPL_IB_SL and DAPL_IB_PKEY and use on
connection setup (QP modify) to override default
values of 0 for SL and PKEY index. If pkey is
provided then find the pkey index with
ibv_query_pkey for dev_attr.max_pkeys.
Will be used for RC and UD type QP's.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_cma/dapl_ib_util.h
dapl/openib_common/qp.c
dapl/openib_common/util.c
dapl/openib_scm/dapl_ib_util.h
dapl/openib_ucm/dapl_ib_util.h