fabric: Remove auth_key from fi_info

Auth_key was intended to help with job authorization, but it is not
clear that such a key, which comes from the app, is useful.  Remove
it from fi_info until a use case is defined.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Eliminate FID prefix, except when referring to struct fid

There are two prefixes used within the header files, FI and FID.
Convert most cases of FID to FI, except for the name of the fabric
interface descriptor structure, struct fid*.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Rename openif to open_ops

Align the name to open provider specific interfaces with the rest
of the API.  Plus eliminate the 'if' from the name, which can be
misinterpretted.  An open set of operations should be simlar to
other ops, and is not a fid.

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

Minor tweaks and renames to the API
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