]> git.openfabrics.org - ~shefty/rdma-win.git/log
~shefty/rdma-win.git
14 years ago[OPENSM] set opensm cache & config folder as %ProgramFiles%\WinOF\OpenSM; integrated...
stansmith [Sat, 12 Dec 2009 00:57:11 +0000 (00:57 +0000)]
[OPENSM] set opensm cache & config folder as %ProgramFiles%\WinOF\OpenSM; integrated with WinOF installers.

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

14 years ago[WINOF] introduce new cmds 'allnf path' & 'compnf path' to work around a bug in the...
stansmith [Fri, 11 Dec 2009 21:14:34 +0000 (21:14 +0000)]
[WINOF] introduce new cmds 'allnf path' & 'compnf path' to work around a bug in the WDK build env. If one forces a build (compf ulp\ipoib) for IPoIB or IPoIB_NDIS6_CM then 'all' instances of ipoib.sys are deleted and only the specified path component is rebuild leaving an incomplete build. 'compnf/allnf ulp\ipoib' allows nmake dependancies to make the correct rebuild descision without deleting all instances of ipoib.sys.

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

14 years ago[WINOF] fully support Windows7 builds; reanme windows7 distribution folder to include...
stansmith [Fri, 11 Dec 2009 21:07:33 +0000 (21:07 +0000)]
[WINOF] fully support Windows7 builds; reanme windows7 distribution folder to include Server 2008 R2

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

14 years ago[WINOF] optionally sign drivers only for a specific OS & processor architecture.
stansmith [Fri, 11 Dec 2009 21:05:02 +0000 (21:05 +0000)]
[WINOF] optionally sign drivers only for a specific OS & processor architecture.

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

14 years ago[OPENSM] Windows variants of printf/snprintf do not support '%zu', condense to '%u'.
stansmith [Thu, 10 Dec 2009 00:15:41 +0000 (00:15 +0000)]
[OPENSM] Windows variants of printf/snprintf do not support '%zu', condense to '%u'.

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

14 years ago[OPENSM] shed some light on the 'how and why' of having seemingly duplicate files...
stansmith [Mon, 7 Dec 2009 23:13:43 +0000 (23:13 +0000)]
[OPENSM] shed some light on the 'how and why' of having seemingly duplicate files in the opensm src tree.

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

14 years ago[OpenSM] OFED version 3.3.3 ported to Windows - vendor == IBAL for now; umad in the...
stansmith [Mon, 7 Dec 2009 23:01:20 +0000 (23:01 +0000)]
[OpenSM] OFED version 3.3.3 ported to Windows - vendor == IBAL for now; umad in the works.

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

14 years ago[OPENSM] remove files no longer used in opensm build.
stansmith [Mon, 7 Dec 2009 22:29:57 +0000 (22:29 +0000)]
[OPENSM] remove files no longer used in opensm build.

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

14 years ago[OPENSM] create a tag on the 'current' OpenSM 3.0.0.
stansmith [Mon, 7 Dec 2009 18:18:27 +0000 (18:18 +0000)]
[OPENSM] create a tag on the 'current' OpenSM 3.0.0.

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

14 years ago[OPENSM] added version number to FileDescription string for easy identification.
stansmith [Mon, 7 Dec 2009 18:06:48 +0000 (18:06 +0000)]
[OPENSM] added version number to FileDescription string for easy identification.

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

14 years ago[IPoIB NDIS 6.0 CM] (mlnx 5232)
tzachid [Mon, 7 Dec 2009 11:24:16 +0000 (11:24 +0000)]
[IPoIB NDIS 6.0 CM] (mlnx 5232)
Bug at s_buf->p_endpt initialization
Debug prints for Endpoint Communication

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

14 years ago[IPoIB NDIS 6.0 CM] (mlnx 5220)
tzachid [Mon, 7 Dec 2009 11:23:12 +0000 (11:23 +0000)]
[IPoIB NDIS 6.0 CM] (mlnx 5220)
Access to all CL lists should be lock-protected.

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

