]> git.openfabrics.org - ~shefty/rdma-win.git/commit
cmatose: fix miscounting send/receive completions
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 15 Jan 2009 07:03:20 +0000 (07:03 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 15 Jan 2009 07:03:20 +0000 (07:03 +0000)
commit644bcaed578a86646e80fc3c0755c4f6db570716
tree03ef77d6341021386792b1de6445649e9b06d56f
parent578138c8109669f9e58116923174c0eb084fe1c0
cmatose: fix miscounting send/receive completions

Because send and receive completions go to the same CQ, it's possible to process receive completions when we're looking for sends.  The receive completions will  be counted as sends and essentially lost as receives, resulting in hangs polling the CQ.  Fix this by separating sends and receives into their own CQs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1829 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
branches/winverbs/ulp/librdmacm/examples/cmatose/cmatose.c