[ofw] RE: Porting OFA stack to WDK

Fab Tillier ftillier at windows.microsoft.com
Wed Feb 13 09:01:38 PST 2008


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/78c3b81b/attachment.html>


More information about the ofw mailing list