14 years agodapl2: sync with dapl.git tree
shefty [Thu, 3 Dec 2009 20:40:04 +0000 (20:40 +0000)]
dapl2: sync with dapl.git tree

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

14 years agowinverbs/ND: fix calculating RDMA read/write address
shefty [Thu, 3 Dec 2009 20:39:03 +0000 (20:39 +0000)]
winverbs/ND: fix calculating RDMA read/write address

The RDMA address should be base + offset, in network byte order.  Rather
than trying to convert the offset into network byte order, then add that
to the base, which is already in network byte order, we need to convert
the base to host order, add the offset, then convert the results back.

This allows the winverbs ND provider to pass the ndmw test.

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

14 years agowinverbs/ND: fix calculating RDMA read/write address
shefty [Thu, 3 Dec 2009 20:32:45 +0000 (20:32 +0000)]
winverbs/ND: fix calculating RDMA read/write address

The RDMA address should be base + offset, in network byte order.  Rather
than trying to convert the offset into network byte order, then add that
to the base, which is already in network byte order, we need to convert
the base to host order, add the offset, then convert the results back.

This allows the winverbs ND provider to pass the ndmw test.

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

14 years ago[mlx4_bus] Fix for vlan handling. (mlnx 5160)
tzachid [Thu, 3 Dec 2009 16:12:28 +0000 (16:12 +0000)]
[mlx4_bus] Fix for vlan handling. (mlnx 5160)
sign off by: galina

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

14 years ago[IPoIB NDIS 6.0 CM] Use correct branding for inx file.
tzachid [Wed, 2 Dec 2009 09:51:33 +0000 (09:51 +0000)]
[IPoIB NDIS 6.0 CM] Use correct branding for inx file.

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

14 years ago[IPoIB NDIS 6.0 CM] (mlnx 5191)
tzachid [Wed, 2 Dec 2009 09:41:13 +0000 (09:41 +0000)]
[IPoIB NDIS 6.0 CM] (mlnx 5191)

Fixing 2 bugs:
1. Bug caused by NDIS 6.5 offloadmisc WHQL test: it assumes that the driver version is 6.2 and sends structs with bigger size
2. Internal bug at offload handling.

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

14 years ago[IPOIB_NDIS6_CM] Build fixes (mlnx 5193)
tzachid [Wed, 2 Dec 2009 09:35:40 +0000 (09:35 +0000)]
[IPOIB_NDIS6_CM] Build fixes (mlnx 5193)

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

14 years ago[IPOIB_NDIS6_CM] g_stat: added to the adapter structure two previously global counter...
tzachid [Wed, 2 Dec 2009 09:28:59 +0000 (09:28 +0000)]
[IPOIB_NDIS6_CM] g_stat: added to the adapter structure two previously global counters for multi-homed machines. (mlnx 5192)

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

14 years ago[IPoIB NDIS 6.0 CM] Return correct status for an unsupported OIDs. (mlnx 5214)
tzachid [Tue, 1 Dec 2009 16:43:52 +0000 (16:43 +0000)]
[IPoIB NDIS 6.0 CM] Return correct status for an unsupported OIDs. (mlnx 5214)

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

14 years ago[IPoIB NDIS 6.0 CM] Return success value even if NdisReadNetworkAddress fails (the...
tzachid [Tue, 1 Dec 2009 16:42:37 +0000 (16:42 +0000)]
[IPoIB NDIS 6.0 CM] Return success value even if NdisReadNetworkAddress fails (the default)(mlnx 5212)

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

14 years ago[IPoIB NDIS 6.0 CM] Added logging facilities. (mlnx 5211).
tzachid [Tue, 1 Dec 2009 16:40:42 +0000 (16:40 +0000)]
[IPoIB NDIS 6.0 CM] Added logging facilities. (mlnx 5211).

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

14 years ago[IPoIB] [IPoIB NDIS 6.0 CM] Added support for GUID and fix debug 00:25:90 (mlnx 5210)
tzachid [Tue, 1 Dec 2009 16:39:27 +0000 (16:39 +0000)]
[IPoIB] [IPoIB NDIS 6.0 CM] Added support for GUID and fix debug 00:25:90 (mlnx 5210)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 1 Dec 2009 16:37:01 +0000 (16:37 +0000)]
[IPoIB NDIS 6.0 CM]
Bug at LSO flow.
When header is contained in 2 first SG Elements, or the total number of the SG List > MAX_SGE_NUM,
we enter send_copy flow. So, the p_send_buf should be at least 64K. (mlnx 5209)

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

