]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
14 years agorefresh (create temporary patch)
Sean Hefty [Sat, 23 Jan 2010 01:13:35 +0000 (17:13 -0800)]
refresh (create temporary patch)

14 years agorefresh (create temporary patch)
Sean Hefty [Sat, 23 Jan 2010 01:13:34 +0000 (17:13 -0800)]
refresh (create temporary patch)

14 years agoRefresh of dapl-pdata
Sean Hefty [Sat, 23 Jan 2010 01:13:31 +0000 (17:13 -0800)]
Refresh of dapl-pdata

14 years agorefresh
Sean Hefty [Sat, 23 Jan 2010 01:05:50 +0000 (17:05 -0800)]
refresh

14 years agorefresh
Sean Hefty [Sat, 23 Jan 2010 01:05:50 +0000 (17:05 -0800)]
refresh

14 years agorefresh (create temporary patch)
Sean Hefty [Sat, 23 Jan 2010 01:05:47 +0000 (17:05 -0800)]
refresh (create temporary patch)

14 years agorefresh (create temporary patch)
Sean Hefty [Sat, 23 Jan 2010 01:05:47 +0000 (17:05 -0800)]
refresh (create temporary patch)

14 years agoRefresh of dapl-pdata
Sean Hefty [Sat, 23 Jan 2010 01:05:44 +0000 (17:05 -0800)]
Refresh of dapl-pdata

14 years agonew
Sean Hefty [Sat, 23 Jan 2010 00:22:38 +0000 (16:22 -0800)]
new

14 years agonew
Sean Hefty [Sat, 23 Jan 2010 00:22:38 +0000 (16:22 -0800)]
new

14 years agodapl: use private_data_len for mem copies
Sean Hefty [Sat, 23 Jan 2010 00:22:36 +0000 (16:22 -0800)]
dapl: use private_data_len for mem copies

When copying private_data out of rdma_cm events, use the
reported private_data_len for the size, and not IB maximums.
This fixes a bug running over the librdmacm on windows, where
DAPL accessed invalid memory.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agodapl: use private_data_len for mem copies
Sean Hefty [Sat, 23 Jan 2010 00:22:36 +0000 (16:22 -0800)]
dapl: use private_data_len for mem copies

When copying private_data out of rdma_cm events, use the
reported private_data_len for the size, and not IB maximums.
This fixes a bug running over the librdmacm on windows, where
DAPL accessed invalid memory.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agorefresh
Sean Hefty [Sat, 23 Jan 2010 00:21:01 +0000 (16:21 -0800)]
refresh

14 years agorefresh
Sean Hefty [Sat, 23 Jan 2010 00:21:01 +0000 (16:21 -0800)]
refresh

14 years agorefresh (create temporary patch)
Sean Hefty [Sat, 23 Jan 2010 00:20:59 +0000 (16:20 -0800)]
refresh (create temporary patch)

14 years agorefresh (create temporary patch)
Sean Hefty [Sat, 23 Jan 2010 00:20:58 +0000 (16:20 -0800)]
refresh (create temporary patch)

14 years agoRefresh of librdmacm-pdata
Sean Hefty [Sat, 23 Jan 2010 00:20:56 +0000 (16:20 -0800)]
Refresh of librdmacm-pdata

14 years agonew
Sean Hefty [Sat, 23 Jan 2010 00:16:48 +0000 (16:16 -0800)]
new

14 years agonew
Sean Hefty [Sat, 23 Jan 2010 00:16:48 +0000 (16:16 -0800)]
new

14 years agolibrdmacm: set private_data_len
Sean Hefty [Sat, 23 Jan 2010 00:16:46 +0000 (16:16 -0800)]
librdmacm: set private_data_len

Set the private_data_len for reported events.  This allows
DAPL to use the value when copying private data.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agolibrdmacm: set private_data_len
Sean Hefty [Sat, 23 Jan 2010 00:16:46 +0000 (16:16 -0800)]
librdmacm: set private_data_len

Set the private_data_len for reported events.  This allows
DAPL to use the value when copying private data.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agorefresh
Sean Hefty [Fri, 22 Jan 2010 22:52:52 +0000 (14:52 -0800)]
refresh

14 years agorefresh
Sean Hefty [Fri, 22 Jan 2010 22:52:52 +0000 (14:52 -0800)]
refresh

14 years agorefresh (create temporary patch)
Sean Hefty [Fri, 22 Jan 2010 22:52:48 +0000 (14:52 -0800)]
refresh (create temporary patch)

14 years agorefresh (create temporary patch)
Sean Hefty [Fri, 22 Jan 2010 22:52:48 +0000 (14:52 -0800)]
refresh (create temporary patch)

14 years agoRefresh of dapl-close
Sean Hefty [Fri, 22 Jan 2010 22:52:45 +0000 (14:52 -0800)]
Refresh of dapl-close

14 years agonew
Sean Hefty [Fri, 22 Jan 2010 22:48:56 +0000 (14:48 -0800)]
new

