Merge pull request #397 from shefty/master

Manual merge of PR #392
fi_trigger.3.md: fix typos and reword a sentence

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

fi_trigger.3.md: fix typos and reword a sentence
Updated nroff-generated man pages
psm: calloc the size that is needed

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Merge pull request #405 from jsquyres/pr/psm-voidstar-deref

psm: calloc the size that is needed
Brought usnic_direct update-to-date

Signed-off-by: Xuyang Wang <xuywang@cisco.com>
Merge pull request #406 from xuywang/pr/usd_udpate

Brought usnic_direct update-to-date
fi_tostr: do not use thread-specific data

Take inspiration from strerror(): just declare that fi_tostr() is not
thread safe.  Do not use __thread, because it is a GCC extension (and
it's not worth using pthread function calls to make portable thread
safe data).

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
fi_tostr: ensure that fi_tostr does not overflow the buffer

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Merge pull request #402 from jsquyres/pr/fi-tostr-tsd

fi_tostr fixes
Updated nroff-generated man pages
added back declaration of usd_fill_udp_dest as it is used by usdf externally

Signed-off-by: Xuyang Wang <xuywang@cisco.com>
Merge pull request #407 from xuywang/pr/add_func_dec

added back declaration of usd_fill_udp_dest as it is used by usdf extern...
Fixed a bug to give correct iov buf length in usdf prefix_recv implementation

Signed-off-by: Xuyang Wang <xuywang@cisco.com>
Merge pull request #408 from xuywang/pr/prefix_recv

Fixed a bug to give correct iov buf length in usdf prefix_recv implement...
Makefile.am: updates on linkback scheme
Several changes:

* Change the definition of $(linkback) to link to libfabric.la in the
  build tree (i.e., let Libtool figure out what the right directory
  is)
* Move $(linkback) and other -l libraries to provider DL LIBADD lines
  -- they do not belong in LDFLAGS
* Add $(linkback) to provider DL DEPENDENCIES to guarantee that
  libfabric is built before the provider DLs (e.g., in a parallel
  build)

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Merge pull request #399 from shefty/master

Build: Static constructors for built-in providers
prov/psm: fix the return code of fi_cq_read for error completions

When an error entry is created from PSM status, the function returned 1
incorrectly. The correct way is to continue to the CQ dequeue step, where
the error entry will be discovered and the proper value will be returned.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
man: remove references to fi_sync

Remove references to fi_sync in the manpages since it
has been removed from the API.

Applications can use counters directly to wait until issued
ops are completed.

The comment about lazy deregistration on fi_close(mr) was
also removed. Asynchronous registration is now handled using
domain events.

(Currently, it is not clear what event is caused during lazy
deregistration).

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