14 years ago[IPOIB] fixing bugs in previous commit. (mlnx 5205)
tzachid [Tue, 1 Dec 2009 16:35:45 +0000 (16:35 +0000)]
[IPOIB] fixing bugs in previous commit. (mlnx 5205)

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

14 years ago[IPoIB NDIS 6.0 CM] Tracing facilities (mlnx 5208)
tzachid [Tue, 1 Dec 2009 16:32:43 +0000 (16:32 +0000)]
[IPoIB NDIS 6.0 CM] Tracing facilities (mlnx 5208)

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

14 years ago[SRP] revert the changes, occasionally made in 2605
leonidk [Tue, 1 Dec 2009 13:08:20 +0000 (13:08 +0000)]
[SRP] revert the changes, occasionally made in 2605

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

14 years ago[IPoIB NDIS 6.0 CM] Fixing a bug when ipoib_get_adapter_params fails reading paramete...
tzachid [Mon, 30 Nov 2009 15:46:11 +0000 (15:46 +0000)]
[IPoIB NDIS 6.0 CM] Fixing a bug when ipoib_get_adapter_params fails reading parameter but returns NDIS_STATUS_SUCCESS. (mlnx 5190)

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

14 years ago[IPOIB] g_stat: added more fields: prev_port and halt thread.
tzachid [Mon, 30 Nov 2009 15:41:53 +0000 (15:41 +0000)]
[IPOIB] g_stat: added more fields: prev_port and halt thread.

When IPoIB is stuck, it is usually found in the halt thread, waiting for resources reclamation. (mlnx 5188)

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

14 years ago[IPoIB NDIS 6.0 CM] Fixing a bug when IPoIB does not dereference port object during...
tzachid [Mon, 30 Nov 2009 15:39:35 +0000 (15:39 +0000)]
[IPoIB NDIS 6.0 CM] Fixing a bug when IPoIB does not dereference port object during shutdown progress. (mlnx 5185)

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

14 years ago[IPoIB NDIS 6.0 CM] Fixing a possible race when we get PORT_REMOVE before PORT_DOWN...
tzachid [Mon, 30 Nov 2009 15:36:34 +0000 (15:36 +0000)]
[IPoIB NDIS 6.0 CM] Fixing a possible race when we get PORT_REMOVE before PORT_DOWN. (mlnx 5184)

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

14 years ago[IPoIB NDIS 6.0 CM] Fixing the problem when MCast packet stuck the pending list....
tzachid [Mon, 30 Nov 2009 15:34:19 +0000 (15:34 +0000)]
[IPoIB NDIS 6.0 CM] Fixing the problem when MCast packet stuck the pending list. (mlnx 5162)

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

14 years ago[IPoIB NDIS 6.0 CM] Fixing a possible race when we can destroy IPoIB without destroyi...
tzachid [Mon, 30 Nov 2009 15:32:24 +0000 (15:32 +0000)]
[IPoIB NDIS 6.0 CM] Fixing a possible race when we can destroy IPoIB without destroying and completing its pending list. (mlnx 5166)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Mon, 30 Nov 2009 15:22:32 +0000 (15:22 +0000)]
[IPoIB NDIS 6.0 CM]
Upgrade revision to NDIS 6.1 because of bug at WHQL tests:
When running NDIS6.5 test on 6.0 driver, it starts to execute VMQ tests that not supported at IPoIB driver.
(mlnx 5136)

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

