mirror/winof/.git
11 years ago[MLX4] 1) added support for sending large multi-parameter messages to System Event...
leonidk [Mon, 13 Jul 2009 18:24:01 +0000 (18:24 +0000)]
[MLX4] 1) added support for sending large multi-parameter messages to System Event Log.  [mlnx: 4561]
2) improved the wording of several most popular messages.

To print to Event Log, one has to use the new function WriteEventLogEntryData().

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

11 years ago[MLX4] added support to new device. [mlnx: 4473]
leonidk [Mon, 13 Jul 2009 18:19:03 +0000 (18:19 +0000)]
[MLX4] added support to new device. [mlnx: 4473]

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

11 years ago[WinOF] Remove disucssions for Server 2003 & XP w.r.t. selecting HCA device driver...
stansmith [Mon, 13 Jul 2009 16:42:36 +0000 (16:42 +0000)]
[WinOF] Remove disucssions for Server 2003 & XP w.r.t. selecting HCA device driver to hardware - DIFxApp/PNP simplifies and unifies HCA selection; user selects HCA vendor; Mellanox is the default.

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

11 years ago[DOCS] Simplify starting Service Manager discussion in starting OpenSM.
stansmith [Mon, 13 Jul 2009 16:35:01 +0000 (16:35 +0000)]
[DOCS] Simplify starting Service Manager discussion in starting OpenSM.

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

11 years ago[WinOF] White-space formatting.
stansmith [Mon, 13 Jul 2009 16:32:36 +0000 (16:32 +0000)]
[WinOF] White-space formatting.

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

11 years agondinstall: update installer to support both IBAL and WV ND providers
shefty [Fri, 10 Jul 2009 17:57:19 +0000 (17:57 +0000)]
ndinstall: update installer to support both IBAL and WV ND providers

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

11 years agonetdirect: add winverbs ND provider
shefty [Fri, 10 Jul 2009 17:56:19 +0000 (17:56 +0000)]
netdirect: add winverbs ND provider

Initial implementation.  Compiles, but otherwise untested.

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

11 years ago[ETC] forgot the paperwork - BSD license included in files.
stansmith [Thu, 9 Jul 2009 18:58:41 +0000 (18:58 +0000)]
[ETC] forgot the paperwork - BSD license included in files.

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

11 years ago[ETC] Provide a common implementation for gettimeofday().
stansmith [Thu, 9 Jul 2009 17:56:49 +0000 (17:56 +0000)]
[ETC] Provide a common implementation for gettimeofday().

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

11 years ago[DAPL2] fix a problem in socket-cm with FD_SETSIZE not being uniformly defined. Add...
stansmith [Thu, 9 Jul 2009 17:53:47 +0000 (17:53 +0000)]
[DAPL2] fix a problem in socket-cm with FD_SETSIZE not being uniformly defined. Add UD test options to dtestcm. Use correct -D flags argument in dt-svr.bat, do not be silent in dt-cli stop as errors were discarded. Use trunk\etc\user\gtod.c for 'gettimeofday()' function.

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

11 years ago[COMPLIB] Allow ipoib 6 to compile as a C++ driver
leonidk [Mon, 6 Jul 2009 08:25:27 +0000 (08:25 +0000)]
[COMPLIB] Allow ipoib 6 to compile as a C++ driver

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

11 years ago[WinOF] Added dtestcm.exe (Connection Manager rate measurement tool) to uDAT/uDAPL...
stansmith [Thu, 2 Jul 2009 17:51:26 +0000 (17:51 +0000)]
[WinOF] Added dtestcm.exe (Connection Manager rate measurement tool) to uDAT/uDAPL installed utils.

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

11 years ago[DAPL2] Support refactored common code
stansmith [Wed, 1 Jul 2009 23:45:52 +0000 (23:45 +0000)]
[DAPL2] Support refactored common code

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

11 years ago[DAPL2] code reorganization to support common functions between providers: add/delete...
stansmith [Wed, 1 Jul 2009 23:29:30 +0000 (23:29 +0000)]
[DAPL2] code reorganization to support common functions between providers: add/delete phase.

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

11 years ago[IPOIB] IPoIB PXE boot support: Don't truncate DHCP options.
tzachid [Sun, 28 Jun 2009 10:10:39 +0000 (10:10 +0000)]
[IPOIB] IPoIB PXE boot support:  Don't truncate DHCP options.
Signed off by: ftillier@windows.microsoft.com

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

