]> git.openfabrics.org - ~ardavis/dapl.git/commit
common: query calls return incorrect IA handle to consumer
authorArlin Davis <arlin.r.davis@intel.com>
Mon, 24 Oct 2011 20:40:45 +0000 (13:40 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Mon, 24 Oct 2011 20:40:45 +0000 (13:40 -0700)
commiteb026ba0e9f37f131b84ea8971ba18ee2101d592
tree945b734a42aea83d6e5ee5f4e94f71475466c187
parent9b891e7ec048cdc8905c70780ef9ca27af0a4002
common: query calls return incorrect IA handle to consumer

The IA handle from the consumer perspective is an IA vector and
not the provider IA address handle. Need to convert IA handle
to IA vector for consumer calls.

Modify dats_ia_get_handle call to convert both ways depending
on handle type provided so a dapl provider can convert to vector
on query calls. This fix is backward compatible with older libdat2
libraries. Function is already exported and syntax is unchanged.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/common/dapl_ep_query.c
dapl/common/dapl_lmr_query.c
dapl/common/dapl_psp_query.c
dapl/common/dapl_pz_query.c
dapl/common/dapl_rmr_query.c
dapl/common/dapl_rsp_query.c
dapl/common/dapl_srq_query.c
dapl/include/dapl.h
dapl/udapl/dapl_cno_query.c
dapl/udapl/dapl_evd_query.c
dat/common/dat_api.c