16 years ago[TOOLS] changes, caused by previous patch
leonidk [Mon, 3 Apr 2006 13:57:03 +0000 (13:57 +0000)]
[TOOLS] changes, caused by previous patch

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@273 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] Burning support improvements:
leonidk [Mon, 3 Apr 2006 13:54:30 +0000 (13:54 +0000)]
[MTHCA] Burning support improvements:
1. added support of multiple simult. pciconf devices;
2. removed support for several CR space mappings for one process;
3. PCI bus interface is now taken only once;
4. Fixed bug with handling positive non-zero NTSTATUSes;
5. Removed unused unmap_crspace structure;
6. General cleaning;

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@272 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] Added bugfixes and changes from Linux Gen2 code.
leonidk [Sun, 2 Apr 2006 19:39:37 +0000 (19:39 +0000)]
[MTHCA] Added bugfixes and changes from Linux Gen2 code.
[MTHCA] (LinuxGen2-rev5521) Add support to IBV_SEND_FENCE in post_send.
[MTHCA] (LinuxGen2-rev5520) Add support to IBV_SEND_FENCE in post_send.
[MTHCA] (LinuxGen2-rev5476) Have mthca's create_srq method return the actual capacity of the SRQ that gets created.  Also update comments in <rdma/ib_verbs.h> to clarify that this is what is expected from ib_create_srq().
[MTHCA] (LinuxGen2-rev5293) Generate SQ drained events when requested
[MTHCA] (LinuxGen2-rev5369) When debugging is enabled, the mthca_QUERY_DEV_LIM() firmware command
function prints out some of the device limits that it queries.
However the debugging prints happen before all of the fields are
extracted from the firmware response, so some of the values that get
printed are uninitialized junk.  Move the prints to the end of the
function to fix this.
[MTHCA] (LinuxGen2-rev5275) Fixing stuff for FMR, not ported yet
[MTHCA] (LinuxGen2-rev5273) Adding stuff for FMR, not ported yet
[MTHCA] (LinuxGen2-rev5244) Cleaning: Remove useless "extern" from function declarations.
[MTHCA] (LinuxGen2-rev5243) Cleaning: remove might_sleep()
[MTHCA] (LinuxGen2-rev5242) Make functions that never fail return void
[MTHCA] (LinuxGen2-rev5223) We have run into the following problem: if a task receives a signal
while in the process of e.g. destroying a resource (which could be
because the relevant file was closed) mthca could bail out from trying
to take a command interface semaphore without performing the
appropriate command to tell hardware that the resource is being
destroyed.As a result we see messages like
 ib_mthca 0000:04:00.0: HW2SW_CQ failed (-4)
[MTHCA] (LinuxGen2-rev5221) There are some cards around that have UAR (user access region) size different from 8 MB.  Relax our sanity check to make sure that the PCI BAR is big enough to access the UAR size reported by the device firmware instead.
[MTHCA] (LinuxGen2-rev5220) Fix typo in overflow test in mthca receive posting.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@271 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] a cleanup of the FW update path
leonidk [Sun, 2 Apr 2006 09:38:04 +0000 (09:38 +0000)]
[MTHCA] a cleanup of the FW update path

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@270 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] cleaup: remove unused global variable
leonidk [Sun, 2 Apr 2006 09:04:24 +0000 (09:04 +0000)]
[MTHCA] cleaup: remove unused global variable

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@269 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] cleanup: use include files consistently
leonidk [Sun, 2 Apr 2006 08:58:52 +0000 (08:58 +0000)]
[MTHCA] cleanup: use include files consistently

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@268 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Fix race between user-mode PnP deregistration and PnP callbacks.
ftillier [Fri, 31 Mar 2006 22:05:19 +0000 (22:05 +0000)]
[IBAL] Fix race between user-mode PnP deregistration and PnP callbacks.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@267 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Fix EventMessageFile path.
ftillier [Fri, 31 Mar 2006 19:15:35 +0000 (19:15 +0000)]
[IPoIB] Fix EventMessageFile path.

