ib/cm: poll for CM REQ events
authorLOCALS~1\Temp/report.7.tmp <LOCALS~1\Temp/report.7.tmp@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 13 Jan 2010 19:34:17 +0000 (19:34 +0000)
committerLOCALS~1\Temp/report.7.tmp <LOCALS~1\Temp/report.7.tmp@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 13 Jan 2010 19:34:17 +0000 (19:34 +0000)
commit259d66730fb1fccb732c531273d4cacf1bcbfced
tree79c90267a6a13298f181d1e4d0e89741badf5fe2
parente7928dc06a2cc4d96fc07468d17e9c1c3130c26a
ib/cm: poll for CM REQ events

Replace the callback mechanism for reporting connection
requests with one that requires the user to poll for the
events.  This allows queuing REQs in the CM until the user
is ready to process the events.

Still provide a callback mechanism to notify the user that
REQ events are ready to be retrieved.

This change improves the connection rate for winverbs when
the user retrieves only a small number of requests at a time.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2663 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/kernel/al_cm.c
core/al/kernel/al_cm_cep.c
core/winverbs/kernel/wv_ep.c
inc/kernel/iba/ib_cm_ifc.h