[ofw] RE: Porting OFA stack to WDK

Leonid Keller leonid at mellanox.co.il
Wed Feb 13 10:48:46 PST 2008


It's a port from Linux. In the first revision it won't support MSI-X.


________________________________

	From: Fab Tillier [mailto:ftillier at windows.microsoft.com] 
	Sent: Wednesday, February 13, 2008 7:02 PM
	To: Leonid Keller; ofw at lists.openfabrics.org
	Cc: Alex Naslednikov
	Subject: RE: Porting OFA stack to WDK
	
	

	Hi Leonid,

	 

	Is the new ConnectX driver a port from Linux or is it a
ground-up Windows driver?  Will it support MSI-X?

	 

	-Fab

	 

	From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Leonid Keller
	Sent: Wednesday, February 13, 2008 1:45 AM
	To: ofw at lists.openfabrics.org
	Cc: Alex Naslednikov
	Subject: [ofw] Porting OFA stack to WDK

	 

	The new ConnectX driver is being developed in WDF environment
and requires WDK tools for its build.

	 

	While trying to build OFA stack in WDK environment i've come
across a __ptr64 problem.

	This attribute causes the WDK compiler crash in checked x86
environment.

	Instead of searching some workaround, i'm going to perform the
following "drastic" solution:

	    - remove __ptr64 attribute from all the functions of the
stack;

	    - remove __ptr64 attribute from all the structures except
the Ioctl ones;

	    - use PtrToPtr64 function while the assignment of __ptr64
Ioctl fields (only in user space);

	    - remove unnecessary castings, related to __ptr64 attriubute
all over the code, if any;

	 

	The changes wrt ioctls will be committed separately to
facilitate the code review.

	 

	Any comments/suggestions/objections ?

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080213/66d268d9/attachment.html>


More information about the ofw mailing list