14 years agodapl: sync with 2.0.25
shefty [Wed, 25 Nov 2009 00:01:00 +0000 (00:01 +0000)]
dapl: sync with 2.0.25

commit 0983c66cbd9511128c1fa221470c4c983903e420

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

14 years agowinverbs branch: update to svn trunk 2596
shefty [Mon, 23 Nov 2009 22:18:52 +0000 (22:18 +0000)]
winverbs branch: update to svn trunk 2596

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

14 years ago[DAPL,ETC,WINOF] Remove DAPL 1.2 from WinOF installer: do not copy DAPL 1.2 files...
stansmith [Mon, 23 Nov 2009 20:13:48 +0000 (20:13 +0000)]
[DAPL,ETC,WINOF] Remove DAPL 1.2 from WinOF installer: do not copy DAPL 1.2 files in makebin; remove DAPL 1.2 options from DAT config file.

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

14 years ago[WINOF] switch from WIX 2.0 to use the stable release of WIX 3.0 for building WinOF...
stansmith [Mon, 23 Nov 2009 20:10:16 +0000 (20:10 +0000)]
[WINOF] switch from WIX 2.0 to use the stable release of WIX 3.0 for building WinOF installers.

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

14 years ago[DAPL2] synchronize with OFED DAPL git tree.
stansmith [Mon, 23 Nov 2009 18:59:00 +0000 (18:59 +0000)]
[DAPL2] synchronize with OFED DAPL git tree.

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

14 years agowinverbs branch: update to trunk svn 2592
shefty [Mon, 23 Nov 2009 18:30:20 +0000 (18:30 +0000)]
winverbs branch: update to trunk svn 2592

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

14 years agowinverbs branch: acm: fix build error
shefty [Mon, 23 Nov 2009 18:22:52 +0000 (18:22 +0000)]
winverbs branch: acm: fix build error

one too many ')'

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

14 years agoetc/.bat: update pkg and sign batch files
shefty [Mon, 23 Nov 2009 18:22:11 +0000 (18:22 +0000)]
etc/.bat: update pkg and sign batch files

include dpal pkg and timestamp with signing

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

14 years agowinverbs branch: etc/.bat: update pkg and sign batch files
shefty [Mon, 23 Nov 2009 18:21:40 +0000 (18:21 +0000)]
winverbs branch: etc/.bat: update pkg and sign batch files

include dpal pkg and timestamp with signing

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

14 years ago[OPENSM_3] C99 & uintn_t changes.
stansmith [Fri, 20 Nov 2009 00:32:54 +0000 (00:32 +0000)]
[OPENSM_3] C99 & uintn_t changes.

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

14 years ago[MLX4] fix a bug entered by incorrect merge
leonidk [Wed, 18 Nov 2009 09:27:30 +0000 (09:27 +0000)]
[MLX4] fix a bug entered by incorrect merge

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

14 years ago[mlx4] Use all entries in the mac table.
tzachid [Wed, 18 Nov 2009 07:45:36 +0000 (07:45 +0000)]
[mlx4] Use all entries in the mac table.

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

14 years ago[COMPLIB] Cleanup code by using C99 standard type uintptr_t in preference over compli...
stansmith [Wed, 18 Nov 2009 01:10:54 +0000 (01:10 +0000)]
[COMPLIB] Cleanup code by using C99 standard type uintptr_t in preference over complib defined non-standard data type uintn_t.

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

14 years ago[MLX4] g_stat: added more prints and flags
leonidk [Tue, 17 Nov 2009 15:03:51 +0000 (15:03 +0000)]
[MLX4] g_stat: added more prints and flags

added support for g_stat structure for MLX4_BUS driver + MAD tracing mechanism.

