Makefile.am: remove other man page links

Only fi_close is defined now. The links to the
man pages for the other close calls need to be removed,
otherwise the build breaks.
Merge pull request #62 from sayantansur/remove-close-makefile

Makefile.am: remove other man page links
include: FI_CHECK_OP check 'op' instead of 'ops'

FI_CHECK_OP should check if the 'op' is present, not ops->ops.

Signed-off-by: Sayantan Sur <sayantan.sur@intel.com>
fabric: Move open_if operation to struct fi_ops

Allow any structure to support extended operations.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge pull request #63 from sayantansur/fi-check-op

include: FI_CHECK_OP check 'op' instead of 'ops'
prov/psm: always invalidate RMA address 0

The application may create a MR with address starting from 0, but
address 0 can never be a valid RMA address for this provider. With
this fix, RMA ops with 0 as the remote address will complete with
error instead of causing segfault at the target side.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: add AM-based functions (RMA, atomics, and msg queue)

This patch implements the RMA, atomics, and non-tagged msg queue
functions by utilising the "semi-public" active message interface
of the PSM library. This allows the PSM provider to support the
full set of functions currently defined in SFI API.

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

psm provider update: RMA, atomics, msgq, and some minor fixes
Merge pull request #64 from shefty/master

fabric: Move open_if operation to struct fi_ops
include: optional function availability by macros

Some functions - inject, eq_readfrom, etc. are optional for
providers. This patch introduces macros that enable applications
to check if these functions are available.

Signed-off-by: Sayantan Sur <sayantan.sur@intel.com>
prov/psm: Rename PFX to avoid conflict with fi.h

Both the framework and psm provider defines PFX.  Rename the PSM
define to avoid a conflict.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge pull request #65 from sayantansur/fi-optional-functions

include: optional function availability by macros
fabric: Move fabric definition into provider

The fabric definition needs to be part of the provider
code and not the framework.  Otherwise the framework
would need full knowledge of all possible fabrics - IB,
iWarp, vendor specific (e.g. Cray or IBM), etc.  There
is no standard mechanism defined for how a provider
discovers devices or communicates with drivers, which
makes fabric support difficult except at the provider
level.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
prov/sock: Implement open fabric call

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
prov/psm: Add fabric interface support

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
prov/ibv: Move fabric implementation into ibv provider

Move the fabric implementation from the framework code into
the ibverbs provider code.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Remove provider open domain call

Open domain can now be reached directly from an opened
fabric object.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Reference ep_attr and domain_attr from struct fi_info

Create a link from struct fi_info to struct fi_domain_attr,
similar to fi_ep_attr.  Applications can use the domain attributes
to restrict access to a domain with specific capabilities.

Move domain specific attributes from fi_info into the domain_attr
structure.  Move endpoint specific attributes from fi_info into
ep_attr.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Remove size parameter from query domain call

The size is determined by the version of the data structures
passed into fi_getinfo by the application.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
fabric: Modify open domain to take domain attributes

Open domain only needs to take domain attributes as input, versus
the fi_info structure.  This simplifies the interface for the user
by more clearly indicating that the specified attributes will be
associated with the newly opened domain.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>