Submitted by Leonid Keller (leonid@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@266 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] added support for burning (for flint et al)
leonidk [Thu, 30 Mar 2006 19:51:23 +0000 (19:51 +0000)]
[MTHCA] added support for burning (for flint et al)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@265 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] ipoib_adapter_reset: Clear PnP handle before deregistration
ftillier [Thu, 30 Mar 2006 19:37:16 +0000 (19:37 +0000)]
[IPoIB] ipoib_adapter_reset: Clear PnP handle before deregistration
to close race with __ipoib_pnp_dereg.

Originally submitted by Yossi Leybovich (sleybo@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@264 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MT23108] Removed linker dependency on IBAL.
ftillier [Thu, 30 Mar 2006 18:27:03 +0000 (18:27 +0000)]
[MT23108] Removed linker dependency on IBAL.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@263 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] a typo
leonidk [Thu, 30 Mar 2006 08:45:08 +0000 (08:45 +0000)]
[MTHCA] a typo

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@262 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] Return wc_type = IB_WC_SEND as default in WC processing
leonidk [Wed, 29 Mar 2006 18:18:11 +0000 (18:18 +0000)]
[MTHCA] Return wc_type = IB_WC_SEND as default in WC processing

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@261 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] Report completion error after filling WC
leonidk [Wed, 29 Mar 2006 18:08:06 +0000 (18:08 +0000)]
[MTHCA] Report completion error after filling WC

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@260 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] 1. Applied - with a little improvement - a patch, removing dependency of...
tzachid [Wed, 29 Mar 2006 17:14:21 +0000 (17:14 +0000)]
[MTHCA] 1. Applied - with a little improvement - a patch, removing dependency of MTCHA driver from IBAL.SYS.
2. Applied a patch for support of user-mode calls without a UVP.
3. Applied a patch, eliminating usage of mt_time.h and its abstraction.
4. Cleaning: Removed most of the '#ifdef WIN_TO_BE_CHANGED' stuff.
5. Cleaning: Removed '#if 0'.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@259 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Fix error handling in __proxy_mad_recv_cb to not release a spinlock
ftillier [Wed, 29 Mar 2006 15:29:14 +0000 (15:29 +0000)]
[IBAL] Fix error handling in __proxy_mad_recv_cb to not release a spinlock
that was not acquired.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@258 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] 1. another implementation of atomic functions, which works around MS compiler...
tzachid [Tue, 28 Mar 2006 09:23:02 +0000 (09:23 +0000)]
[MTHCA] 1. another implementation of atomic functions, which works around MS compiler bug in InterlockedOr (mt_atomic.h).
2. fix of small bugs in debug macro (mlnx_uvp_debug.h).
3. changes for using of WPP in release version.
4. compiler warning fixes (for /W4).

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@257 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Add ib_get_err_str to CI interface to allow removing
ftillier [Mon, 27 Mar 2006 19:37:31 +0000 (19:37 +0000)]
[IBAL] Add ib_get_err_str to CI interface to allow removing
linker dependency from HCA drivers on IBAL driver.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@256 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MT23108] Fix error reading CA guid from firmware image
ftillier [Mon, 27 Mar 2006 19:35:01 +0000 (19:35 +0000)]
[MT23108] Fix error reading CA guid from firmware image
on Lion Cub rev. C HCAs (and any Mellanox HCA with flash sector size != 64K)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@255 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - fix opts file - comment out all options. The user can undo the commenting...
eitan [Mon, 27 Mar 2006 12:10:47 +0000 (12:10 +0000)]
[OpenSM] - fix opts file - comment out all options. The user can undo the commenting out if he wants to use one of the options. Otherwise - opensm will run with its default opts.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@254 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] (continues patch 251) remaps RDD/EEC WC status values to IB_WCS_GENERIC_ERR...
tzachid [Sun, 26 Mar 2006 13:13:48 +0000 (13:13 +0000)]
[MTHCA] (continues patch 251) remaps RDD/EEC WC status values to IB_WCS_GENERIC_ERR, and that removes the use of the qp_num field in the ib_wc_t structure

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@253 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] -
eitan [Sun, 26 Mar 2006 09:42:49 +0000 (09:42 +0000)]
[OpenSM] -
1. ib_types.h: Add defines for min/max MTU/rate
2. Disregard subn->ca_min_mtu and subn->ca_min_rate when new MC group is
created and exact MTU and/or rate values are specified.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@252 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Add WC status codes to support MTHCA driver.
ftillier [Fri, 24 Mar 2006 22:57:09 +0000 (22:57 +0000)]
[IBAL] Add WC status codes to support MTHCA driver.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@251 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - Fix osmtest according to rate supported change in 1.2 spec.
eitan [Thu, 23 Mar 2006 10:06:51 +0000 (10:06 +0000)]
[OpenSM] - Fix osmtest according to rate supported change in 1.2 spec.

