man: Update EQ documentation to reflect creation of CQ class

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
include: remove FI_INJECT_* macros

We should just remove the tests for individual operations and let the
FI_INJECT flag indicate that inject operations are supported for all
interfaces supported by an endpoint.

Signed-off-by: Sayantan Sur <sayantan.sur@intel.com>
Merge pull request #100 from sayantansur/remove-fi-inject-msg

include: remove FI_INJECT_* macros
Merge remote branch 'upstream/master'
Merge pull request #106 from shefty/master

Update EQ / CQ man pages
fabric: Use a single fi_control operation

Eliminate all class specific fabric wrappers around fi_control.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Modify CM accept/reject calls to take a connreq context

Update the CM event to report a context associated with the connection
request.  This context will be passed into the accept and reject calls.
This simplifies the CM usage model with stronger type checking.  It
also allows us to remove the 'data' field from fi_info, allowing the
fi_info structure to be independent of the actual connection and
endpoint.  The fi_info will still convey the attributes of the endpoint,
there just won't be an implied association between an instance of the
structure and the connection.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Include fi_trigger.h in makefile

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
prov/psm: clean up the fid_xxx variable names

The names "fid_xxx" have been used inconsistently at different
places. In many cases, "fid_" is used to distinguish variables
of provider private types (e.g. "struct psmx_fid_ep *fid_ep")
from variables of generic fabric types (e.g. "struct fid_ep *ep").
However, this is not done consistently and the "fid_" prefix
doesn't clearly convey such information.

This patch removes the "fid_" prefix from all the variable names.
Use "xxx" whenever possible and use "xxx_priv" for variables of
provider private types when the names "xxx" have already been
used for variables of generic fabric types.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
fabric: Add context to multicast join operation

The join operation completes asynchronously.  Add a user context
field to the call, so that app can distinguish between multiple
join completions.

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

prov/psm: clean up the fid_xxx variable names
prov/psm: remove an extra return statement

The line was introduced during EQ separation, when the MR to EQ
binding was temporarily disabled.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: remove some obsolete comments

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: remove conditional compilation for AM-based funcitons

The provider only supports a very limited set of api if AM is
disabled. In practice we always want to have access to the extra
api funcitons enbaled by the AM support.

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

prov/psm: code cleanup
Merge pull request #109 from shefty/master

More API tweaks
prov/psm: allow "any source" address in av table

An all-0 address can be used in recvfrom calls for receiving from
any source. Not valid for send calls.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: use FI_MR_KEY flag for user requested mr key

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: rename all the remaining 'eq' references to 'cq'

Clean up the name space in preparation of adding the new eq
support.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: file renaming related to eq->cq change

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