]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: open only prov endpoints with name/addr configured
authorKaike Wan <kaike.wan@intel.com>
Wed, 7 Jan 2015 22:25:34 +0000 (14:25 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 7 Jan 2015 22:25:34 +0000 (14:25 -0800)
commit0d16f710364fa187531eff8750fe24760a9ad391
tree64e8af33e50308b09126af20b30b242eaad40ae2
parent7a781f6d554532995181b9efbe445599b25c271a
ibacm: open only prov endpoints with name/addr configured

This patch modifies the ibacm core so that it will request the provider to
open those endpoints that have been assigned with at least one name or address.
This change will avoid unnecessary endpoint open and close for those without
any name/address configured by the administrator.

Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c