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
- Add av-insert-sym (Fixes #430)
- Fix incorrect return value for av_insert* calls.

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
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
Added implementation of sendmsg/recvmsg/inject for usdf dgram ep.

Currently sendmsg/recvmsg just directly call their counterparts for
sendv/recvv. Code need to be added to handle different flags such
as FI_COMPLETION/FI_INJECT and so on.

Also fixed some whitespace errors.

Signed-off-by: Xuyang Wang <xuywang@cisco.com>
prov/psm: clean up assertions in atomics funcitons

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Updated nroff-generated man pages
prov/psm: add some debug output

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: a workaround for an assertion error when exiting

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Fix warnings in sockets-provider (Fixes #427)

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