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

Leonid Keller leonid at mellanox.co.il
Wed Mar 29 09:53:30 PST 2006


Applied, thanks  

> -----Original Message-----
> From: Fab Tillier [mailto:ftillier at silverstorm.com] 
> Sent: Tuesday, March 28, 2006 11:34 PM
> To: Leonid Keller
> Cc: openib-windows at openib.org
> Subject: [PATCH] Fix MTHCA umvbuf checks.
> 
> 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
> 



More information about the ofw mailing list