11 years ago[IPOIB] IPoIB PXE boot support: Filter proxy DHCP requests too.
tzachid [Sun, 28 Jun 2009 10:08:39 +0000 (10:08 +0000)]
[IPOIB] IPoIB PXE boot support: Filter proxy DHCP requests too.
Signed off by: ftillier@windows.microsoft.com

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

11 years ago[IBAL] fix misplaced print to Event Log in 2229 patch. [mlnx: 4491]
leonidk [Sun, 28 Jun 2009 08:54:09 +0000 (08:54 +0000)]
[IBAL] fix misplaced print to Event Log in 2229 patch. [mlnx: 4491]

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

11 years ago[IBAL] remove unnecessary query_qp request during modify_qp
leonidk [Sun, 28 Jun 2009 08:37:31 +0000 (08:37 +0000)]
[IBAL] remove unnecessary query_qp request during modify_qp

HCA API of modify_qp contains an optional parameter of qp_attr.
If it is coded, modify_qp makes internally a query_qp request to low-level driver and returns QP attributes.
IBAL codes this parameter, but do not use the returned QP attributes.
It causes unnecessary query_qp request to low-level driver and possible racy scenarios.

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

11 years ago[IPoIB NDIS 6.0 CM]
tzachid [Thu, 25 Jun 2009 15:36:56 +0000 (15:36 +0000)]
[IPoIB NDIS 6.0 CM]
Files renamed to .cpp
Code cleaning (MLNX: 4521)

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

11 years ago[WinOF] Make installs with NODRV=1 work as expected: *.wxs files observe NODRV as...
stansmith [Wed, 24 Jun 2009 19:11:33 +0000 (19:11 +0000)]
[WinOF] Make installs with NODRV=1 work as expected: *.wxs files observe NODRV as does customactions.vbs.
Consolidate standard 'features' into a single include file; XP non-support issues handled via WIX #ifdef's.

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

11 years agolibraries: convert DllMain from BOOLEAN to BOOL
shefty [Wed, 24 Jun 2009 18:06:17 +0000 (18:06 +0000)]
libraries: convert DllMain from BOOLEAN to BOOL

DllMain should be BOOL - a typedef for int, rather than BOOLEAN -
a typedef for BYTE.

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

11 years agoetc/dlist: eliminate dlist.c
shefty [Wed, 24 Jun 2009 17:55:07 +0000 (17:55 +0000)]
etc/dlist: eliminate dlist.c

dlist.c only contains 2 functions.  Remove it and implement the
functions inline in the header file.  This simplifies the use of
dlist and matches the implementation of linux list.h.

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

11 years ago[eth6] Add first version of ipoib NDIS 6.0 driver.
tzachid [Tue, 23 Jun 2009 15:58:00 +0000 (15:58 +0000)]
[eth6] Add first version of ipoib NDIS 6.0 driver.
Signed off by: xalex@mellanox.co.il

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

11 years ago[WinOF] remove DPInst.exe from SVN tree as svn.2261 etc\makebin.bat mods now copy...
stansmith [Mon, 22 Jun 2009 20:49:46 +0000 (20:49 +0000)]
[WinOF] remove DPInst.exe from SVN tree as svn.2261 etc\makebin.bat mods now copy DPInst.exe from WDK tree. Bottom line - having DPInst.exe in our svn tree was a poor choice on my part.

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

11 years ago[WinOF] Use DIFxApp (Driver Install Frameworks for Applications) to install drivers...
stansmith [Mon, 22 Jun 2009 20:45:17 +0000 (20:45 +0000)]
[WinOF] Use DIFxApp (Driver Install Frameworks for Applications) to install drivers instead of home-grown CustomActions using devman or dpinst.exe. DIFxApp mods resulted in rearranging WIX src files into separate as DIFxApp can not tolerate multiple .inf files in a single directory.
The big win is to use WDK supplied driver install functions which then allows all supported OS flavors to use the Driver Store which results in the user not having to choose which HCA model to install (specifically Server 2003 & XP); The 'default' driver choice is Mellanox HCA.

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

11 years ago[WINOF] Supply a full WDK path to makebin instead of WDK version.
stansmith [Sat, 20 Jun 2009 23:26:09 +0000 (23:26 +0000)]
[WINOF] Supply a full WDK path to makebin instead of WDK version.

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

11 years ago[WINOF] Change makebin.bat to expect a full pathname for the DDK root instead of...
stansmith [Sat, 20 Jun 2009 23:18:13 +0000 (23:18 +0000)]
[WINOF] Change makebin.bat to expect a full pathname for the DDK root instead of just a DDK version; support those who install WDK in non-standard location.

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

