]> git.openfabrics.org - ~ardavis/dapl.git/commit
ucm,scm: UD mode creates many CR objects per EP that needs cleaned up
authorArlin Davis <arlin.r.davis@intel.com>
Fri, 12 Jul 2013 18:52:33 +0000 (11:52 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Fri, 12 Jul 2013 19:01:25 +0000 (12:01 -0700)
commit617952fec1b8ca5ec5fc96d5568b90c1ba833ca3
tree7fd6e80e0fa0412798abf7defb1351b9ae73c7e0
parent43a4b28c39199ca47d3af1f456e065cf7fbd741c
ucm,scm: UD mode creates many CR objects per EP that needs cleaned up

After connection is established and the AH is provided to consumer
on UD connect establishment there is no need to keep the CR object
on the SP. For large clusters this results in a growing memory
footprint for CR objects and long cleanup times on device close.

Change ucm and scm providers to unlink and free CR resources
during CM object free if this is a UD QP and CONN_EST state.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/common/dapl_sp_util.c
dapl/openib_scm/cm.c
dapl/openib_ucm/cm.c