M    user/osmtest/osmt_multicast.c

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@250 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] -
eitan [Wed, 22 Mar 2006 08:11:06 +0000 (08:11 +0000)]
[OpenSM] -
Update according to linux trunk and also add opensm as service.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@249 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[MTHCA] added alpha version of new low-level driver, supporting memfree HCA devices
tzachid [Tue, 21 Mar 2006 18:12:39 +0000 (18:12 +0000)]
[MTHCA] added alpha version of new low-level driver, supporting memfree HCA devices

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@248 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[tools] Added flint + mst + mread + mwrite + mtcr + spark
tzachid [Tue, 21 Mar 2006 17:13:31 +0000 (17:13 +0000)]
[tools] Added flint + mst + mread + mwrite + mtcr + spark

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@247 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Use regular mutex so PnP callback runs at PASSIVE to support MTHCA driver.
ftillier [Wed, 15 Mar 2006 01:00:08 +0000 (01:00 +0000)]
[IPoIB] Use regular mutex so PnP callback runs at PASSIVE to support MTHCA driver.

Submitted by Leonid Keller (leonid@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@246 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Fix NDIS WHQL 1c_Reset test failures.
ftillier [Wed, 15 Mar 2006 00:03:33 +0000 (00:03 +0000)]
[IPoIB] Fix NDIS WHQL 1c_Reset test failures.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@245 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Fix NDIS WHQL 1c_OffloadInvalid test failure.
ftillier [Mon, 13 Mar 2006 18:04:04 +0000 (18:04 +0000)]
[IPoIB] Fix NDIS WHQL 1c_OffloadInvalid test failure.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@244 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - In osm_physp_share_pkey, no need to check pkey tables
eitan [Mon, 13 Mar 2006 08:07:16 +0000 (08:07 +0000)]
[OpenSM] - In osm_physp_share_pkey, no need to check pkey tables
when the two ports are the same

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@243 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - cosmetic changes
eitan [Mon, 13 Mar 2006 08:06:38 +0000 (08:06 +0000)]
[OpenSM] - cosmetic changes

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@242 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - cosmetic changes
eitan [Sun, 12 Mar 2006 13:27:19 +0000 (13:27 +0000)]
[OpenSM] - cosmetic changes

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@241 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - cosmetic changes.
eitan [Sun, 12 Mar 2006 13:23:35 +0000 (13:23 +0000)]
[OpenSM] - cosmetic changes.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@240 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - OpenSM/osm_lid_mgr.c: handle different MTU
eitan [Sun, 12 Mar 2006 13:22:56 +0000 (13:22 +0000)]
[OpenSM] - OpenSM/osm_lid_mgr.c: handle different MTU

Fix a bug that in case of a difference between the MTU of two ports, only the
port with the higher MTU was set to down. It's remote port was written in the
DB in the ACTIVE state although its real status was INIT. Because of this,
the SM didn't try to lift the remote port to ACTIVE.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@239 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Revert previous change of method for broadcast group query
ftillier [Sat, 11 Mar 2006 01:34:34 +0000 (01:34 +0000)]
[IPoIB] Revert previous change of method for broadcast group query
back to GETTABLE.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@238 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL, HCA] Provide HCA driver with UM CA handle for resource
ftillier [Fri, 10 Mar 2006 17:53:10 +0000 (17:53 +0000)]
[IBAL, HCA] Provide HCA driver with UM CA handle for resource
allocation verbs that take a CA handle.