MAD tracing mechanism works under the control of flags, set in new Registry mlx4_bus parameter StatFlags.
The mechanism prints to debugger the IB headers of packets sent over MLX transport, i.e. on QP0 and QP1. [mlnx: 5138]
The flags are:
0x0001 - print LRH
0x0002 - print BTH
0x0004 - print DETH
0x0008 - print GRH (it won't print id the GRH is absent)
0x0010 - print some WQE info
0x0020 - print some more UD header info
0x0040 - print some send WR info
0x0080 - MLX WQE dump

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

14 years ago[MLX4] added events for Registry handling error flow. [mlnx: 5058]
leonidk [Tue, 17 Nov 2009 14:37:35 +0000 (14:37 +0000)]
[MLX4] added events for Registry handling error flow. [mlnx: 5058]

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

14 years ago[MLX4] syntax improvements
leonidk [Tue, 17 Nov 2009 14:32:57 +0000 (14:32 +0000)]
[MLX4] syntax improvements

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

14 years ago[MLX4] improve debug in error flow of command interface. [mlnx: 5039]
leonidk [Tue, 17 Nov 2009 14:29:08 +0000 (14:29 +0000)]
[MLX4] improve debug in error flow of command interface. [mlnx: 5039]

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

14 years ago[MLX4] added initialization of port type to default values and improved debug prints...
leonidk [Tue, 17 Nov 2009 14:26:45 +0000 (14:26 +0000)]
[MLX4] added initialization of port type to default values and improved debug prints. [mlnx: 5025]

We come across a case, when Port type from Registry has not been read.

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

14 years ago[IPOIB, IBBUS] g_stat: first patch of several, adding and populating global g_stat...
leonidk [Tue, 17 Nov 2009 14:12:21 +0000 (14:12 +0000)]
[IPOIB, IBBUS] g_stat: first patch of several, adding and populating global g_stat structure to the drivers of IB stack

For debug purposes.
Usable in both checked and free version.
Usage: open Watch Window in Debugger and add ipoib!g_stat or ibbus!g_stat.

An example of a real problem: MLX4 driver is stuck on unload.

It can happen when IBAL is stuck on resource reclamation.
The reclamation is being done in one of IBAL threads, which are started on IBAL's start up.
So you'd like to look into this thread.
But where it is ?
You can find it by printing ALL the threads of System process and looking for ibbus in their stack traces.
It can take minutes.

After this patch you can do that in 3 seconds this way:
1. open Watch Window in WinDbg and add ibbus!g_stat.
2. open
ibbus!g_stat->Drv->Gp_async_obj_mgr->Thread_pool->P_thread[0]->Osd->P_thread

This field contains the address of the thread, you wanted.

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

14 years ago[wsd] Fix a typo.
tzachid [Tue, 17 Nov 2009 13:38:42 +0000 (13:38 +0000)]
[wsd] Fix a typo.

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

14 years ago[bus] fix bug in __read_dev_params.
tzachid [Tue, 17 Nov 2009 13:13:40 +0000 (13:13 +0000)]
[bus] fix bug in __read_dev_params.
signed off by: Firas@mellanox.co.il

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

14 years ago[bus] fix minor issue found in prefast.
tzachid [Tue, 17 Nov 2009 13:05:20 +0000 (13:05 +0000)]
[bus] fix minor issue found in prefast.
Signed off by: urih@mellanox.co.il

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

14 years ago[bus] Fix bug when board contains only one port only.
tzachid [Tue, 17 Nov 2009 13:00:17 +0000 (13:00 +0000)]
[bus] Fix bug when board contains only one port only.
Signed off by: urih@mellanox.co.il

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

14 years ago[MLX4_BUS] support ModStatConfg command to query if port is enabled or disabled.
tzachid [Tue, 17 Nov 2009 12:58:33 +0000 (12:58 +0000)]
[MLX4_BUS] support ModStatConfg command to query if port is enabled or disabled.
Sign off by:urih@mellanox.co.il

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

14 years ago[mlx4] modify PortType according to setup_port_type.
tzachid [Tue, 17 Nov 2009 12:56:53 +0000 (12:56 +0000)]
[mlx4] modify PortType according to setup_port_type.
Signed off by:firas@mellanox.co.il

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

14 years ago[mlx4] Fix for 32 bits operating systems.
tzachid [Tue, 17 Nov 2009 12:54:39 +0000 (12:54 +0000)]
[mlx4] Fix for 32 bits operating systems.
Signed off by: urih@mellanox.co.il

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

14 years ago[mlx4,eth] Remove unnecessary printing.
tzachid [Tue, 17 Nov 2009 12:52:17 +0000 (12:52 +0000)]
[mlx4,eth] Remove unnecessary printing.

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

14 years ago[eth] Add temporarily code for tracking shutter behavior.
tzachid [Tue, 17 Nov 2009 12:49:32 +0000 (12:49 +0000)]
[eth] Add temporarily code for tracking shutter behavior.
signed off by: Firas Mahamid

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:29:21 +0000 (12:29 +0000)]
[IPoIB NDIS 6.0 CM]
Bugfix: free NBL only after freeing SG (mlnx 5120)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:28:29 +0000 (12:28 +0000)]
[IPoIB NDIS 6.0 CM]
Bugfix: free NBL only after freeing SG. (mlnx 5114)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:26:59 +0000 (12:26 +0000)]
[IPoIB NDIS 6.0 CM]
Fixing a bug when NDIS got stuck because of uncompleted sends. (mlnx 5108)

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

