Move test_size and bind_fid to common code.
Move wait_for_completion to common code and change simple/pingpong.c to
work with wait_for_completion.
Merge remote-tracking branch 'upstream/master' into upcommit
Merge pull request #45 from pmmccorm/master

Make fi_info a little more general:
Remove bind_fid. Update test_size. Use max_msg_size in ud_pingpong.
Merge pull request #44 from soniczhao/upcommit

Move test_size, bind_fid and wait_for_completion to common code.
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.