Initially submitted by Leonid Keller (leonid@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@237 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years agoOpenSM: Trivial memory allocation bug in parsing opensm.opts
eitan [Thu, 9 Mar 2006 13:12:29 +0000 (13:12 +0000)]
OpenSM: Trivial memory allocation bug in parsing opensm.opts

Allocation missed the null char.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@236 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - fix error messages to match linux trunk.
eitan [Thu, 9 Mar 2006 07:21:48 +0000 (07:21 +0000)]
[OpenSM] - fix error messages to match linux trunk.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@235 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - add changes in sigint handling for the linux trunk.
eitan [Wed, 8 Mar 2006 13:41:30 +0000 (13:41 +0000)]
[OpenSM] - add changes in sigint handling for the linux trunk.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@234 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - Add guid2lid full path name to the error message when there was a problem...
eitan [Wed, 8 Mar 2006 09:36:49 +0000 (09:36 +0000)]
[OpenSM] - Add guid2lid full path name to the error message when there was a problem with restoring the file.
Also, make sure the size of the words in guid2lid file is legal.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@233 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[OpenSM] - Update according to linux gen2 trunk
eitan [Wed, 8 Mar 2006 08:29:25 +0000 (08:29 +0000)]
[OpenSM] - Update according to linux gen2 trunk

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@232 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Fix typo in driver parameter section.
ftillier [Mon, 6 Mar 2006 23:32:03 +0000 (23:32 +0000)]
[IPoIB] Fix typo in driver parameter section.
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@227 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Call um_close_ca after child resources are released.
ftillier [Thu, 2 Mar 2006 17:17:21 +0000 (17:17 +0000)]
[IBAL] Call um_close_ca after child resources are released.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@226 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Fix NDIS WHQL 2c_MediaCheck test failures.
ftillier [Tue, 28 Feb 2006 19:24:36 +0000 (19:24 +0000)]
[IPoIB] Fix NDIS WHQL 2c_MediaCheck test failures.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@225 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Fix NDIS WHQL 1c_LoopbackSend test failures.
ftillier [Tue, 28 Feb 2006 19:11:44 +0000 (19:11 +0000)]
[IPoIB] Fix NDIS WHQL 1c_LoopbackSend test failures.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@224 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Fix NDIS WHQL 1c_InitTime test warnings related to too many
ftillier [Tue, 28 Feb 2006 18:52:49 +0000 (18:52 +0000)]
[IPoIB] Fix NDIS WHQL 1c_InitTime test warnings related to too many
reset, connect, and disconnect events.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@223 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB, Complib] Fix NDIS WHQL 1c_KernelCalls public import test failures.
ftillier [Tue, 28 Feb 2006 05:55:31 +0000 (05:55 +0000)]
[IPoIB, Complib] Fix NDIS WHQL 1c_KernelCalls public import test failures.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@222 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Use ib_port_info_compute_rate rather than duplicating functionality.
ftillier [Tue, 28 Feb 2006 05:47:11 +0000 (05:47 +0000)]
[IPoIB] Use ib_port_info_compute_rate rather than duplicating functionality.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@221 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Update ib_port_info_compute_rate to handle DDR and QDR rates.
ftillier [Tue, 28 Feb 2006 01:11:47 +0000 (01:11 +0000)]
[IBAL] Update ib_port_info_compute_rate to handle DDR and QDR rates.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@220 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Abort broadcast MC group join if port rate is lower than
ftillier [Fri, 24 Feb 2006 01:22:47 +0000 (01:22 +0000)]
[IPoIB] Abort broadcast MC group join if port rate is lower than
existing broadcast group and log an event to the system log.
Also expanded error logging to the system log.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@219 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Add definitions for DDR and QDR path record rates.
ftillier [Fri, 24 Feb 2006 01:21:23 +0000 (01:21 +0000)]
[IBAL] Add definitions for DDR and QDR path record rates.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@218 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Set client reregister bit in port capabilities during CA addition.
ftillier [Fri, 24 Feb 2006 01:20:36 +0000 (01:20 +0000)]
[IBAL] Set client reregister bit in port capabilities during CA addition.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@217 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[HCA] Support 32-bit UVP on 64-bit KVP
ftillier [Tue, 14 Feb 2006 21:07:57 +0000 (21:07 +0000)]
[HCA] Support 32-bit UVP on 64-bit KVP

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@216 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@215 ad392aa1-c5ef-ae45-8dd8-e69d62...
tzachid [Wed, 25 Jan 2006 08:54:42 +0000 (08:54 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@215 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL, HCA, IPoIB, SRP] Update INF files for build
ftillier [Tue, 17 Jan 2006 23:09:14 +0000 (23:09 +0000)]
[IBAL, HCA, IPoIB, SRP] Update INF files for build

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@214 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[WSD] Fix socket duplication to allow the parent application to close
ftillier [Tue, 10 Jan 2006 19:49:14 +0000 (19:49 +0000)]
[WSD] Fix socket duplication to allow the parent application to close
its socket before the child has completed duplication.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@213 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB] Add support for event logging
ftillier [Mon, 19 Dec 2005 19:30:43 +0000 (19:30 +0000)]
[IPoIB] Add support for event logging

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@212 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IBAL] Add support for getting link speed (to support DDR and beyond)
ftillier [Mon, 19 Dec 2005 19:09:18 +0000 (19:09 +0000)]
[IBAL] Add support for getting link speed (to support DDR and beyond)

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@211 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[SDP] Added the SDP test to the build.
tzachid [Mon, 19 Dec 2005 09:15:37 +0000 (09:15 +0000)]
[SDP] Added the SDP test to the build.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@210 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[SDP] Updated the test program to use Multiple Overlapped operation + Minor fixes...
tzachid [Mon, 19 Dec 2005 09:05:16 +0000 (09:05 +0000)]
[SDP] Updated the test program to use Multiple Overlapped operation + Minor fixes to driver (Rev 827)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@209 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[SDP] SDP support WPP
tzachid [Mon, 19 Dec 2005 09:04:26 +0000 (09:04 +0000)]
[SDP] SDP support WPP
add define EVEENT_TRACING that move all SDP_PRINT calls to use WPP
in check version if tracing is not enabled then use regular kdprint. (Rev 826)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@208 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[SDP] Fixed a race in which data was not promised to be sent on shutdown. (rev 825)
tzachid [Mon, 19 Dec 2005 09:03:04 +0000 (09:03 +0000)]
[SDP] Fixed a race in which data was not promised to be sent on shutdown. (rev 825)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@207 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[SDP] Moved the test program to be built in the tests directory. (Rev 818)
tzachid [Mon, 19 Dec 2005 09:02:08 +0000 (09:02 +0000)]
[SDP] Moved the test program to be built in the tests directory. (Rev 818)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@206 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[SDP] Implementation of overlapped send (Rev 817)
tzachid [Mon, 19 Dec 2005 08:49:41 +0000 (08:49 +0000)]
[SDP] Implementation of overlapped send (Rev 817)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@205 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[IPoIB, IBBUS] Report port number in IPoIB parameters
ftillier [Wed, 14 Dec 2005 19:51:03 +0000 (19:51 +0000)]
[IPoIB, IBBUS] Report port number in IPoIB parameters
rather than extracting from port GUID.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
Signed-off-by: Fab Tillier (ftillie@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@204 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

16 years ago[WSD] Fix IP address query IOCTL to support more than one IP address.
ftillier [Wed, 14 Dec 2005 19:47:20 +0000 (19:47 +0000)]
[WSD] Fix IP address query IOCTL to support more than one IP address.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@203 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Enable IBAT on a device only if its packet filter is non-zero.
ftillier [Fri, 9 Dec 2005 19:59:19 +0000 (19:59 +0000)]
[IPoIB] Enable IBAT on a device only if its packet filter is non-zero.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@202 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IBAL] Handle race between sending RTU and receiving REJ.
ftillier [Thu, 8 Dec 2005 21:56:50 +0000 (21:56 +0000)]
[IBAL] Handle race between sending RTU and receiving REJ.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@201 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[WSD] Use IBAT to get local IP addresses.
ftillier [Thu, 8 Dec 2005 04:37:07 +0000 (04:37 +0000)]
[WSD] Use IBAT to get local IP addresses.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@200 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Only report IP addresses for adapters that have
ftillier [Wed, 7 Dec 2005 23:43:18 +0000 (23:43 +0000)]
[IPoIB] Only report IP addresses for adapters that have
a non-zero packet filter.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@199 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Fix improper buffer size checks for MAC to GID IOCTL processing
ftillier [Wed, 7 Dec 2005 22:07:27 +0000 (22:07 +0000)]
[IPoIB] Fix improper buffer size checks for MAC to GID IOCTL processing

