Please see the comments below.<br><br>Regards<br>Deepak<br><br><div class="gmail_quote">On Sat, Dec 20, 2008 at 12:49 AM, Fab Tillier <span dir="ltr"><<a href="mailto:ftillier@windows.microsoft.com">ftillier@windows.microsoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">> Two comments:<br>
><br>
> The format written in the registry should be extensible. That is,<br>
> each vendor ULP will be able to add more fields if it needs them. I<br>
> guess that the format that Fab has suggested is already such.<br>
<br>
</div>How would the bus driver act on these extra fields? How would the FDO driver retrieve these extra parameters form the bus driver?</blockquote><div> </div><div>Nice question.<br><br>Since it is the vendor specific application
(which will request for device creation) which wants to associate some
extended parameters with the new child PDO. Hence it can encode these
parameters as REG_BINARY in registry under "extendedparams" value. So
bus driver will blindly store these values <br>
as a byte array knowing nothing about their meaning.<br>Other
than normal interface there has to be a extended interface implemented
in bus driver which will return the data upon receiving QUERY_INTERFACE
for extended interface.<br>
<br>Further, since upper FDO is owned by the vendor's driver, it will
understand data format and hence we don't need bus driver to understand
anything about this extended data format.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
> Another thing is that ipoib should also work in this method. This<br>
> means that the coinstaller that installs the bus filter should also<br>
> create the needed registry entries for ipoib.<br>
<br>
</div>Since the bus driver is an upper filter for the HCA now, it's possible for the INF file of the HCA to append the appropriate values to the bus driver's child device registry entry when the HCA is installed without a coinstaller at all.<br>
<font color="#888888"><br>
-Fab<br>
</font></blockquote></div><br>