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>
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
prov/psm: optimize tagged_inject for specific EP/AV configurations

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: remove now redundant flag for psm send calls

Always pass 0 as the flag because blocking semantics is no longer
provided in SFI.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/sock: Correct calls to ep_rx_ctx and ep_tx_ctx functions

The prototype for these calls changed the to use a different instantiation
of the fid_ep structure, i.e. fid_sep

Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Rename fi_rx/tx_ctx_attr to just fi_rx/tx_attr

RX and TX contexts are objects allocated off of scalable
endpoints.  The attributes themselves apply to all transmit
and receive queues, including those belonging to normal
endpoints where an explicit RX/TX context will not be
referenced.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge pull request #359 from shefty/master

prov/sock: Correct calls to ep_rx_ctx and ep_tx_ctx functions
fabric: Add 'injectdata' call

Provide an optimized interface that supports both injected
data and remote CQ data.  Applications, such as rsockets,
can make use of this feature.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Rename fi_pendpoint to fi_passive_ep

Make the name of the function easier for user's to
figure out its usage.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>