Submitted by Tzachi Dar (tzachid@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@198 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Deregister ATS records during adapter reset.
ftillier [Wed, 7 Dec 2005 18:46:37 +0000 (18:46 +0000)]
[IPoIB] Deregister ATS records during adapter reset.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@197 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IBAL] Fix listen processing to fail a generic listen if a more
ftillier [Tue, 6 Dec 2005 22:32:00 +0000 (22:32 +0000)]
[IBAL] Fix listen processing to fail a generic listen if a more
specific one exists.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@196 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Add support for address translation
ftillier [Tue, 6 Dec 2005 21:41:40 +0000 (21:41 +0000)]
[IPoIB] Add support for address translation

Based on patch submitted by Tzachi Dar (tzachid@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@195 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Add support for generating globally unique Ethernet MAC addresses
ftillier [Mon, 5 Dec 2005 17:35:07 +0000 (17:35 +0000)]
[IPoIB] Add support for generating globally unique Ethernet MAC addresses
from Mellanox GUIDs.

Submitted by Yossi Leybovich (sleybo@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@194 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Fix send and receive counters.
ftillier [Wed, 30 Nov 2005 19:38:04 +0000 (19:38 +0000)]
[IPoIB] Fix send and receive counters.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@193 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Fixed upper binding, which should have been 'ndis5', not 'ndis'.
ftillier [Wed, 30 Nov 2005 19:17:38 +0000 (19:17 +0000)]
[IPoIB] Fixed upper binding, which should have been 'ndis5', not 'ndis'.
This was changed from ndis5_ip to support routing over IPoIB.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@192 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IPoIB] Add support for setting debug level from registry
ftillier [Wed, 30 Nov 2005 19:09:47 +0000 (19:09 +0000)]
[IPoIB] Add support for setting debug level from registry

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
Signed-off-by: Fab Tillier (ftillier@silverstorm.com)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@191 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[IBAL, HCA] Fix user-mode modify_cq to allow use of CQ DB coalescing.
ftillier [Tue, 29 Nov 2005 21:52:51 +0000 (21:52 +0000)]
[IBAL, HCA] Fix user-mode modify_cq to allow use of CQ DB coalescing.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@190 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoAdd limits test to build.
ftillier [Tue, 29 Nov 2005 21:41:07 +0000 (21:41 +0000)]
Add limits test to build.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@189 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years ago[LIMITS] Add new unit test to test MR, CQ, and CQ resize limits.
ftillier [Tue, 29 Nov 2005 21:34:06 +0000 (21:34 +0000)]
[LIMITS] Add new unit test to test MR, CQ, and CQ resize limits.
The test, depending on settings, will:
- Allocate 8K buffers in a loop and register them.  Once allocation or
registration fails, repeat 1000 times.  Deregister and free all MRs.
- Allocate CQs with 4K CQEs in a loop.  When CQ creation fails, repeat
1000 times.  Free all CQs.
- Allocate CQs with 32 CQEs in a loop.  For each run through the loop,
resize the CQ to increasing multiples of 256 entries.  When resize
fails, repeat 100 times.  Repeat CQ creation and resize until CQ
creation fails, then 1000 more times for good measure.  Cleanup all

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@188 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoAdded RC files to SDP
tzachid [Thu, 24 Nov 2005 14:43:28 +0000 (14:43 +0000)]
Added RC files to SDP
Removed support for windows 9x from the provider. (Rev 774)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@187 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoOpensm - client reregistration bit handling
eitan [Wed, 23 Nov 2005 13:10:19 +0000 (13:10 +0000)]
Opensm - client reregistration bit handling

Currently when sending mads with PortInfo Set we set client_rereg to
be one if we are in first_time_master_sweep and relevant capability
mask is on). In other cases - we send in client_reregister bit the
data we have saved. If this data is 1 - then we will keep on sending

