[ofw] Doing queries on subnet every 30 seconds

Fab Tillier ftillier at microsoft.com
Tue May 31 17:54:38 PDT 2011


Smith, Stan wrote on Tue, 31 May 2011 at 17:15:49

> Hi Fab,
>   Your idea of IOC scanning on the bus driver occurrence of
> IRP_MN_QUERY_DEVICE_RELATIONS has merit, might you suggest a filter as
> there are at least 8 occurrences during a reboot?

Any idea why there are so many?  Are they all of Type=BusRelations?  Do we trigger these by reporting a device relations change (via a call to IoInvaliateDeviceRelations)?

> An invocation of
> 'devcon rescan' invokes 3 separate IRP_MN_QUERY_DEVICE_RELATIONS.

Are these all of the same type (Type=BusRelations)?

-Fab
 
> 
> Thanks,
> 
> Stan.
> 
> 
>> -----Original Message----- From: ofw-bounces at lists.openfabrics.org
>> [mailto:ofw- bounces at lists.openfabrics.org] On Behalf Of Fab Tillier
>> Sent: Tuesday, May 03, 2011 11:22 AM To: Hefty, Sean; Tzachi Dar;
>> ofw at lists.openfabrics.org Subject: Re: [ofw] Doing queries on subnet
>> every 30 seconds
>> 
>> Hefty, Sean wrote on Mon, 2 May 2011 at 10:54:36
>> 
>>>> Is there any objection to disable it by default?
>>> 
>>> I don't object, in fact, I'd prefer it.
>> 
>> We shouldn't be querying on a fixed interval.  I think it would be good
>> to leave the logic there and issue a query when
>> IRP_MJ_PNP:IRP_MN_QUERY_DEVICE_RELATIONS is received by the bus driver.
>>  That way, I/O devices can be discovered when users click the "rescan
>> hardware" button in the device manager, but otherwise things stay quiet.
>> 
>> Longer term, we would probably want some configuration tools to
>> discover and configure I/O devices.  I believe there's already some
>> logic in the bus driver to configure devices statically (at the very
>> least this is how IPoIB is reported, but I thought this was extended to
>> support Xsigo), so we're probably just missing tools for
>> discovery/management of those static entries.
>> 
>> -Fab
>> 
>>> _______________________________________________ ofw mailing list
>>> ofw at lists.openfabrics.org
>>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>> _______________________________________________
>> ofw mailing list
>> ofw at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw



More information about the ofw mailing list