<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=282455418-13022008><FONT face=Arial color=#0000ff size=2>see
below</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Smith, Stan
[mailto:stan.smith@intel.com] <BR><B>Sent:</B> Wednesday, February 13, 2008
7:43 PM<BR><B>To:</B> Leonid Keller; ofw@lists.openfabrics.org<BR><B>Cc:</B>
Alex Naslednikov<BR><B>Subject:</B> RE: [ofw] Porting OFA stack to
WDK<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2>Am I to understand you will repair 'all'
occurrences __ptr64 usage?<BR><SPAN class=282455418-13022008>[Leonid
Keller] We are going to leave this attribute only in Ioctl structures and
cast apprpriately.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>Am I to understand the usage of the PtrToPtr64()
function for the assignment of __ptr64 Ioctl fields (only in user
space)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2>will function correctly when built using the
'current' DDK build environment?<BR><SPAN class=282455418-13022008>[Leonid
Keller] We hope so. </SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
size=2><SPAN class=760520017-13022008><FONT face=Arial color=#0000ff
size=2>The point being the 'current' build environment will not be impacted by
the removal of __ptr64 and therefore the switch
to</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><SPAN
class=760520017-13022008><FONT face=Arial><FONT color=#0000ff><FONT size=2>the
WDK build environment can be handled separately as it's a connectX
issue?<BR><SPAN class=282455418-13022008>[Leonid Keller] This change will
be performed in the current stack and should have no impact on
it.</SPAN></FONT></FONT></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><SPAN
class=760520017-13022008><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=282455418-13022008>It is the first step in transition to
work in new (WDK) environment.</SPAN></FONT></FONT></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><SPAN
class=760520017-13022008><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=282455418-13022008>We want to make all the way till new
release, because ConnectX is implement in WDF
style. </SPAN></FONT></FONT></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2><SPAN
class=760520017-13022008></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><SPAN
class=760520017-13022008><FONT face=Arial><FONT color=#0000ff><FONT
size=2>BTW, what is it about connectX that requires the WDK
environment?<BR><SPAN class=282455418-13022008>[Leonid Keller] Nothing,
really. But WDF drivers are more robust and maintainable.
</SPAN></FONT></FONT></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><SPAN
class=760520017-13022008><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=282455418-13022008>New WDK environment provides more tools
for all the stages of driver development and ii was my belief, that
we have to start transition of all the stack to these new technology and
environment.</SPAN></FONT></FONT></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><SPAN
class=760520017-13022008><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=282455418-13022008></SPAN></FONT></FONT></FONT></SPAN></SPAN><SPAN
class=760520017-13022008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2>The change to WDK is huge, I trust your testing
with x64 & ia64 has been successful?<BR><SPAN
class=282455418-13022008>[Leonid Keller] We do not support ia64 platform.
I believe, someone will test ConnectX driver on this
platform.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=282455418-13022008>As to x64, we are
going to pass the new driver over the same QA process as the previous
(MTHCA) one. </SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>What modules were exercised in your x64 and/or ia64
testing?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2>What version of WDK are you using?<BR><SPAN
class=282455418-13022008>[Leonid Keller] 6000 for now. The intention
is to use the last available.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=282455418-13022008>Do you have some
recommendation ?</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2>With the exception of the removal of __ptr64, have
the WDK prompted file modifications been pushed back into SVN?<BR><SPAN
class=282455418-13022008>[Leonid Keller] We have just started this way
(to WDK). I believe there will be issues beyond __ptr64 one.
</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=282455418-13022008>We are going to
show all the patches in the mail list before committing
them to SVN.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=282455418-13022008>Or i misunderstood
your question ? </SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2>What is your timeframe for pushing the __ptr64
removal back into SVN?<BR><SPAN class=282455418-13022008>[Leonid
Keller] Two weeks. We want to be sure, that we haven't added some new
bug.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=282455418-13022008></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=760520017-13022008><FONT face=Arial
color=#0000ff size=2>stan.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ofw-bounces@lists.openfabrics.org
[mailto:ofw-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Leonid
Keller<BR><B>Sent:</B> Wednesday, February 13, 2008 1:45 AM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Cc:</B> Alex Naslednikov<BR><B>Subject:</B>
[ofw] Porting OFA stack to WDK<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>The new ConnectX
driver is being developed in WDF environment and requires WDK tools for its
build.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>While trying to
build OFA stack in WDK environment i've come across a __ptr64
problem.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>This attribute
causes the WDK compiler crash in checked x86
environment.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>Instead of
searching some workaround, i'm going to perform the following "drastic"
solution:</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial
size=2>- remove __ptr64 attribute from all the functions of the
stack;</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial
size=2>- remove __ptr64 attribute from all the structures except
the Ioctl ones;</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial
size=2>- use PtrToPtr64 function while the assignment of __ptr64 Ioctl fields
(only in user space);</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008> <FONT face=Arial
size=2>- remove unnecessary castings, related to __ptr64 attriubute all over
the code, if any;</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>The changes wrt
ioctls will be committed separately to facilitate the code
review.</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2>Any
comments/suggestions/objections ?</FONT></SPAN></DIV>
<DIV><SPAN class=054063616-12022008><FONT face=Arial size=2><FONT
face="Times New Roman"></FONT></FONT></SPAN> </DIV></BLOCKQUOTE></BODY></HTML>