redo patch for data (transfer) operations
prov/psm: remove ep to domain binding operation.

Under the current API, an endpoint is bound to a domain at the
time of creation. There is no longer any need to provide separate
binding operation.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: remove ep to mr binding operation.

The op was provided as an alternative form of mr to ep binding.
Remove it because we want to enforce the correct binding order.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
fabric: define FI_MIN_MULTI_RECV

Defines the minimum receive buffer space available when the receive
buffer is automatically freed (see FI_MULTI_RECV).

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: check domain capabilities when creating ep

Make sure that the endpoint doesn't ask for more capabilities than
what is supported by the domain.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: remove useless domain binding op

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
man: document fi_getinfo as a thread safe call

Multiple threads should be able to call fi_getinfo
simultaneously without having to serialize their calls.
This is required to support use cases where multiple
threads may want to access the fabric but they are not aware
of the existence of other threads, or do not have any shared
resource to serialize on.
Revert "prov/psm: remove ep to mr binding operation."

This reverts commit e0b3299c1c4fc24e49e997a0fa0b4adbe191a6dd.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: return error on trecvfrom with non-NULL src_addr

Tagged recvfrom only supports "any source" recvfrom due to the
limitation in PSM. Applications need to use tag bits to allow
receiving from specific source.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: temporarily remove ep from mr property

The binding between MR and EP is M:N. A single EP field is not
sufficient. Before the access scoping semantics of the MR to
EP binding can be fully supported, leave the binding as mostly
no-op.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Merge pull request #4 from jeffhammond/master

redo patch for data (transfer) operations
Merge pull request #6 from sayantansur/manpage-updates

man: document fi_getinfo as a thread safe call
Merge pull request #5 from j-xiong/master

various small fixes for psm provider, plus add missing definition of FI_MIN_MULTI_RECV.