]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[LIMITS] Add new unit test to test MR, CQ, and CQ resize limits.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 29 Nov 2005 21:34:06 +0000 (21:34 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 29 Nov 2005 21:34:06 +0000 (21:34 +0000)
commitf0bc0702df56c357ad26aedd37dde036e6f480c7
tree2e0983b74fc9dcb8e39fd16f6ed2948c94521ba3
parent869900a5f90c0b40d49befe6147adff84cc23062
[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
trunk/tests/limits/dirs [new file with mode: 0644]
trunk/tests/limits/user/SOURCES [new file with mode: 0644]
trunk/tests/limits/user/main.c [new file with mode: 0644]
trunk/tests/limits/user/makefile [new file with mode: 0644]