[Openib-windows] [PATCH] Fix MTHCA umvbuf checks.

Fab Tillier ftillier at silverstorm.com
Tue Mar 28 13:33:53 PST 2006


Hi Leo,

The MTHCA driver wasn't updated to handle the umvbuf checks to account for the
h_um_ca being passed in for user-mode calls with or without a UVP.  This
requires always returning an ib_ucontext structure from mlnx_um_open (an empty
one if there is no UVP - only has the device pointer set), and handling closing
such an empty ib_ucontext.

I've also eliminated the fw_flash_get_ca_guid function as it is unused and out
of date (doesn't handle variable flash sector sizes).

The patch also includes an update to the debug output in two functions which was
incorrect and misleading (e.g. referencing PCI-X for PCI-Express boards).

Note that this patch applies on top of the one that eliminates the linkage
dependency on IBAL.

Let me know if you have any questions or need anything changed.

Thanks,

- Fab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mthca.umvbuf.patch
Type: application/octet-stream
Size: 10624 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060328/9e2698bd/attachment.obj>


More information about the ofw mailing list