prov/psm: bug fix for the RMA long protocol

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: support FI_MR_OFFSET flag

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
prov/psm: implement writedata/writedatato

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Merge branch 'master' of ssh://github.com/ofiwg/libfabric
configure: fix the configure script for verbs and sockets

To make "auto" and "dl" options work again.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
include: fix the prototype of some atomic functions

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

Define TX/RX sizes plus 'to-string' function for printing structures
Merge pull request #156 from j-xiong/master

prov/psm: writedata/writedatato, FI_MR_OFFSET, etc
autogen.sh: config will now already always exist

We have config/fi_provider.m4, so the config/ directory will always
exist, even upon a fresh git clone.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Makefile.am: properly differentiate CFLAGS and CPPFLAGS

Also, remove trailing whitespace from AM_CFLAGS line.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
fi.h: it is an error if these macros are not already defined

These macros are not for public consumption; they're defined as part
of the build system for libfabric itself.  Hence, if they're not
already defined, it's an error -- they shouldn't be redundantly
defined in Makefile.am *and* fi.h.

As such, make the build system equivalent CPPFLAGS be for the entire
builds (i.e., AM_CPPFLAGS), not just specific to libfabric.la.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Makefile.am: DSO providers should not have redundant symbols

DSO providers can find the symbols they require from libfabric.la;
they don't need to actually include a second copy of them.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
fi_provider.m4: remove this unused AC_DEFINE

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
configury: install DL, move AM_CONDITIONALS to fi_provider.m4

Build up a list of DL-enabled providers and then install them in
$pkglibdir (they weren't being installed previously).

Also, move the AM_CONDITIONALs  in each provider.m4 up to
fi_provider.m4 -- they're really part of the build system and are
common between all providers.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
configury: make FI_<provider>_CONDITIONALS be optional

Still support the per-provider CONDITIONALS m4 macro, but make it
optional: if the provider has it, call it.  But if a provider does not
have it, then just skip it (i.e., it's not an error).

This move is because the only AM_CONDITIONALs we're using right now
are part of the build system and were just slurped up into
fi_provider.m4 (i.e., we don't have any provider-specific
AM_CONDITIONALs in any provider.m4 right now).

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Merge pull request #159 from jsquyres/topic/still-moar-configury

More configury / build system updates
Merge pull request #163 from shefty/master

Update tostr call and fix naming of EQ_DATA
prov/psm: Fix PSM build -- missed EQ rename ro CQ

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