prov/psm: don't try name resolution if FI_SOURCE is set

The "node" parameter to fi_getinfo is usually the name/address of
the remote side. The provider can try to resolve it into a PSM
"epid" that can be used as the input to fi_av_insert.  However,
if the FI_SOURCE flags is set, the "node" parameter is the local
address and there is no need to try the name resolution (and in
fact it can't because the epid is only availabe after the domain
is open).

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
fabric: Merge connected and unconnected transfer calls

In an effort to reduce the number of interfaces exposed by
a provider, merge the connected and unconnected APIs.  The
result is instead of having separate calls, such as:

send, sendv, senddata, inject, sendmsg
sendto sendvto, senddatato, injectto, sendmsg

we have a single set:

send, sendv, senddata, inject, sendmsg

The actual interfaces are based on the unconnected calls.
The disadvantage is that connected endpoints will have an
extra parameter, which will be unused if scalable endpoints
are not in use.  The advantage is a smaller footprint for
supported APIs, with future support for scalable endpoints
over connected endpoints.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fi_no_rx_ctx and fi_no_tx_ctx have wrong prototype

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
usnic: remove concept of CQ groups, and merge in latest from common code

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

usnic: remove concept of CQ groups, and merge in latest from common code
Merge pull request #347 from rfaucett/pr/fi_no_rx_ctx

fi_no_rx_ctx and fi_no_tx_ctx have wrong prototype
Merge pull request #344 from shefty/master

fabric: Merge connected and unconnected transfer calls
Updated nroff-generated man pages
man pages: FI_SEND_BUFFERED -> FI_INJECT, remove sendto/recvfrom refs

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Clean up configure output, don't do unused checks.

Remove unused checks: \*_CLOEXEC, AC_C_CONST, sizeof long.
Print which providers and how they are built after configure runs, don't error when no provider
is built: libfabric.so could be used with only out-of-tree providers. Print a big warning instead.

Signed-off-by: pmmccorm <patrick.m.mccormick@intel.com>
Merge pull request #349 from rfaucett/pr/fi_man

man pages: FI_SEND_BUFFERED -> FI_INJECT, remove sendto/recvfrom refs
Updated nroff-generated man pages
update man pages describing accepting connections

Signed-off-by: Reese Faucette <rfaucett@cisco.com>
Merge branch 'master' of ssh://github.com/ofiwg/libfabric
usnic: make semi-official way to call usd_fill_udp_dest() from usdf
usnic: fix prototypes for dgram sends to include dest_addr
usnic: minor cleanups

A few general types of cleanups:

1. Make functions static that do not need to be public
2. Include missing .h files to get prototypes for symbols that are used
3. #if 0 out a debugging function
4. Fix a few prototypes (e.g., () -> (void))
Merge pull request #356 from jsquyres/pr/usnic-cleanups

usnic cleanups
Merge pull request #351 from rfaucett/pr/accept

fi_accept: connreq is specified as an arg in man pages but missing
Updated nroff-generated man pages