]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 21:12:55 +0000 (14:12 -0700)]
refresh

12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 21:12:55 +0000 (14:12 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 21:12:54 +0000 (14:12 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 21:12:54 +0000 (14:12 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-spin
Sean Hefty [Tue, 5 Jun 2012 21:12:54 +0000 (14:12 -0700)]
Refresh of rs-spin

12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 19:08:39 +0000 (12:08 -0700)]
refresh

12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 19:08:39 +0000 (12:08 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 19:08:38 +0000 (12:08 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 19:08:38 +0000 (12:08 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-spin
Sean Hefty [Tue, 5 Jun 2012 19:08:38 +0000 (12:08 -0700)]
Refresh of rs-spin

12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 18:09:06 +0000 (11:09 -0700)]
refresh

12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 18:09:06 +0000 (11:09 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 18:09:06 +0000 (11:09 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 18:09:06 +0000 (11:09 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-spin
Sean Hefty [Tue, 5 Jun 2012 18:09:06 +0000 (11:09 -0700)]
Refresh of rs-spin

12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 17:55:28 +0000 (10:55 -0700)]
refresh

12 years agorefresh
Sean Hefty [Tue, 5 Jun 2012 17:55:28 +0000 (10:55 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 17:54:17 +0000 (10:54 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 5 Jun 2012 17:54:17 +0000 (10:54 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-spin
Sean Hefty [Tue, 5 Jun 2012 17:54:16 +0000 (10:54 -0700)]
Refresh of rs-spin

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:54:22 +0000 (14:54 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:54:22 +0000 (14:54 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:53:32 +0000 (14:53 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:53:32 +0000 (14:53 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-spin
Sean Hefty [Mon, 4 Jun 2012 21:53:32 +0000 (14:53 -0700)]
Refresh of rs-spin

12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

The time to spin before blocking is read from an rsocket
configuration file rdma/rsocket/polling_time.  This is user
adjustable or may be set automatically by ibacm.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

The time to spin before blocking is read from an rsocket
configuration file rdma/rsocket/polling_time.  This is user
adjustable or may be set automatically by ibacm.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

The time to spin before blocking is read from an rsocket
configuration file rdma/rsocket/polling_time.  This is user
adjustable or may be set automatically by ibacm.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

The time to spin before blocking is read from an rsocket
configuration file rdma/rsocket/polling_time.  This is user
adjustable or may be set automatically by ibacm.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

We calculate the time to delay blocking by timing the round
trip ping-pong time on a QP configured for loopback traffic.  The
delay time is a multiple of this time to include wire transfer
time, plus minimal response time on the remote side.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agonew
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
new

12 years agonew
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
new

12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

We calculate the time to delay blocking by timing the round
trip ping-pong time on a QP configured for loopback traffic.  The
delay time is a multiple of this time to include wire transfer
time, plus minimal response time on the remote side.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:35:55 +0000 (14:35 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:35:55 +0000 (14:35 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:35:54 +0000 (14:35 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:35:54 +0000 (14:35 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-maxseg
Sean Hefty [Mon, 4 Jun 2012 21:35:54 +0000 (14:35 -0700)]
Refresh of rs-maxseg

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:32:02 +0000 (14:32 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:32:02 +0000 (14:32 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:32:02 +0000 (14:32 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:32:02 +0000 (14:32 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-maxseg
Sean Hefty [Mon, 4 Jun 2012 21:32:02 +0000 (14:32 -0700)]
Refresh of rs-maxseg

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:29:10 +0000 (14:29 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:29:10 +0000 (14:29 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:29:10 +0000 (14:29 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:29:10 +0000 (14:29 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-maxseg
Sean Hefty [Mon, 4 Jun 2012 21:29:10 +0000 (14:29 -0700)]
Refresh of rs-maxseg

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:28:22 +0000 (14:28 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 21:28:22 +0000 (14:28 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:28:22 +0000 (14:28 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 21:28:22 +0000 (14:28 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-maxseg
Sean Hefty [Mon, 4 Jun 2012 21:28:22 +0000 (14:28 -0700)]
Refresh of rs-maxseg

12 years agorsocket: Handle TCP_MAXSEG socket option
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
rsocket: Handle TCP_MAXSEG socket option

netperf uses the TCP_MAXSEG socket option.  Add support for it.
Problem reported by Sridhar Samudrala <sri@us.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Handle TCP_MAXSEG socket option
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
rsocket: Handle TCP_MAXSEG socket option

netperf uses the TCP_MAXSEG socket option.  Add support for it.
Problem reported by Sridhar Samudrala <sri@us.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Handle TCP_MAXSEG socket option
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
rsocket: Handle TCP_MAXSEG socket option

netperf uses the TCP_MAXSEG socket option.  Add support for it.
Problem reported by Sridhar Samudrala <sri@us.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agonew
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
new

12 years agonew
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
new

12 years agorsocket: Handle TCP_MAXSEG socket option
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
rsocket: Handle TCP_MAXSEG socket option

netperf uses the TCP_MAXSEG socket option.  Add support for it.
Problem reported by Sridhar Samudrala <sri@us.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 20:17:43 +0000 (13:17 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 20:17:43 +0000 (13:17 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 20:17:09 +0000 (13:17 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 20:17:09 +0000 (13:17 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-shutdown
Sean Hefty [Mon, 4 Jun 2012 20:17:09 +0000 (13:17 -0700)]
Refresh of rs-shutdown

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 20:16:47 +0000 (13:16 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 20:16:47 +0000 (13:16 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 20:16:47 +0000 (13:16 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 20:16:47 +0000 (13:16 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-shutdown
Sean Hefty [Mon, 4 Jun 2012 20:16:47 +0000 (13:16 -0700)]
Refresh of rs-shutdown

12 years agorsocket: Handle SHUT_RD/WR shutdown flags
Sean Hefty [Mon, 4 Jun 2012 20:14:42 +0000 (13:14 -0700)]
rsocket: Handle SHUT_RD/WR shutdown flags

Sridhar Samudrala <sri@us.ibm.com> reported an error (EOPNOTSUPP)
after calling select().

The issue is that rshutdown(SHUT_WR) was called before select().
As part of shutdown, rsockets switches the underlying fd from
nonblocking to blocking to ensure that previously sent data has
completed.  shutdown(SHUT_WR) indicates that the socket should be
kept open for receiving data.

Delay handling the actual shutdown unless SHUT_RDWR is specified,
or the socket is closed.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Handle SHUT_RD/WR shutdown flags
Sean Hefty [Mon, 4 Jun 2012 20:14:42 +0000 (13:14 -0700)]
rsocket: Handle SHUT_RD/WR shutdown flags

Sridhar Samudrala <sri@us.ibm.com> reported an error (EOPNOTSUPP)
after calling select().

The issue is that rshutdown(SHUT_WR) was called before select().
As part of shutdown, rsockets switches the underlying fd from
nonblocking to blocking to ensure that previously sent data has
completed.  shutdown(SHUT_WR) indicates that the socket should be
kept open for receiving data.

Delay handling the actual shutdown until both the read and write
streams have been disconnected.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agonew
Sean Hefty [Mon, 4 Jun 2012 20:14:42 +0000 (13:14 -0700)]
new

12 years agonew
Sean Hefty [Mon, 4 Jun 2012 20:14:42 +0000 (13:14 -0700)]
new

12 years agorsocket: Handle SHUT_RD/WR shutdown flags
Sean Hefty [Mon, 4 Jun 2012 20:14:42 +0000 (13:14 -0700)]
rsocket: Handle SHUT_RD/WR shutdown flags

Sridhar Samudrala <sri@us.ibm.com> reported an error (EOPNOTSUPP)
after calling select().

The issue is that rshutdown(SHUT_WR) was called before select().
As part of shutdown, rsockets switches the underlying fd from
nonblocking to blocking to ensure that previously sent data has
completed.  shutdown(SHUT_WR) indicates that the socket should be
kept open for receiving data.

Delay handling the actual shutdown until both the read and write
streams have been disconnected.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 19:55:01 +0000 (12:55 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 4 Jun 2012 19:55:01 +0000 (12:55 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 19:50:48 +0000 (12:50 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 4 Jun 2012 19:50:48 +0000 (12:50 -0700)]
refresh (create temporary patch)

12 years agoRefresh of ip6-opt
Sean Hefty [Mon, 4 Jun 2012 19:50:48 +0000 (12:50 -0700)]
Refresh of ip6-opt

12 years agorsocket: Return success for IPV6_V6ONLY option
Sean Hefty [Mon, 4 Jun 2012 19:30:15 +0000 (12:30 -0700)]
rsocket: Return success for IPV6_V6ONLY option

Jave Netpipe calls setsockopt for IPV6_V6ONLY.  Return success
to work-around the lack of support.  Problem was reported by
Chet Murthy <chet@watson.ibm.com>.

Note that real support for V6ONLY requires changes to the
kernel rdma_cm.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agonew
Sean Hefty [Mon, 4 Jun 2012 19:30:15 +0000 (12:30 -0700)]
new

12 years agonew
Sean Hefty [Mon, 4 Jun 2012 19:30:15 +0000 (12:30 -0700)]
new

12 years agorsocket: Return success for IPV6_V6ONLY option
Sean Hefty [Mon, 4 Jun 2012 19:30:15 +0000 (12:30 -0700)]
rsocket: Return success for IPV6_V6ONLY option

Jave Netpipe calls setsockopt for IPV6_V6ONLY.  Return success
to work-around the lack of support.  The actual implementation
is deferred.  Problem was reported by Chet Murthy
<chet@watson.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Fri, 1 Jun 2012 23:55:34 +0000 (16:55 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 1 Jun 2012 23:55:34 +0000 (16:55 -0700)]
pop

12 years agorefresh
Sean Hefty [Fri, 1 Jun 2012 23:35:02 +0000 (16:35 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 1 Jun 2012 23:35:02 +0000 (16:35 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 1 Jun 2012 23:35:01 +0000 (16:35 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 1 Jun 2012 23:35:01 +0000 (16:35 -0700)]
refresh (create temporary patch)

12 years agoRefresh of buf-addr
Sean Hefty [Fri, 1 Jun 2012 23:35:01 +0000 (16:35 -0700)]
Refresh of buf-addr

12 years agoprint buffer addresses
Sean Hefty [Fri, 1 Jun 2012 23:31:00 +0000 (16:31 -0700)]
print buffer addresses

12 years agonew
Sean Hefty [Fri, 1 Jun 2012 23:31:00 +0000 (16:31 -0700)]
new

12 years agonew
Sean Hefty [Fri, 1 Jun 2012 23:31:00 +0000 (16:31 -0700)]
new

12 years agoprint buffer addresses
Sean Hefty [Fri, 1 Jun 2012 23:31:00 +0000 (16:31 -0700)]
print buffer addresses

12 years agocommit
Sean Hefty [Fri, 1 Jun 2012 17:54:37 +0000 (10:54 -0700)]
commit

12 years agocommit
Sean Hefty [Fri, 1 Jun 2012 17:54:37 +0000 (10:54 -0700)]
commit

12 years agorefresh
Sean Hefty [Fri, 1 Jun 2012 17:53:08 +0000 (10:53 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 1 Jun 2012 17:53:08 +0000 (10:53 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 1 Jun 2012 17:53:07 +0000 (10:53 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 1 Jun 2012 17:53:07 +0000 (10:53 -0700)]
refresh (create temporary patch)