14 years ago[IPoIB NDIS 6.0 CM] Add a function to track send completions. (mlnx 5105)
tzachid [Tue, 17 Nov 2009 12:25:54 +0000 (12:25 +0000)]
[IPoIB NDIS 6.0 CM] Add a function to track send completions. (mlnx 5105)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:24:36 +0000 (12:24 +0000)]
[IPoIB NDIS 6.0 CM]
Fixing a problem when mcast_cb exits before flushing the pending list Prints, comments fixing Code clean-up.
(mlnx 5089)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:21:35 +0000 (12:21 +0000)]
[IPoIB NDIS 6.0 CM]
Fixing a problem when mcast_cb exits before flushing the pending list
Prints, comments fixing
Code clean-up. (mlnx 5076)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:19:23 +0000 (12:19 +0000)]
[IPoIB NDIS 6.0 CM]
Avoiding endless loop inside the pending-list-flushing loop. (mlnx 5022)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 12:17:48 +0000 (12:17 +0000)]
[IPoIB NDIS 6.0 CM]
Init endpt field within s_buf structure (mlnx 5015)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 11:34:02 +0000 (11:34 +0000)]
[IPoIB NDIS 6.0 CM]
Fixed a bug in s_buf handling (mlnx 4997)

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

14 years ago[IPoIB NDIS 6.0 CM]
tzachid [Tue, 17 Nov 2009 11:31:39 +0000 (11:31 +0000)]
[IPoIB NDIS 6.0 CM]
Code cleanup
Fixed printouts
Bugfix: p_sgl member of s_buf should be initialized during error flow (mlnx 4995)

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

14 years ago[COMPLIB] cl_fmap_t compare now returns an int; change intn_t --> int.
stansmith [Mon, 16 Nov 2009 21:56:45 +0000 (21:56 +0000)]
[COMPLIB] cl_fmap_t compare now returns an int; change intn_t --> int.

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

14 years ago[TRUNK] Change the cl_pfn_fmap_cmp_t compare function to return an 'int' instead...
stansmith [Mon, 16 Nov 2009 18:44:54 +0000 (18:44 +0000)]
[TRUNK] Change the cl_pfn_fmap_cmp_t compare function to return an 'int' instead of 'intn_t' as int is a better return value match for standard compare functions like memcmp(), cl_memcmp(), qsort() and the like.

Additionally the change removes some usage of the non-standard C type 'intn_t' in favor of the basic C data type 'int'.

Files impacted:

inc\complib\cl_fleximap.h line #185 cl_pfn_fmap_cmp_t function returns 'int' instead of 'intn_t'.
core\al\kernel\al_ioc_pnp.c
core\al\kernel\al_pnp.c
ulp\wsd\user\ibsp_ip.c
ulp\ipoib\kernel\ipoib_port.c
ulp\ipoib\kernel\ipoib_port.cpp
ulp\wsd\user\ibspproto.h

