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
fi_cq_readerr returns a negative value on error. Fix cq_readerr to handle it correctly.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>