14 years agonew
Sean Hefty [Fri, 22 Jan 2010 22:48:56 +0000 (14:48 -0800)]
new

14 years agodapl: move close device after async thread is done using it
Sean Hefty [Fri, 22 Jan 2010 22:48:54 +0000 (14:48 -0800)]
dapl: move close device after async thread is done using it

Before calling ibv_close_device, wait for the asynchronous
processing thread to finish using the device.  This prevents
a use after free error.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agodapl: move close device after async thread is done using it
Sean Hefty [Fri, 22 Jan 2010 22:48:54 +0000 (14:48 -0800)]
dapl: move close device after async thread is done using it

Before calling ibv_close_device, wait for the asynchronous
processing thread to finish using the device.  This prevents
a use after free error.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agorefresh
Sean Hefty [Fri, 22 Jan 2010 22:02:32 +0000 (14:02 -0800)]
refresh

14 years agorefresh
Sean Hefty [Fri, 22 Jan 2010 22:02:32 +0000 (14:02 -0800)]
refresh

14 years agorefresh (create temporary patch)
Sean Hefty [Fri, 22 Jan 2010 22:02:30 +0000 (14:02 -0800)]
refresh (create temporary patch)

14 years agorefresh (create temporary patch)
Sean Hefty [Fri, 22 Jan 2010 22:02:30 +0000 (14:02 -0800)]
refresh (create temporary patch)

14 years agoRefresh of libibverbs-delete-channel
Sean Hefty [Fri, 22 Jan 2010 22:02:28 +0000 (14:02 -0800)]
Refresh of libibverbs-delete-channel

14 years agonew
Sean Hefty [Fri, 22 Jan 2010 22:00:38 +0000 (14:00 -0800)]
new

14 years agonew
Sean Hefty [Fri, 22 Jan 2010 22:00:38 +0000 (14:00 -0800)]
new