This patch assures that we send 0 in the client_reregister bit,
unless we specifically want to send 1.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@186 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoRemove the hack that was used to support multiple threads. (Rev 771)
tzachid [Tue, 22 Nov 2005 09:14:59 +0000 (09:14 +0000)]
Remove the hack that was used to support multiple threads. (Rev 771)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@185 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoAdded the winib copy write statement to the files. (Rev 764, 765)
tzachid [Mon, 21 Nov 2005 13:01:19 +0000 (13:01 +0000)]
Added the winib copy write statement to the files. (Rev 764, 765)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@184 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoImproved logging of driver. (Rev 724)
tzachid [Mon, 21 Nov 2005 12:32:28 +0000 (12:32 +0000)]
Improved logging of driver. (Rev 724)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@183 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agomerge from branch (rev-652)
tzachid [Mon, 21 Nov 2005 12:31:12 +0000 (12:31 +0000)]
merge from branch (rev-652)
Added GetSockName and GetPeerName.
Usermode API's are printed in DEBUG.
Fix a BUG in multiple  connect.
Fix a leak of buffers. (Rev 700)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@182 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoAllow connection on the same machine.
tzachid [Mon, 21 Nov 2005 12:30:06 +0000 (12:30 +0000)]
Allow connection on the same machine.
All sockets can be used by all threads.
Fix a few typos.
(Integrate 592 from branch) (Rev 625)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@181 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoFix a race in the SDP code (buffers were sent before RTU was received) (Integrate...
tzachid [Mon, 21 Nov 2005 12:29:19 +0000 (12:29 +0000)]
Fix a race in the SDP code (buffers were sent before RTU was received) (Integrate 546 from branch) (Rev 624)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@180 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoA hack that allows threading to work and various bug fixes (Rev 450)
tzachid [Mon, 21 Nov 2005 12:28:10 +0000 (12:28 +0000)]
A hack that allows threading to work and various bug fixes (Rev 450)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@179 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoUpdate of the TODO file, and propagation of the driver object to the SdpArp::Init...
tzachid [Mon, 21 Nov 2005 12:27:07 +0000 (12:27 +0000)]
Update of the TODO file, and propagation of the driver object to the SdpArp::Init (Rev 434)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@178 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoImplement ARP mechanism as well as a mechanism for the local port. (Rev 428)
tzachid [Mon, 21 Nov 2005 12:26:22 +0000 (12:26 +0000)]
Implement ARP mechanism as well as a mechanism for the local port. (Rev 428)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@177 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoImprove the handling of CloseSocket on a listening socket. (Rev 356)
tzachid [Mon, 21 Nov 2005 12:25:08 +0000 (12:25 +0000)]
Improve the handling of CloseSocket on a listening socket. (Rev 356)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@176 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoThe lock function might return an error in the case of failure. (Rev 340)
tzachid [Mon, 21 Nov 2005 12:23:59 +0000 (12:23 +0000)]
The lock function might return an error in the case of failure. (Rev 340)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@175 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoMake sure that the driver only exists when all it's threads are dead. (Rev 334)
tzachid [Mon, 21 Nov 2005 12:23:11 +0000 (12:23 +0000)]
Make sure that the driver only exists when all it's threads are dead. (Rev 334)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@174 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoCloseSocket is now implemented (needs some more tuning) (Rev 315)
tzachid [Mon, 21 Nov 2005 12:22:16 +0000 (12:22 +0000)]
CloseSocket is now implemented (needs some more tuning) (Rev 315)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@173 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoWindows SDP client works with another windows client.
tzachid [Mon, 21 Nov 2005 12:21:14 +0000 (12:21 +0000)]
Windows SDP client works with another windows client.
Windows SDP client works with SDP gen2.
Fix user mode provider while the driver is not loaded. (Rev 298)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@172 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoImplementation of Listen Bind and accept. (Rev 273)
tzachid [Mon, 21 Nov 2005 12:19:58 +0000 (12:19 +0000)]
Implementation of Listen Bind and accept. (Rev 273)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@171 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

17 years agoCredits are being implemented for read. (Rev 211)
tzachid [Mon, 21 Nov 2005 12:18:52 +0000 (12:18 +0000)]
Credits are being implemented for read. (Rev 211)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@170 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86