11 years ago[MLX4] return different MLX4 bus locations for several cards in multi-homed machine...
leonidk [Wed, 17 Jun 2009 13:47:59 +0000 (13:47 +0000)]
[MLX4] return different MLX4 bus locations for several cards in multi-homed machine. [mlnx: 4468]

One can see on multi-homed computers, that mlx4_bus creates all its children (mlx4_hca, IPoIB et al) with built-in location string "MLX4 Bus 0" which complicates differentiation between them.
This patch makes mlx4_bus to return a location string of the structure "MLX4 bus x, device y, function z", where x,y,z is HCA card's PCI bus location.

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

11 years ago[ALL] improve exactness of time calculations. [mlnx: 4479]
leonidk [Wed, 17 Jun 2009 13:37:44 +0000 (13:37 +0000)]
[ALL] improve exactness of time calculations. [mlnx: 4479]

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

11 years ago[MLX4] a fix to 2255 (add VPD data to bus interface.)
leonidk [Tue, 16 Jun 2009 08:24:46 +0000 (08:24 +0000)]
[MLX4] a fix to 2255 (add VPD data to bus interface.)

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

11 years ago[MLX4] add VPD data to bus interface. [mlnx: 4456]
leonidk [Sun, 14 Jun 2009 09:49:18 +0000 (09:49 +0000)]
[MLX4] add VPD data to bus interface. [mlnx: 4456]

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

11 years ago[MLX4] enabled facility to connect CQ to required CPU. [mlnx: 4439]
leonidk [Sun, 14 Jun 2009 09:47:05 +0000 (09:47 +0000)]
[MLX4] enabled facility to connect CQ to required CPU. [mlnx: 4439]

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

11 years ago[MLX4] fix to the previous patch. [mlnx: 4417]
leonidk [Sun, 14 Jun 2009 09:43:50 +0000 (09:43 +0000)]
[MLX4] fix to the previous patch. [mlnx: 4417]

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

11 years ago[MLX4] added two new fields to IB interface: SubVendorID & SubSystemID. [mlnx: 4417]
leonidk [Sun, 14 Jun 2009 09:41:23 +0000 (09:41 +0000)]
[MLX4] added two new fields to IB interface: SubVendorID & SubSystemID. [mlnx: 4417]

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

11 years agowinverbs: initialize Endpoint QP member variable
shefty [Thu, 11 Jun 2009 04:21:22 +0000 (04:21 +0000)]
winverbs: initialize Endpoint QP member variable

If an Endpoint is created, but never used to connect, it will crash trying to dereference m_pQp during destruction.  Initialize the value to NULL.

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

11 years agowinverbs: remove QP from EP Disconnect call
shefty [Thu, 11 Jun 2009 04:11:24 +0000 (04:11 +0000)]
winverbs: remove QP from EP Disconnect call

The Endpoint class takes a QP parameter for Connect, Accept, and
Disconnect.  To simplify the interface, store the QP internally and
remove it from the Disconnect call.  Also allow it to be optional
for Accept on the active side of the connection.

Update librdmacm accordingly.

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

11 years agowinverbs: make PD derive from IWVOverlapped
shefty [Thu, 11 Jun 2009 04:06:23 +0000 (04:06 +0000)]
winverbs: make PD derive from IWVOverlapped

Memory registration is asynchronous and part of the PD interface.
Make the PD derive from overlapped, rather than unknown base class, and
add support for canceling asynchronous operations (i.e. register
memory) on the PD.

This is an oversight of the initial API caught by implementing the ND
provider.

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

11 years agowinverbs: convert RDMA address to network-byte order
shefty [Thu, 11 Jun 2009 04:02:27 +0000 (04:02 +0000)]
winverbs: convert RDMA address to network-byte order

Change the winverbs interface to accept remote RDMA addresses in network
byte order.  This keeps it consistent with all other remote/wire data fields.

Unfortunately, this means that the remote address must be swizzled between
winverbs and the HCA libraries, which take the address in host order, but
the other fields in network order.  Longer term, the HCA libraries can provide
optimized interfaces for winverbs, like posting a single work request.

For now, to avoid compatibility issues later, define the winverbs interface
using what's most reasonable.  Update libibverbs accordingly.

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

11 years ago[WinOF] preparation for WinOF 2.1 release.
stansmith [Wed, 10 Jun 2009 17:20:37 +0000 (17:20 +0000)]
[WinOF] preparation for WinOF 2.1 release.

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