14 years agoexternal modifications
Sean Hefty [Fri, 22 Jan 2010 22:00:36 +0000 (14:00 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agoexternal modifications
Sean Hefty [Fri, 22 Jan 2010 22:00:36 +0000 (14:00 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agolibibverbs/device: destroy completion channel when closing device
Sean Hefty [Fri, 22 Jan 2010 22:00:34 +0000 (14:00 -0800)]
libibverbs/device: destroy completion channel when closing device

ibv_close_device should destroy the completion channel
when closing the device and freeing the memory.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agolibibverbs/device: destroy completion channel when closing device
Sean Hefty [Fri, 22 Jan 2010 22:00:34 +0000 (14:00 -0800)]
libibverbs/device: destroy completion channel when closing device

ibv_close_device should destroy the completion channel
when closing the device and freeing the memory.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:28:38 +0000 (12:28 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:28:38 +0000 (12:28 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:28:09 +0000 (12:28 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:28:08 +0000 (12:28 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:28:00 +0000 (12:28 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:28:00 +0000 (12:28 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:27:51 +0000 (12:27 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:27:50 +0000 (12:27 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:27:36 +0000 (12:27 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:27:35 +0000 (12:27 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:26:34 +0000 (12:26 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:26:34 +0000 (12:26 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:26:19 +0000 (12:26 -0800)]
delete

14 years agodelete
Sean Hefty [Thu, 21 Jan 2010 20:26:19 +0000 (12:26 -0800)]
delete

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 20:26:18 +0000 (12:26 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 20:26:18 +0000 (12:26 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:15:45 +0000 (12:15 -0800)]
pop

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:15:45 +0000 (12:15 -0800)]
pop

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:14:58 +0000 (12:14 -0800)]
uncommit

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:14:58 +0000 (12:14 -0800)]
uncommit

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:13:20 +0000 (12:13 -0800)]
pop

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:13:19 +0000 (12:13 -0800)]
pop

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:12:01 +0000 (12:12 -0800)]
uncommit

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:12:01 +0000 (12:12 -0800)]
uncommit

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:10:57 +0000 (12:10 -0800)]
pop

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:10:57 +0000 (12:10 -0800)]
pop

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:10:30 +0000 (12:10 -0800)]
uncommit

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:10:30 +0000 (12:10 -0800)]
uncommit

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:09:41 +0000 (12:09 -0800)]
pop

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:09:41 +0000 (12:09 -0800)]
pop

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:09:18 +0000 (12:09 -0800)]
uncommit

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:09:18 +0000 (12:09 -0800)]
uncommit

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 20:09:05 +0000 (12:09 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 20:09:04 +0000 (12:09 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:08:04 +0000 (12:08 -0800)]
pop

14 years agopop
Sean Hefty [Thu, 21 Jan 2010 20:08:04 +0000 (12:08 -0800)]
pop

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:07:51 +0000 (12:07 -0800)]
uncommit

14 years agouncommit
Sean Hefty [Thu, 21 Jan 2010 20:07:51 +0000 (12:07 -0800)]
uncommit

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 20:07:46 +0000 (12:07 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 20:07:46 +0000 (12:07 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agowinverbs branch: test author fix
Sean Hefty [Thu, 21 Jan 2010 06:25:34 +0000 (06:25 +0000)]
winverbs branch: test author fix

From: Sean Hefty <sean.hefty@intel.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2676 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years agowinverbs branch: test author fix
Sean Hefty [Thu, 21 Jan 2010 06:25:34 +0000 (06:25 +0000)]
winverbs branch: test author fix

From: Sean Hefty <sean.hefty@intel.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2676 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years agocommit
Sean Hefty [Thu, 21 Jan 2010 06:18:45 +0000 (22:18 -0800)]
commit

14 years agocommit
Sean Hefty [Thu, 21 Jan 2010 06:18:45 +0000 (22:18 -0800)]
commit

14 years agorefresh
Sean Hefty [Thu, 21 Jan 2010 06:16:39 +0000 (22:16 -0800)]
refresh

14 years agorefresh
Sean Hefty [Thu, 21 Jan 2010 06:16:39 +0000 (22:16 -0800)]
refresh

14 years agorefresh (create temporary patch)
Sean Hefty [Thu, 21 Jan 2010 06:16:36 +0000 (22:16 -0800)]
refresh (create temporary patch)

14 years agorefresh (create temporary patch)
Sean Hefty [Thu, 21 Jan 2010 06:16:36 +0000 (22:16 -0800)]
refresh (create temporary patch)

14 years agoRefresh of test
Sean Hefty [Thu, 21 Jan 2010 06:16:34 +0000 (22:16 -0800)]
Refresh of test

14 years agonew
Sean Hefty [Thu, 21 Jan 2010 06:15:15 +0000 (22:15 -0800)]
new

14 years agonew
Sean Hefty [Thu, 21 Jan 2010 06:15:15 +0000 (22:15 -0800)]
new

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 06:15:13 +0000 (22:15 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agoexternal modifications
Sean Hefty [Thu, 21 Jan 2010 06:15:13 +0000 (22:15 -0800)]
external modifications

Modifications by tools other than StGit (e.g. git).

14 years agowinverbs branch: test author fix
Sean Hefty [Thu, 21 Jan 2010 06:15:12 +0000 (22:15 -0800)]
winverbs branch: test author fix

From: Sean Hefty <sean.hefty@intel.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agowinverbs branch: test author fix
Sean Hefty [Thu, 21 Jan 2010 06:15:12 +0000 (22:15 -0800)]
winverbs branch: test author fix

From: Sean Hefty <sean.hefty@intel.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
14 years agoib/mad: fix routing of vendor mads
(\18¬ [Thu, 21 Jan 2010 06:09:33 +0000 (06:09 +0000)]
ib/mad: fix routing of vendor mads

SVN commit 2174 introduced an error that resulted in all
vendor MADs being routed to the local HCA driver.

This results in the ib-diag vendstat failing to receive
a response when trying to gather statistics about a remote
device.

We should only route vendor mads to the local HCA if the
mad is one of the mellanox vendor classes, the mad is not
a response, and the local HCA is the destination for the
mad.

Problem reported by Mohammad Sawalha.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2675 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years agoib/mad: fix routing of vendor mads
Sean Hefty [Thu, 21 Jan 2010 06:09:33 +0000 (06:09 +0000)]
ib/mad: fix routing of vendor mads

SVN commit 2174 introduced an error that resulted in all
vendor MADs being routed to the local HCA driver.

This results in the ib-diag vendstat failing to receive
a response when trying to gather statistics about a remote
device.

We should only route vendor mads to the local HCA if the
mad is one of the mellanox vendor classes, the mad is not
a response, and the local HCA is the destination for the
mad.

Problem reported by Mohammad Sawalha.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2675 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years agowinverbs/ep: handle receiving REQ then DREQ
(\18¬ [Thu, 21 Jan 2010 06:09:19 +0000 (06:09 +0000)]
winverbs/ep: handle receiving REQ then DREQ

For fast connections, it's possible to receive a DREQ immediately
after receiving a REQ, without an RTU coming in between.  If we've
sent a REP to the REQ, then the DREQ should be treated as if the
connection had been fully established.  (The RTU could be delayed,
and the communication established event is processed asynchronously,
so there's no way to tell for certain.)

This fixes an issue where the passive side Accept() call fails
waiting for the RTU, but receives a DREQ instead.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2674 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years agowinverbs/ep: handle receiving REQ then DREQ
Sean Hefty [Thu, 21 Jan 2010 06:09:19 +0000 (06:09 +0000)]
winverbs/ep: handle receiving REQ then DREQ

For fast connections, it's possible to receive a DREQ immediately
after receiving a REQ, without an RTU coming in between.  If we've
sent a REP to the REQ, then the DREQ should be treated as if the
connection had been fully established.  (The RTU could be delayed,
and the communication established event is processed asynchronously,
so there's no way to tell for certain.)

This fixes an issue where the passive side Accept() call fails
waiting for the RTU, but receives a DREQ instead.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2674 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86