Tested by:
  building WinOF installers for wlh, win7, wnet & wxp
  installing newly built installers.
  Running DAPL tests, IPoIB tests & opensm tests.

Signed-off-by: stan smith <stan.smith@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2559 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

14 years ago[WINOF] remove windows 7 existance check as it's now a default OS flavor. Sign .exe...
stansmith [Thu, 12 Nov 2009 23:19:40 +0000 (23:19 +0000)]
[WINOF] remove windows 7 existance check as it's now a default OS flavor. Sign .exe files used during a WInOF install to eliminate win7 popup notifiers asking to proceed. ndinstall.exe, installsp.exe for install, devman.exe on uninstall.

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

14 years ago[WINOF] delete registry entries which remain after driver uninstall.
stansmith [Thu, 12 Nov 2009 23:13:54 +0000 (23:13 +0000)]
[WINOF] delete registry entries which remain after driver uninstall.

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

14 years ago[DAPL] remove uDAPL 1.2 from default build.
stansmith [Tue, 10 Nov 2009 22:02:19 +0000 (22:02 +0000)]
[DAPL] remove uDAPL 1.2 from default build.

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

14 years agowinverbs/ibacm: update to match git tree
shefty [Tue, 10 Nov 2009 19:24:28 +0000 (19:24 +0000)]
winverbs/ibacm: update to match git tree

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

14 years agowinmad: fix space to tab issue
shefty [Mon, 9 Nov 2009 20:16:59 +0000 (20:16 +0000)]
winmad: fix space to tab issue

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

14 years agowinverbs branch: change location where winmad.inf is built
shefty [Mon, 9 Nov 2009 20:15:06 +0000 (20:15 +0000)]
winverbs branch: change location where winmad.inf is built

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

14 years agowinverbs branch: set modify_ca call
shefty [Mon, 9 Nov 2009 20:14:19 +0000 (20:14 +0000)]
winverbs branch: set modify_ca call

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

14 years agowinverbs branch: add developer install scripts
shefty [Mon, 9 Nov 2009 20:13:46 +0000 (20:13 +0000)]
winverbs branch: add developer install scripts

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

14 years agowinverbs branch: describe developer install process
shefty [Mon, 9 Nov 2009 20:13:19 +0000 (20:13 +0000)]
winverbs branch: describe developer install process

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

14 years agoetc/docs: developer installation scripts
shefty [Mon, 9 Nov 2009 20:09:35 +0000 (20:09 +0000)]
etc/docs: developer installation scripts

The following patch series implements a series of scripts that can be used
by developers to build and install the winof drivers across an HPC cluster.

The scripts are intended to allow quick building and replacement of specific
drivers and libraries.  The process can be automated more by layering additional
scripts over those provided.

This patch documents the anticipated build and installation process.  Follow
on patches in the series implement the various scripts.

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

14 years agowinmad/inf: create inf file under bin/kernel
shefty [Mon, 9 Nov 2009 20:07:12 +0000 (20:07 +0000)]
winmad/inf: create inf file under bin/kernel

Winmad currently creates its inf file under core/winmad/kernel/obj*.
Move the inf file to bin/kernel/obj*.  This is the location where all
other inf files in the tree are created.

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

14 years agoIBAL: set modify_ca interface call
shefty [Mon, 9 Nov 2009 20:05:32 +0000 (20:05 +0000)]
IBAL: set modify_ca interface call

modify_ca was exported through the IB interface to support opensm
over winmad, but the interface call was never set by IBAL.

With this patch, I was able to run opensm over the OFED MAD
interfaces.

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

14 years ago[OPENSM_3] use pthread macros to hide complib functionality; reduces Windows specific...
stansmith [Thu, 5 Nov 2009 22:48:49 +0000 (22:48 +0000)]
[OPENSM_3] use pthread macros to hide complib functionality; reduces Windows specific code changes.  Skip the call to umad_get_issm_path() for Windows.

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

