[LIMITS] Add new unit test to test MR, CQ, and CQ resize limits.
The test, depending on settings, will:
- Allocate 8K buffers in a loop and register them. Once allocation or
registration fails, repeat 1000 times. Deregister and free all MRs.
- Allocate CQs with 4K CQEs in a loop. When CQ creation fails, repeat
1000 times. Free all CQs.
- Allocate CQs with 32 CQEs in a loop. For each run through the loop,
resize the CQ to increasing multiples of 256 entries. When resize
fails, repeat 100 times. Repeat CQ creation and resize until CQ
creation fails, then 1000 more times for good measure. Cleanup all
CQs.
git-svn-id: svn://openib.tc.cornell.edu/gen1@188
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86