11 years ago[WINOF] rename ia_params --> ia_device_params to match manual.htm documentation.
stansmith [Wed, 10 Jun 2009 17:15:45 +0000 (17:15 +0000)]
[WINOF] rename ia_params --> ia_device_params to match manual.htm documentation.
Clarify comments within dat.conf in general.

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

11 years ago[DOCS] trunk\docs\Manual.htm
stansmith [Wed, 10 Jun 2009 17:11:17 +0000 (17:11 +0000)]
[DOCS] trunk\docs\Manual.htm
Document new winof dapl providers: socket-cm & rdma-cm
Explain dat.conf dapl provider device specification.
Incorporate BLOCKQUOTES so selected links appear at the top of the window
Document OFED Diagnostic tools - OFED man pages reworked.
Clarify Winverbs transition from technology preview to standard WinOF/IBcore component.

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

11 years ago[DAPL2] simplify internal workings (use a ingle execution point) & support -Q (quiet...
stansmith [Wed, 10 Jun 2009 17:03:07 +0000 (17:03 +0000)]
[DAPL2] simplify internal workings (use a ingle execution point) & support -Q (quiet) switch.

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

11 years agowinverbs: process connect and accept asynchronously
shefty [Tue, 9 Jun 2009 16:40:24 +0000 (16:40 +0000)]
winverbs: process connect and accept asynchronously

Allow processing of EP:Connect and EP:Accept calls asynchronously.  The
librdmacm uses events to report the completion of rdma_connect and
rdma_accept calls, which allows users of that interface to take advantage
of asynchronous operation.  Modify the winverbs kernel driver to
queue connect/accept calls to a system thread for better parallelism.

This improves the measured connection rate of rdma_cmatose by 3%.  The
connection rate includes address resolution, route resolution, PD/CQ/QP
creation and state transitions, memory registration, posting of receive
buffers, and CM message exchanges.  This patch effectively only improves
the parallelism of modify QP.

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

11 years agolibrdmacm/cmatose: add performance counters
shefty [Tue, 9 Jun 2009 16:37:34 +0000 (16:37 +0000)]
librdmacm/cmatose: add performance counters

Add counters to time connection establishment rates.

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

11 years agodapl: update to git commit e8991b8f0877b0e2e857717e1140c679e9266abe
shefty [Thu, 4 Jun 2009 18:49:12 +0000 (18:49 +0000)]
dapl: update to git commit e8991b8f0877b0e2e857717e1140c679e9266abe

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

11 years agowinverbs: export WvGetObject as extern C
shefty [Wed, 3 Jun 2009 17:44:16 +0000 (17:44 +0000)]
winverbs: export WvGetObject as extern C

If a standard C program or library tries to link against winverbs, it will fail
because of C++ name decoration.  Export the WvGetObject call using C naming
conventions.

This allows DAPL to link directly against winverbs.

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

11 years ago[mthca] Fix a build break. [mlnx: 4411]
leonidk [Tue, 2 Jun 2009 17:51:04 +0000 (17:51 +0000)]
[mthca] Fix a build break. [mlnx: 4411]

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

11 years ago[IBAL] work around for reference count leakage bugs. [mlnx: 4404]
leonidk [Tue, 2 Jun 2009 17:49:32 +0000 (17:49 +0000)]
[IBAL] work around for reference count leakage bugs. [mlnx: 4404]

IBAL still has bugs, which cause reference count leakage, which stops the cascading destroying resources of IBAL.
It causes  in turn a freeze of IBBUS on HCA disable or system power down.
On checked builds IBAL forces destroying of the objects after some timeout.
On free version it waits endlessly.
This patch makes the behavior of free version to be like in checked version while sending a message to System Event Log.

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

11 years ago[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]
leonidk [Tue, 2 Jun 2009 17:48:10 +0000 (17:48 +0000)]
[IBBUS] fix bug in Control device implementation (patches 4218,4280). [mlnx: 4396]

Control Device was created in DriverEntry and removed in DrvUnload routine.
But PnP Manager won't call DrvUnload before Control Device is removed.
So IBBUS gets never unloaded.

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

11 years ago[IBBUS] added support to logging to System Event Log.
leonidk [Tue, 2 Jun 2009 17:44:02 +0000 (17:44 +0000)]
[IBBUS] added support to logging to System Event Log.

CL_PRINT_TO_EVENT_LOG(_obj_,_event_id_,_msg_)
   obj - FDO of IBBUS
   event_id - EVENT_IBBUS_ANY_ERROR, EVENT_IBBUS_ANY_WARN, EVENT_IBBUS_ANY_INFO
   msg - (<format_string>[,param_list])

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

11 years ago[IBAL] Summary: Ill-defined mechanism of event propagation.[mlnx: 4412]
leonidk [Tue, 2 Jun 2009 17:32:41 +0000 (17:32 +0000)]
[IBAL] Summary: Ill-defined mechanism of event propagation.[mlnx: 4412]

Bug description and reproduction:
1. Connect to machines (A and B) via IB switch
2. Run subnet manager (say, opensm) on B
3. Kill opensm and clear arp tables
4. Rerun opensm - ping will not longer work
5. That's because new opensm instance will clear old multicast groups, and side A will be not aware about opensm restart and will not request to join new MCAST group

Explanations:
There are 2 types of events relevant in our case: PnP and AE.
The problem had happened due to:
1. During opensm restart, port will generate AE event: IB_EVENT_LID_CHANGE or (in other cases)  IB_EVENT_CLIENT_REREGISTER
These events will be generated even in the case when SM was restarted, but LID will not actually change.

2. All PnP events were handled properly; but these events were mapped to IB_AE_FATAL
This patch fixes it and maps IB_EVENT_* events to appropriate IB_AE_* events and then to IB_PNP_* events

3. unction force_smi_poll() will now update it's subscribers about LID change event iff LID was changed.
So, we still have the problem when opensm was restarted and no one of the port attributes was changed.

This patch generated appropriate IB_PNP event to resolve this issue.

Signed off by: Xalex

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

11 years ago[IBBUS] Solves Bugzilla 1233 problem: machine crashes upon adding a new partition...
leonidk [Tue, 2 Jun 2009 17:20:55 +0000 (17:20 +0000)]
[IBBUS] Solves Bugzilla 1233 problem: machine crashes upon adding a new partition by part_man. [mlnx: 4406]

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

11 years ago[DAPL2] support shorthand & DAPL provider names from dat.conf
stansmith [Tue, 2 Jun 2009 16:57:52 +0000 (16:57 +0000)]
[DAPL2] support shorthand & DAPL provider names from dat.conf

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

11 years ago[MLX4] bug fix: prevent simultaneous issuing of modify_qp and query_qp commands ...
leonidk [Sun, 31 May 2009 08:33:42 +0000 (08:33 +0000)]
[MLX4] bug fix: prevent simultaneous issuing of modify_qp and query_qp commands (to the same QP). [mlnx: 4390]

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

11 years ago[WinOF] Digital certificate extraction and injection scripts to faciliate 1st time...
stansmith [Sat, 30 May 2009 00:46:21 +0000 (00:46 +0000)]
[WinOF] Digital certificate extraction and injection scripts to faciliate 1st time unattended WinOF installation on HPC compute nodes.

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

11 years ago[DAPL2] update usage with correct name for dapl provider (scn --> scm) bad eyesight...
stansmith [Fri, 29 May 2009 19:03:43 +0000 (19:03 +0000)]
[DAPL2] update usage with correct name for dapl provider (scn --> scm) bad eyesight...

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

11 years ago[DAPL2] added dapl-provider name as required cmd-line arg
stansmith [Fri, 29 May 2009 16:12:30 +0000 (16:12 +0000)]
[DAPL2] added dapl-provider name as required cmd-line arg

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

11 years ago[DAPL2] use latest versions with correct EOL.
stansmith [Thu, 28 May 2009 21:53:57 +0000 (21:53 +0000)]
[DAPL2] use latest versions with correct EOL.

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

11 years agoib-diags: maintain copy of patch to port to winof
shefty [Wed, 27 May 2009 20:03:33 +0000 (20:03 +0000)]
ib-diags: maintain copy of patch to port to winof

winof needs this patch to build the ported ib-diags.  Maintain a copy of the patch in svn for convenience of other developers.

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

11 years agoib-diags/ibping: add winof cdecl patch
shefty [Wed, 27 May 2009 19:36:09 +0000 (19:36 +0000)]
ib-diags/ibping: add winof cdecl patch

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

11 years agowinverbs: transition QP to error on disconnect
shefty [Wed, 27 May 2009 19:13:36 +0000 (19:13 +0000)]
winverbs: transition QP to error on disconnect

The QP transition into the error state must occur after a DREQ has been
received and acknowledged by the user (by a subsequent call to Disconnect),
or after a DREP has been received.  The current winverbs API requires the
user to call QP:Modify after their NotifyDisconnect completes.  This
presents challenges to implementing an ND provider, which expects a single
function call to perform both operations.

Unlike during connection establishment, the QP transition to error must
sometimes be delayed until after a CM callback.  And since CM callbacks
are at dispatch, we must queue the modify call to a system thread.

Regardless of the outcome of the disconnect attempt or other failures,
the driver tries to transition the QP to error.  This results in some
minor checks to ensure that the correct status is reported to the user.

A couple of additional changes were made to the Accept path to keep the
code consistent, since both Accept and Disconnect have active/passive
code paths.

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

11 years agoib-mgmt: update to 518083dc46963eb5fb48855acbe2b351ce7361f8
shefty [Wed, 27 May 2009 18:16:16 +0000 (18:16 +0000)]
ib-mgmt: update to 518083dc46963eb5fb48855acbe2b351ce7361f8

commit 518083dc46963eb5fb48855acbe2b351ce7361f8
Author: Doron Shoham <dorons@voltaire.com>
Date:   Sun May 10 11:17:11 2009 +0300

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

11 years ago[DOCS] removed QLogic participation.
stansmith [Wed, 27 May 2009 18:14:52 +0000 (18:14 +0000)]
[DOCS] removed QLogic participation.

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

11 years agodapl: update to 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa
shefty [Wed, 27 May 2009 18:13:45 +0000 (18:13 +0000)]
dapl: update to 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa

commit 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa
Author: Arlin Davis <arlin.r.davis@intel.com>
Date:   Mon May 18 14:00:02 2009 -0700

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

11 years ago[WINOF] support rdma-cm as a DAPL2 provider.
stansmith [Wed, 27 May 2009 18:08:36 +0000 (18:08 +0000)]
[WINOF] support rdma-cm as a DAPL2 provider.

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

11 years agolibnetdisc: update to 518083dc46963eb5fb48855acbe2b351ce7361f8
shefty [Wed, 27 May 2009 16:36:44 +0000 (16:36 +0000)]
libnetdisc: update to 518083dc46963eb5fb48855acbe2b351ce7361f8

commit 518083dc46963eb5fb48855acbe2b351ce7361f8
Author: Doron Shoham <dorons@voltaire.com>
Date:   Sun May 10 11:17:11 2009 +0300

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

11 years agoRemove stale HPC Pack 2008 Beta 1 objects
ftillier [Wed, 27 May 2009 16:35:57 +0000 (16:35 +0000)]
Remove stale HPC Pack 2008 Beta 1 objects

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

11 years agodocs/maintainers: update maintainer information
shefty [Wed, 27 May 2009 16:01:12 +0000 (16:01 +0000)]
docs/maintainers: update maintainer information

Remove names no longer working on IB, update DAPL to list Arlin as the primary maintainer, and update the OFED compat lib notes

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

11 years agoetc/work_queue: abstraction to manage a small pool of IO_WORKITEMs
shefty [Wed, 27 May 2009 15:59:36 +0000 (15:59 +0000)]
etc/work_queue: abstraction to manage a small pool of IO_WORKITEMs

Create an abstraction for managing a small pool of IO_WORKITEMs that
can be used to process a queue of work requests at passive level.

To prevent starvation of other work items and ensure fairness of system
threads, only a single work requests is processed each time a work
item is queued.  If more work remains, the work item is requeued.

Using a pool of work items, rather than a single work item, allows for
some parallelism of tasks.

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

11 years agolibrdmacm: fix event reporting when destroying listen
shefty [Wed, 27 May 2009 15:58:27 +0000 (15:58 +0000)]
librdmacm: fix event reporting when destroying listen

Do not report connect request events if a user is in the process of destroying an associated listen request.  Ensure that the listen request continues to exist while any callbacks exist.

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

11 years ago[IBAL] remove unnecessary debug print
leonidk [Wed, 27 May 2009 11:04:22 +0000 (11:04 +0000)]
[IBAL] remove unnecessary debug print

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

11 years ago[HW] bug workaround: skip releasing of QP number upon a failure to destroy QP in...
leonidk [Wed, 27 May 2009 10:25:19 +0000 (10:25 +0000)]
[HW] bug workaround: skip releasing of QP number upon a failure to destroy QP in FW. [mlnx: 4383]

Otherwise it prevents the creation of new QPs.
This workaround will "leak" one bit in QP numbers' bit table.

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

11 years ago[WINOF] Svr 2003 cleanup enhanced to remove from %windir%\lastgood\. Use 'dpinst...
stansmith [Tue, 26 May 2009 22:31:24 +0000 (22:31 +0000)]
[WINOF] Svr 2003 cleanup enhanced to remove from %windir%\lastgood\. Use 'dpinst.exe -dp_delete' during uninstall to clean out DriverStore.

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

11 years ago[MLX4] improved debug print. [mlnx: 4342]
leonidk [Tue, 26 May 2009 18:14:38 +0000 (18:14 +0000)]
[MLX4] improved debug print. [mlnx: 4342]

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

11 years ago[MLX4] Soft Reset: fixed bug in case when mlx4_reset, issued from cmd.c, fails. ...
leonidk [Tue, 26 May 2009 18:06:01 +0000 (18:06 +0000)]
[MLX4] Soft Reset: fixed bug in case when mlx4_reset, issued from cmd.c, fails. [mlnx: 4296]

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

11 years ago[WINOF] make sure 64-bit systems get ibwsd32.dll file. Previous changes to remove...
stansmith [Fri, 22 May 2009 17:08:22 +0000 (17:08 +0000)]
[WINOF] make sure 64-bit systems get ibwsd32.dll file. Previous changes to remove ND from ia64 introduced this bug.

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

11 years ago[IBBUS] convert old global variable name 'gp_iou_mgr' to match it's local scope as...
stansmith [Fri, 22 May 2009 17:06:26 +0000 (17:06 +0000)]
[IBBUS] convert old global variable name 'gp_iou_mgr' to match it's local scope as 'p_iou_mgr'.

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

11 years agoUse private heap for memory allocations to avoid heap corruption when using
ftillier [Wed, 20 May 2009 19:50:56 +0000 (19:50 +0000)]
Use private heap for memory allocations to avoid heap corruption when using
the SecureMemoryCacheCallback functionality of the OS.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2193 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

11 years agoNetworkDirect is one word.
ftillier [Wed, 20 May 2009 19:34:26 +0000 (19:34 +0000)]
NetworkDirect is one word.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2192 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

11 years ago[IBBUS] remove duplicate FDO extension fields [p_port_mgr,p_iou_mgr] and use same...
stansmith [Tue, 19 May 2009 20:07:23 +0000 (20:07 +0000)]
[IBBUS] remove duplicate FDO extension fields [p_port_mgr,p_iou_mgr] and use same named fields from Bus_Filter_Instance.

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

11 years ago[IBBUS] clear IOU PDO device extension memory before use.
stansmith [Tue, 19 May 2009 19:48:10 +0000 (19:48 +0000)]
[IBBUS] clear IOU PDO device extension memory before use.

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

11 years ago[IBBUS] force last HCA to remain until IBAL has shutdown, then release IF reference...
stansmith [Tue, 19 May 2009 19:38:17 +0000 (19:38 +0000)]
[IBBUS] force last HCA to remain until IBAL has shutdown, then release IF reference. Added ASSERT()s for ref counting. Removed old DEBUG prints.

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

11 years ago[IBBUS] prevent duplicate HCA deref in iou_mgr_iou_remove() and iou_free_iou_mgr...
stansmith [Tue, 19 May 2009 19:29:18 +0000 (19:29 +0000)]
[IBBUS] prevent duplicate HCA deref in iou_mgr_iou_remove() and iou_free_iou_mgr(). Cleanup debug output.

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

11 years ago[IBBUS] reduce debug console output
stansmith [Tue, 19 May 2009 19:07:17 +0000 (19:07 +0000)]
[IBBUS] reduce debug console output

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

11 years ago[WinOF] support Windows 7 WDK 7100.0.0
stansmith [Fri, 15 May 2009 00:50:09 +0000 (00:50 +0000)]
[WinOF] support Windows 7 WDK 7100.0.0

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

11 years ago[DAPL2] win7 WDK 7100.0.0 issues a depreciated compiler option warning for /Wp64...
stansmith [Fri, 15 May 2009 00:48:37 +0000 (00:48 +0000)]
[DAPL2] win7 WDK 7100.0.0 issues a depreciated compiler option warning for /Wp64, remove offending 64-bit portibility warnings switch.

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

11 years ago[WinOF] be a bit more general with a task specific tool.
stansmith [Thu, 14 May 2009 23:05:38 +0000 (23:05 +0000)]
[WinOF] be a bit more general with a task specific tool.

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

11 years ago[WinOF] buildrelease.bat update Platform_SDK & ND_SDK_PATH definitions
stansmith [Thu, 14 May 2009 17:18:01 +0000 (17:18 +0000)]
[WinOF] buildrelease.bat update Platform_SDK & ND_SDK_PATH definitions

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

11 years ago[WinOF] support additional OFED Diags (winverbs_OFED.inc)
stansmith [Thu, 14 May 2009 17:13:07 +0000 (17:13 +0000)]
[WinOF] support additional OFED Diags (winverbs_OFED.inc)
  ibqueryerrors iblinkinfo saquery sminfo smpdump smpquery venstat ibportstate perfquery mcm_rereg_test
  libibnetdisc
cleanup makebin.bat with single env var defs of what's to be copied.
ipoib.inc - no ND for ia64

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

11 years ago[VSTAT] added more information under new '-m' flag.
leonidk [Wed, 13 May 2009 12:11:23 +0000 (12:11 +0000)]
[VSTAT] added more information under new '-m' flag.

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

11 years ago[IPOIB] remove ND components from ia64 driver install. Leo OK'ed - signed off by...
stansmith [Tue, 12 May 2009 23:50:23 +0000 (23:50 +0000)]
[IPOIB] remove ND components from ia64 driver install. Leo OK'ed - signed off by stan.smith@intel.com

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

11 years ago[IBBUS] white-space alignment & comment line trim. Leo OK'ed, signed off by stan...
stansmith [Tue, 12 May 2009 23:46:59 +0000 (23:46 +0000)]
[IBBUS] white-space alignment & comment line trim. Leo OK'ed, signed off by stan.smith@intel.com

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

11 years agoib-diags: add ibqueryerrors
shefty [Tue, 12 May 2009 19:08:30 +0000 (19:08 +0000)]
ib-diags: add ibqueryerrors

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

11 years agoMAD: fix issues routing vendor MADs
shefty [Tue, 12 May 2009 17:25:44 +0000 (17:25 +0000)]
MAD: fix issues routing vendor MADs

Only dispatch received vendor defined MADs to the HCA driver if the
management class is one of the MLX vendor defined classes.

When dispatching MADs locally that are not handled by the HCA driver,
copy the sent MAD data into the received MAD buffer.  Also initialize
the address information of the dispatched MAD, so that replies can be
routed correctly back to the sender.  If a MAD is not handled by the
HCA driver and cannot be dispatched, return the MAD to the MAD pool
to avoid leaking MADs.

Finally, we simplify the MAD dispatch code.

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

11 years agoMAD: apply RMPP with the upper vendor mgmt class
shefty [Tue, 12 May 2009 17:24:13 +0000 (17:24 +0000)]
MAD: apply RMPP with the upper vendor mgmt class

The upper range of the vendor management class uses the RMPP header by default.

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

11 years agomlx4/mthca: define common vendor mgmt class
shefty [Tue, 12 May 2009 17:23:03 +0000 (17:23 +0000)]
mlx4/mthca: define common vendor mgmt class

Replace the separate MLX4 and MTHCA vendor MAD classes with common
MLX vendor classes.  This more easily allows us to determine if a vendor
defined management class should be routed to the HCA driver or dispatched
to a MAD client.

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

11 years agowinmad: support registration for unsolicited MADs
shefty [Tue, 12 May 2009 17:21:47 +0000 (17:21 +0000)]
winmad: support registration for unsolicited MADs

To support ibping, winmad needs to support registering for unsolicited
MADs.  We just need to change the MAD service context from referencing
the WMProvider to the WMRegistration.

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

11 years agomad: deregister MR earlier in destroy path
shefty [Tue, 12 May 2009 17:17:54 +0000 (17:17 +0000)]
mad: deregister MR earlier in destroy path

When restarting the stack, the MAD pool tries to deregister
its memory during the cleanup phase.  This results in an
error because of an invalid h_mr handle.  Fix the error by
deregistering the memory during the destroying callback.

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

11 years agoib/cm: update port attributes earlier in destruction path
shefty [Tue, 12 May 2009 17:16:33 +0000 (17:16 +0000)]
ib/cm: update port attributes earlier in destruction path

The CM tries to modify the port attributes during the cleanup
phase of port cep destruction.  However, if the stack is
being brought down, by the time ib_modify_hca is called, the
h_ca handle is invalid.

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

11 years agomlx4: change prints from error to information
shefty [Tue, 12 May 2009 17:14:08 +0000 (17:14 +0000)]
mlx4: change prints from error to information

TRACE_LEVEL_ERROR is intended for "Severe errors".  Change
ref/deref interface and DriverEntry exit log messages from
error to informational only.  This avoids displaying
misleading "***ERROR***" messages on the debug terminal.

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