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>
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 branch 'master' of ssh://github.com/ofiwg/libfabric
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>
man/rma: Add missing RMA man page links

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Avoid (void*) pointer arithmetic in Ringbuffer

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
Verbs provider does not support DGRAM.
      - Fix the hints check in verbs provider

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
man: Update documentation to limit connect call to MSG EPs

Connectionless EPs must be bound to an AV and must also be
able to support calling connect. This results in some
confusion regarding what address is passed into connect.

Also, the connected and connectionless data transfer calls
were merged. This reduces the usefulness of calling connect()
on a connectionless EP.

Remove support for connect on connectionless endpoints.  This
simplifies the API.  This is a documentation only change.
The API itself is left unaffected, so that connect could be
added later if needed.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge pull request #371 from jithinjosepkl/pr/devel

Avoid void* arithmetic in Ring-buffer and fix Verbs provider hints check
Merge branch 'master' of ssh://github.com/ofiwg/libfabric
prov/psm: Remove connect support
prov/socket: Remove connect support from unconnected EPs

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
man: Update that cq_data_size is an attribute

The cq_data_size is available as a domain attribute and
is no longer available through the getopt call.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
prov/verbs: Fix CQ read call to return correct error code

If poll CQ returns a work completion with a failed status,
the CQ read calls will return an incorrect value.  Return
FI_EAVAIL as documented.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Rename FI_ADDR_UNSPEC -> FI_FORMAT_UNSPEC

It is the address format that is unspecified, not the address.
This change will allow us to use FI_ADDR_UNSPEC for a
different purpose in a subsequent change, where it will mean
that the address was not specified.

As part of this update, the sockets provider is updated to
return ADDR_NOTAVAIL in place of ADDR_UNSPEC where required.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Define FI_ADDR_UNSPEC to mean any source

When posting a receive buffer, allow the user to indicate
that it can match with any source address by using
FI_ADDR_UNSPEC as the src_addr.

Also define an EP capability to indicate whether source
directed receives is required and/or supported by the
provider.

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

Updates to documentation + removal of connect support from DGRAM/RDM EPs
Merge pull request #376 from shefty/master

prov/verbs: Fix CQ read call to return correct error code
Merge pull request #373 from j-xiong/master

prov/psm: tagged_inject optimization, plus some minor fixes