stansmith [Tue, 15 Dec 2009 20:39:53 +0000 (20:39 +0000)]
[OPENSM] added OpenSM version to osmtest.rc file description string for easy ID. osmtest.rc was not being compiled in, added osmtest.rc file to SOURCES file.
stansmith [Mon, 14 Dec 2009 19:27:49 +0000 (19:27 +0000)]
[DAPL] WinOF 2.2 - removed DAPL V1; not sure how this came into the 2.2 branch as the branch was off the HEAD and DAPL was removed from HEAD a few weeks ago?
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.
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
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
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.
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)
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)
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
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.
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
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.
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
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
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.
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.