Use fi_cq_readerr to read queue errors when fi_cq_read returns EAVAIL.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>
Merge pull request #47 from a-ilango/master

Use fi_cq_readerr to read queue errors when fi_cq_read returns EAVAIL.
ud_pingpong:  limit RX post to max_mag_size + msg_prefix_size

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
add EQ unit test "unit/fi_eq_test"
also add in Sean's comments

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Merge pull request #50 from rfaucett/pr/ud_pingpong

ud_pingpong:  limit RX post to max_mag_size + msg_prefix_size
ud_pingpong - check return codes from close calls in normal exit path

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
eq_test updates:
make tests static, add open/close test, poison event/entry before each
read

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Merge pull request #49 from rfaucett/eq_test

add EQ unit test "unit/fi_eq_test"
Merge pull request #51 from rfaucett/pr/ud_pingpong_close

ud_pingpong - check return codes from close calls in normal exit path
Clean copy-pasted unused headers
Make a perf printing function and put it in common code, modify all tests to use it.

Some other trivial cleanups also snuck in.
Remove unused -C option from getopt
Rename get_elapsed_ms -> get_elapsed, make it more general and port over other tests.
Add yaml header for multiple document parsing
fi_cq_readerr returns a negative value on error. Fix cq_readerr to handle it correctly. Provide prov_errno to fi_cq_strerror to get useful error string.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>
Merge pull request #54 from a-ilango/master

fix cq_readerr
Merge pull request #52 from pmmccorm/master

Common code + cleanups for fabtests
Fix issues from last merge, add addr_format parser for fi_info.
Merge pull request #56 from pmmccorm/master

Fix issues from last merge, add addr_format parser for fi_info.
Add AV unit test, move some parts of test engine to common file
Fixes #46

Signed-off-by: Reese Faucette <rfaucett@cisco.com>