fabric: Define FI_PROTO_SOCK_MSG / DGRAM / RDM

The socket provider implements a protocol over TCP, similar
to iWarp.  Capture that a higher-level protocol is in use,
versus the base transport protocol.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
man/mr: Describe local MR in more detail

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fi_ini: Always set init flag after static providers are initialized

Previously any failure in loading dynamic providers would cause the
"init" flag to remain unset. As the result, static providers may be
initialized mulitple times, leading to strange errors. For example,
the following error would be produced by the PSM provider if it's
initilaized more than once:

	psmx_domain_open: psm_ep_open returns 5, errno=2

The error code 5 means "PSM is not initialised".

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merged usd implementation of usd_post_send_iov.

Signed-off-by: Xuyang Wang <xuywang@cisco.com>
man: define FI_THREAD_DOMAIN

Define another threading model - FI_THREAD_DOMAIN.

In this model, the application serializes accesses to all
objects belonging to a particular domain.

This model allows the provider to share resources among
multiple EPs. Example - a shared list receive buffers for
implementing FI_BUFFERED_RECV.

Signed-off-by: Sayantan Sur <sayantan.sur@intel.com>
man: use generic term in place of command

The man page used "command queue", replace it with generic
terms "transmit queue" and "receive queue".

Signed-off-by: Sayantan Sur <sayantan.sur@intel.com>
Merge pull request #434 from sayantansur/pr-man-command

man: use generic term in place of command
Updated nroff-generated man pages
prov/psm: assign a provider errno for error events that lacks one

Some CQ entries are generated manually (not polled from PSM).
Assigning a generic prov_errno makes more sense than having it
set to 0.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: ignored the port number when resolving the address

Always use the UUID (set by SFI_PSM_UUID environment variable) to
calculate the service port. This allow the application to provide
port number (needed by some other providers) without messing up
the name resolution.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: allow fi_ini() be called multiple times

Prevent premature finalization of PSM when the provider cleanup()
function is called multiple times (as the result of fi_ini()
being called multiple times).

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Merge pull request #432 from xuywang/pr/usd_post_iov

Merged usd implementation of usd_post_send_iov
Merge pull request #433 from sayantansur/pr-thread-domain

man: define FI_THREAD_DOMAIN
Merge pull request #435 from shefty/master

Rename socket provider protocol and fix fabric init code
Merge pull request #436 from jithinjosepkl/pr/sockets

- Add av-insert-sym (Fixes #430)
Merge pull request #437 from j-xiong/master

prov/psm: bug fixes
Updated nroff-generated man pages
Fix warnings in sockets-provider (Fixes #427)

Signed-off-by: Jithin Jose <jithin.jose@intel.com>