14 years ago[OPENSM_3] update to OpenSM 3.3.3 and remove unused files.
stansmith [Wed, 4 Nov 2009 19:10:34 +0000 (19:10 +0000)]
[OPENSM_3] update to OpenSM 3.3.3 and remove unused files.

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

14 years ago[OPENSM_3] relocaated OSM_MAX_LOG_NAME_SIZE to where it is used (winosm_common.c...
stansmith [Tue, 3 Nov 2009 22:25:45 +0000 (22:25 +0000)]
[OPENSM_3] relocaated OSM_MAX_LOG_NAME_SIZE to where it is used (winosm_common.c). Wired syslog() calls into OutputDebugStringA() so one can view syslog() writes using a DebugView Monitor. Simplified osm_strdup() to handle multiple environment vars in a path/filename.

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

14 years ago[OPENSM_3] Added OpenSM local Service control handling to reset/zero OSM log file...
stansmith [Tue, 3 Nov 2009 22:21:48 +0000 (22:21 +0000)]
[OPENSM_3] Added OpenSM local Service control handling to reset/zero OSM log file (code 128) along with code 192 to start a heavy sweep. Emulates OFED Opensm receiving SIGUSR1 & SIGHUP.
sc control OpenSM 128       reset OSM log file
sc control OpenSM 129       start a Heavy sweep.
Added above text to usage() message under --help.

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

14 years ago[OPENSM_3] Added OpenSM version to File description string for easy ID.
stansmith [Tue, 3 Nov 2009 22:18:03 +0000 (22:18 +0000)]
[OPENSM_3] Added OpenSM version to File description string for easy ID.

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

14 years ago[OPENSM_3] remove commented out artifact.
stansmith [Tue, 3 Nov 2009 22:15:41 +0000 (22:15 +0000)]
[OPENSM_3] remove commented out artifact.

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

14 years agowinverbs branch: update to trunk svn 2538
shefty [Tue, 3 Nov 2009 17:23:09 +0000 (17:23 +0000)]
winverbs branch: update to trunk svn 2538

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

14 years agowinverbs branch: partial update to trunk svn 2538
shefty [Tue, 3 Nov 2009 17:22:09 +0000 (17:22 +0000)]
winverbs branch: partial update to trunk svn 2538

remove deleted files

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

14 years agowinmad: revert changes from commit 2512
shefty [Tue, 3 Nov 2009 17:20:07 +0000 (17:20 +0000)]
winmad: revert changes from commit 2512

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

14 years agolibrdmacm: remove unneeded defines
shefty [Tue, 3 Nov 2009 17:07:14 +0000 (17:07 +0000)]
librdmacm: remove unneeded defines

libibverbs provides uint_* defines in verbs.h which is included by rdma_cma.h

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

14 years agoIn order to support opensm running over winmad (via the libibumad),
shefty [Tue, 3 Nov 2009 16:45:38 +0000 (16:45 +0000)]
In order to support opensm running over winmad (via the libibumad),
we need to set the IsSM PortInfo capability bit when it is present.
We do this in the winmad driver based on the user registering for
unsolicted directed route SMPs.  The bit is unset when that user goes
away.

In order to set the capability bit, we need to add ib_modify_ca()
to the IB_AL interface.  The interface GUID is updated as a result.

For opensm, a call to umad_register (directly or indirectly through
another library), should result in setting the IsSM capability bit
correctly.  No additional work is required, such as calling
umad_get_issm_path and opening a separate file, as is done on linx.
This will require a platform specific handling in the opensm code.

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

14 years ago[OPENSM_3] remove WINVER as it's defined in the build environment.
stansmith [Tue, 3 Nov 2009 00:28:29 +0000 (00:28 +0000)]
[OPENSM_3] remove WINVER as it's defined in the build environment.

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

14 years ago[OPENSM_3] add OFED vendor files in order to diff correctly with OFED. Some file...
stansmith [Tue, 3 Nov 2009 00:27:33 +0000 (00:27 +0000)]
[OPENSM_3] add OFED vendor files in order to diff correctly with OFED. Some file will not become part of trunk\ulp\opensm.

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