]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
11 years agopop
Sean Hefty [Tue, 16 Jul 2013 23:06:12 +0000 (16:06 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 16 Jul 2013 23:06:12 +0000 (16:06 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 16 Jul 2013 23:06:10 +0000 (16:06 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 16 Jul 2013 23:06:10 +0000 (16:06 -0700)]
pop

11 years agorefresh
Sean Hefty [Tue, 16 Jul 2013 23:05:32 +0000 (16:05 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 16 Jul 2013 23:05:32 +0000 (16:05 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 16 Jul 2013 23:05:32 +0000 (16:05 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 16 Jul 2013 23:05:32 +0000 (16:05 -0700)]
refresh (create temporary patch)

11 years agoRefresh of filemode
Sean Hefty [Tue, 16 Jul 2013 23:05:31 +0000 (16:05 -0700)]
Refresh of filemode

11 years agorefresh
Sean Hefty [Tue, 16 Jul 2013 23:05:01 +0000 (16:05 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 16 Jul 2013 23:05:01 +0000 (16:05 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 16 Jul 2013 23:04:45 +0000 (16:04 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 16 Jul 2013 23:04:45 +0000 (16:04 -0700)]
refresh (create temporary patch)

11 years agoRefresh of filemode
Sean Hefty [Tue, 16 Jul 2013 23:04:45 +0000 (16:04 -0700)]
Refresh of filemode

11 years agorefresh
Sean Hefty [Tue, 16 Jul 2013 23:04:11 +0000 (16:04 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 16 Jul 2013 23:04:11 +0000 (16:04 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 16 Jul 2013 23:04:10 +0000 (16:04 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 16 Jul 2013 23:04:10 +0000 (16:04 -0700)]
refresh (create temporary patch)

11 years agoRefresh of filemode
Sean Hefty [Tue, 16 Jul 2013 23:04:10 +0000 (16:04 -0700)]
Refresh of filemode

11 years agonew
Sean Hefty [Tue, 16 Jul 2013 23:03:43 +0000 (16:03 -0700)]
new

11 years agonew
Sean Hefty [Tue, 16 Jul 2013 23:03:43 +0000 (16:03 -0700)]
new

11 years agoRemove executable mode bit on text files
Yann Droneaud [Tue, 16 Jul 2013 23:03:42 +0000 (16:03 -0700)]
Remove executable mode bit on text files

Source code and man page should not be executable.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoRemove executable mode bit on text files
Yann Droneaud [Tue, 16 Jul 2013 23:03:42 +0000 (16:03 -0700)]
Remove executable mode bit on text files

Source code and man page should not be executable.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoSource code and man page should not be executable.
Yann Droneaud [Tue, 16 Jul 2013 23:03:42 +0000 (16:03 -0700)]
Source code and man page should not be executable.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoSource code and man page should not be executable.
Sean Hefty [Tue, 16 Jul 2013 23:03:42 +0000 (16:03 -0700)]
Source code and man page should not be executable.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoimport
Sean Hefty [Tue, 16 Jul 2013 23:02:08 +0000 (16:02 -0700)]
import

11 years agoimport
Sean Hefty [Tue, 16 Jul 2013 23:02:08 +0000 (16:02 -0700)]
import

11 years ago[librdmacm,8/8] Open files with "close on exec" flag
Yann Droneaud [Tue, 16 Jul 2013 21:59:52 +0000 (23:59 +0200)]
[librdmacm,8/8] Open files with "close on exec" flag

File opened by librdmacm are not supposed to be inherited across
exec*(), most of the files are of no use for another program, and
others cannot be used without the associated memory mapping.

This patch changes fopen() open() and socket() to always set
close on exec flag.

This patch also add checks to configure to guess if fopen() supports
"e" flag. If O_CLOEXEC and SOCK_CLOEXEC are supported, fopen() should
support "e". If not supported, its discarded according to POSIX. Many
operating systems have support for fopen("e").

You might find more information about close on exec in the following articles:

- "Excuse me son, but your code is leaking !!!" by Dan Walsh
  http://danwalsh.livejournal.com/53603.html

- "Secure File Descriptor Handling" by Ulrich Drepper
  http://udrepper.livejournal.com/20407.html

Note: this patch won't set close on exec flag on file descriptors
created by the kernel for completion channel and such.
This is addressed by another kernel patch.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years ago[librdmacm,6/8] Add .gitignore rules
Yann Droneaud [Tue, 16 Jul 2013 21:59:50 +0000 (23:59 +0200)]
[librdmacm,6/8] Add .gitignore rules

Add the list of files/patterns to be exclueded from git status output.
Additionally it will prevent such files/patterns to be added and committed.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years ago[librdmacm,5/8] configure: Use automake's option "subdir-objects"
Yann Droneaud [Tue, 16 Jul 2013 21:59:49 +0000 (23:59 +0200)]
[librdmacm,5/8] configure: Use automake's option "subdir-objects"

Following advice in "Autotool Mythbuster" [1], option subdir-objects
can be used to have Makefiles create object files in the same
directory than theirs source files.

It reduces clobbering in the build directory.

[1] "Autotool Mythbuster", by Diego Elio "Flameeyes" Petten`o
http://www.flameeyes.eu/autotools-mythbuster/automake/nonrecursive.html

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years ago[librdmacm,4/8] configure: Apply updates proposed by autoupdate
Yann Droneaud [Tue, 16 Jul 2013 21:59:48 +0000 (23:59 +0200)]
[librdmacm,4/8] configure: Apply updates proposed by autoupdate

'autoupdate' is a tool to help developer to update configure.ac.

This patch applies a few fixes as suggested by autoupdate.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years ago[librdmacm,3/8] autogen.sh: Use autoreconf in autogen.sh
Jeff Squyres [Tue, 16 Jul 2013 21:59:47 +0000 (23:59 +0200)]
[librdmacm,3/8] autogen.sh: Use autoreconf in autogen.sh

The old sequence of Autotools commands listed in autogen.sh is no
longer correct.  Instead, just use the single "autoreconf" command,
which will invoke all the Right Autotools commands in the correct
order.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years ago[librdmacm,2/8] Makefile.am: Fix an automake warning
Bart Van Assche [Tue, 16 Jul 2013 21:59:46 +0000 (23:59 +0200)]
[librdmacm,2/8] Makefile.am: Fix an automake warning

Fix the following automake warning message:

    Makefile.am:1: `INCLUDES' is the old name for `AM_CPPFLAGS' (or `*_CPPFLAGS')

A quote from the automake manual:

    INCLUDES
        This does the same job as AM_CPPFLAGS (or any per-target _CPPFLAGS variable
        if it is used). It is an older name for the same functionality. This
        variable is deprecated; we suggest using AM_CPPFLAGS and per-target
        _CPPFLAGS instead.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years ago[librdmacm,1/8] Add "foreign" option to AM_INIT_AUTOMAKE
Bart Van Assche [Tue, 16 Jul 2013 21:59:45 +0000 (23:59 +0200)]
[librdmacm,1/8] Add "foreign" option to AM_INIT_AUTOMAKE

Switch to the modern form of the AM_INIT_AUTOMAKE macro and tell
automake that the librdmacm package does not follow the GNU
standards. This change makes it possible to use 'autoreconf' for the
librdmacm package.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agodelete
Sean Hefty [Tue, 16 Jul 2013 23:01:50 +0000 (16:01 -0700)]
delete

11 years agodelete
Sean Hefty [Tue, 16 Jul 2013 23:01:50 +0000 (16:01 -0700)]
delete

11 years agopop
Sean Hefty [Tue, 16 Jul 2013 23:01:46 +0000 (16:01 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 16 Jul 2013 23:01:46 +0000 (16:01 -0700)]
pop

11 years agoimport
Sean Hefty [Tue, 16 Jul 2013 22:47:49 +0000 (15:47 -0700)]
import

11 years agoimport
Sean Hefty [Tue, 16 Jul 2013 22:47:49 +0000 (15:47 -0700)]
import

11 years ago[librdmacm,1/8] Add "foreign" option to AM_INIT_AUTOMAKE
Bart Van Assche [Tue, 16 Jul 2013 21:59:45 +0000 (23:59 +0200)]
[librdmacm,1/8] Add "foreign" option to AM_INIT_AUTOMAKE

Switch to the modern form of the AM_INIT_AUTOMAKE macro and tell
automake that the librdmacm package does not follow the GNU
standards. This change makes it possible to use 'autoreconf' for the
librdmacm package.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
11 years agopop
Sean Hefty [Tue, 16 Jul 2013 22:45:33 +0000 (15:45 -0700)]
pop

11 years agopop
Sean Hefty [Tue, 16 Jul 2013 22:45:33 +0000 (15:45 -0700)]
pop

11 years agorefresh
Sean Hefty [Tue, 11 Jun 2013 18:00:14 +0000 (11:00 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 11 Jun 2013 18:00:14 +0000 (11:00 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 11 Jun 2013 17:59:39 +0000 (10:59 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 11 Jun 2013 17:59:39 +0000 (10:59 -0700)]
refresh (create temporary patch)

11 years agoRefresh of ibpath
Sean Hefty [Tue, 11 Jun 2013 17:59:39 +0000 (10:59 -0700)]
Refresh of ibpath

11 years agorename
Sean Hefty [Tue, 11 Jun 2013 17:59:13 +0000 (10:59 -0700)]
rename

11 years agorename
Sean Hefty [Tue, 11 Jun 2013 17:59:13 +0000 (10:59 -0700)]
rename

11 years agorefresh
Sean Hefty [Tue, 11 Jun 2013 17:58:50 +0000 (10:58 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 11 Jun 2013 17:58:50 +0000 (10:58 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 11 Jun 2013 17:58:50 +0000 (10:58 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 11 Jun 2013 17:58:50 +0000 (10:58 -0700)]
refresh (create temporary patch)

11 years agoRefresh of afib
Sean Hefty [Tue, 11 Jun 2013 17:58:50 +0000 (10:58 -0700)]
Refresh of afib

11 years agorefresh
Sean Hefty [Tue, 11 Jun 2013 15:48:30 +0000 (08:48 -0700)]
refresh

11 years agorefresh
Sean Hefty [Tue, 11 Jun 2013 15:48:30 +0000 (08:48 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 11 Jun 2013 15:47:04 +0000 (08:47 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Tue, 11 Jun 2013 15:47:04 +0000 (08:47 -0700)]
refresh (create temporary patch)

11 years agoRefresh of afib
Sean Hefty [Tue, 11 Jun 2013 15:47:04 +0000 (08:47 -0700)]
Refresh of afib

11 years agorsockets: Add ability to set the IB route directly
Sean Hefty [Mon, 10 Jun 2013 19:33:20 +0000 (12:33 -0700)]
rsockets: Add ability to set the IB route directly

Add an RDMA specific rsocket option that allows the user
to program the RDMA route directly.  This is useful
for apps that have path record data available, either
through the ibacm or SSA, and is needed by SSA itself
to connect over rsockets.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorsockets: Add ability to set the IB route directly
Sean Hefty [Mon, 10 Jun 2013 19:33:20 +0000 (12:33 -0700)]
rsockets: Add ability to set the IB route directly

Add an RDMA specific rsocket option that allows the user
to program the RDMA route directly.  This is useful
for apps that have path record data available, either
through the ibacm or SSA.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorsockets: Add ability to set the IB route directly
Sean Hefty [Mon, 10 Jun 2013 19:33:20 +0000 (12:33 -0700)]
rsockets: Add ability to set the IB route directly

Add an RDMA specific rsocket option that allows the user
to program the RDMA route directly.  This is useful
for apps that have path record data available, either
through the ibacm or SSA.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agonew
Sean Hefty [Mon, 10 Jun 2013 19:33:20 +0000 (12:33 -0700)]
new

11 years agonew
Sean Hefty [Mon, 10 Jun 2013 19:33:20 +0000 (12:33 -0700)]
new

11 years agorsockets: Add support for AF_IB
Sean Hefty [Mon, 10 Jun 2013 19:33:20 +0000 (12:33 -0700)]
rsockets: Add support for AF_IB

Allow users to specify native IB addresses.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:26:57 +0000 (11:26 -0700)]
refresh

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:26:57 +0000 (11:26 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:26:57 +0000 (11:26 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:26:57 +0000 (11:26 -0700)]
refresh (create temporary patch)

11 years agoRefresh of acm_msg
Sean Hefty [Mon, 10 Jun 2013 18:26:57 +0000 (11:26 -0700)]
Refresh of acm_msg

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:14:05 +0000 (11:14 -0700)]
refresh

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:14:05 +0000 (11:14 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:14:05 +0000 (11:14 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:14:05 +0000 (11:14 -0700)]
refresh (create temporary patch)

11 years agoRefresh of acm_msg
Sean Hefty [Mon, 10 Jun 2013 18:14:05 +0000 (11:14 -0700)]
Refresh of acm_msg

11 years agoacm: Define needed ACM protocol messages
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
acm: Define needed ACM protocol messages

The librdmacm needs message definitions used to communicate
with the ibacm.  It currently pulls these from infiniband/acm.h,
which is installed by ibacm.  This creates an install order
dependency on ibacm.  However, work on the scalable SA has
the ibacm using the librdmacm (via rsockets) for communication
between the different SSA components.

To resolve this issue, have the librdmacm define the message
structures that it needs to communicate with ibacm.  The
librdmacm already has this through configuration checks.  We
just expand that capability, which isolates the librdmacm
package from the ibacm package.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoacm: Define needed ACM protocol messages
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
acm: Define needed ACM protocol messages

The librdmacm needs message definitions used to communicate
with the ibacm.  It currently pulls these from infiniband/acm.h,
which is installed by ibacm.  This creates an install order
dependency on ibacm.  However, work on the scalable SA has
the ibacm using the librdmacm (via rsockets) for communication
between the different SSA components.

To resolve this issue, have the librdmacm define the message
structures that it needs to communicate with ibacm.  The
librdmacm already has this through configuration checks.  We
just expand that capability, which isolates the librdmacm
package from the ibacm package.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agonew
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
new

11 years agonew
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
new

11 years agoacm: Define needed ACM protocol messages
Sean Hefty [Mon, 10 Jun 2013 18:07:12 +0000 (11:07 -0700)]
acm: Define needed ACM protocol messages

The librdmacm needs message definitions used to communicate
with the ibacm.  It currently pulls these from infiniband/acm.h,
which is installed by ibacm.  This creates an install order
dependency on ibacm.  However, work on the scalable SA has
the ibacm using the librdmacm (via rsockets) for communication
between the different SSA components.

To resolve this issue, have the librdmacm define the message
structures that it needs to communicate with ibacm.  The
librdmacm already has this through configuration checks.  We
just expand that capability, which isolates the librdmacm
package from the ibacm package.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:00:44 +0000 (11:00 -0700)]
refresh

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:00:44 +0000 (11:00 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:00:44 +0000 (11:00 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:00:44 +0000 (11:00 -0700)]
refresh (create temporary patch)

11 years agoRefresh of use_acm
Sean Hefty [Mon, 10 Jun 2013 18:00:44 +0000 (11:00 -0700)]
Refresh of use_acm

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:00:30 +0000 (11:00 -0700)]
refresh

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 18:00:30 +0000 (11:00 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:00:30 +0000 (11:00 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Mon, 10 Jun 2013 18:00:30 +0000 (11:00 -0700)]
refresh (create temporary patch)

11 years agoRefresh of use_acm
Sean Hefty [Mon, 10 Jun 2013 18:00:30 +0000 (11:00 -0700)]
Refresh of use_acm

11 years agoinit: Remove USE_IB_ACM configuration option
Sean Hefty [Mon, 10 Jun 2013 17:57:56 +0000 (10:57 -0700)]
init: Remove USE_IB_ACM configuration option

When the librdmacm is configured, it sets the USE_IB_ACM option
if infininband/acm.h is found.  We can remove this option with
very little overhead, which would allow a user to install
ACM after installing the librdmacm, and the librdmacm would be
able to make use of ACM.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agoinit: Remove USE_IB_ACM configuration option
Sean Hefty [Mon, 10 Jun 2013 17:57:56 +0000 (10:57 -0700)]
init: Remove USE_IB_ACM configuration option

When the librdmacm is configured, it sets the USE_IB_ACM option
if infininband/acm.h is found.  We can remove this option with
very little overhead, which would allow a user to install
ACM after installing the librdmacm, and the librdmacm would be
able to make use of ACM.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Mon, 10 Jun 2013 18:00:14 +0000 (11:00 -0700)]
pop

11 years agopop
Sean Hefty [Mon, 10 Jun 2013 18:00:14 +0000 (11:00 -0700)]
pop

11 years agoinit: Remove USE_IB_ACM configuration option
Sean Hefty [Mon, 10 Jun 2013 17:57:56 +0000 (10:57 -0700)]
init: Remove USE_IB_ACM configuration option

When the librdmacm is configured, it sets the USE_IB_ACM option
if infininband/acm.h is found.  We can remove this option with
very little overhead, which would allow a user to install
ACM after installing the librdmacm, and the librdmacm would be
able to make use of ACM.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agodelete
Sean Hefty [Mon, 10 Jun 2013 18:00:06 +0000 (11:00 -0700)]
delete

11 years agodelete
Sean Hefty [Mon, 10 Jun 2013 18:00:06 +0000 (11:00 -0700)]
delete

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 17:59:29 +0000 (10:59 -0700)]
refresh

11 years agorefresh
Sean Hefty [Mon, 10 Jun 2013 17:59:29 +0000 (10:59 -0700)]
refresh