man: mention CQs in fi_endpoint(3)

The fi_endpoint man page wasn't distinguishing between CQs and EQs
per our recent change. The data transfer completions now appear in
CQs not EQs. Passive endpoints need EQs, but not active endpoints.

Signed-off-by: Sayantan Sur <sayantan.sur@intel.com>
Add fi_dupinfo

Fixes #246

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Eliminate build warnings from verbs provider
gcc 4.9.1 complains about used-but-not-set and portentially uninit vars

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
prov/verbs: Report supported caps

If given caps == 0, report back all supported caps vs error. Also trivial cleanups.

Signed-off-by: Patrick McCormick <patrick.m.mccormick@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric/tostr: Use YAML formatting for output

Make tostr output valid yaml again. This means no tabs in output.
Also get rid of trailing comma on flags.

Signed-off-by: Patrick McCormick <patrick.m.mccormick@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Misc cleanups in internal header files.

Remove remnants from incomplete merge in fi.h.i
Remove unused PFX define (use PACKAGE instead).
Remove duplicate min/max defines, use version in fi.h.

Signed-off-by: Patrick McCormick <patrick.m.mccormick@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge pull request #248 from sayantansur/fi-man-endpoint

man: mention CQs in fi_endpoint(3)
Merge pull request #254 from rfaucett/pr/verbs_warnings

Eliminate build warnings from verbs provider
Merge pull request #252 from rfaucett/pr/fi_dupinfo

Add fi_dupinfo
Merge branch 'dev'
Merge pull request #256 from shefty/master

Manual merge of pull requests from Patrick
Clean up mutex abstraction and atomic getter-setters in fi.h

The snippet in configure.ac which checked for intrinsics was incorrectly always failing so the atomic gcc intrinsics have never been compiled. The old ones are actually deprecated as of GCC 4.7 which introduced a new set of intrinsics. Replaced them with test for the new c11 intrinsics + implementation.

Replaced the semaphore implementation of a mutex with a plain old pthread mutex. semaphore.h is part of posix/libc, just like pthreads which we require explicitly-- so just use that.

Allow the mutex to be compile-time selected as either a mutex or a spinlock.

Signed-off-by: pmmccorm <patrick.m.mccormick@intel.com>