Querying a miniport offload config?

What win7 tool can I use to determine whether an adapter has enabled
offloading?

Device manager doesn’t seem to help… Is there something else?

Thanks,
-PWM

This can often be accessed using the Network Control Panel. Select the
adapter, right click the icon, press Configure then look under the Advanced
tab.

Thomas


From: “Peter W. Morreale”
Sent: Thursday, March 18, 2010 6:15 PM
To: “Windows System Software Devs Interest List”
Subject: [ntdev] Querying a miniport offload config?

>
> What win7 tool can I use to determine whether an adapter has enabled
> offloading?
>
> Device manager doesn’t seem to help… Is there something else?
>
> Thanks,
> -PWM
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

On Thu, 2010-03-18 at 18:20 -0400, Thomas F. Divine wrote:

This can often be accessed using the Network Control Panel. Select the
adapter, right click the icon, press Configure then look under the Advanced
tab.

Thomas

Hummm… I don’t see anything here. My understanding was that an
adapter got the advanced tab only if there some some settable registery
options.

Silly question… Does the install of a miniport need to change/set
some registry settings to enable offload?

Thanks,
-PWM


From: “Peter W. Morreale”
> Sent: Thursday, March 18, 2010 6:15 PM
> To: “Windows System Software Devs Interest List”
> Subject: [ntdev] Querying a miniport offload config?
>
> >
> > What win7 tool can I use to determine whether an adapter has enabled
> > offloading?
> >
> > Device manager doesn’t seem to help… Is there something else?
> >
> > Thanks,
> > -PWM
> >
> >
> >
> > —
> > NTDEV is sponsored by OSR
> >
> > For our schedule of WDF, WDM, debugging and other seminars visit:
> > http://www.osr.com/seminars
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> > http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

The WDK documentation has topics on offload.

On pre-Vista platforms there is an OID that a protocol (Ok: TCP/IP) can make
to fetch the miniport’s offload capabilities. There are other OIDs that are
exchanged to enable selected offload capabilities. And, then the OOB in the
packets if offload features are enabled.

On Vista and later offload is managed differently. But in all cases the
miniport offers its capabilities and the protocol optionally selects and
uses features.

On both platforms filter drivers can tinker with offload by modifying OID
requests and responses.

The information on the Advanced page is created by the adapter vendor. It
isn’t auto-magically created by the system based in INF settings.

Good luck,

Thomas F. Divine
http://www.rawether.net


From: “Peter W. Morreale”
Sent: Thursday, March 18, 2010 7:10 PM
To: “Windows System Software Devs Interest List”
Subject: Re: [ntdev] Querying a miniport offload config?

> On Thu, 2010-03-18 at 18:20 -0400, Thomas F. Divine wrote:
>> This can often be accessed using the Network Control Panel. Select the
>> adapter, right click the icon, press Configure then look under the
>> Advanced
>> tab.
>>
>> Thomas
>>
>
> Hummm… I don’t see anything here. My understanding was that an
> adapter got the advanced tab only if there some some settable registery
> options.
>
> Silly question… Does the install of a miniport need to change/set
> some registry settings to enable offload?
>
> Thanks,
> -PWM
>
>
>> --------------------------------------------------
>> From: “Peter W. Morreale”
>> Sent: Thursday, March 18, 2010 6:15 PM
>> To: “Windows System Software Devs Interest List”
>> Subject: [ntdev] Querying a miniport offload config?
>>
>> >
>> > What win7 tool can I use to determine whether an adapter has enabled
>> > offloading?
>> >
>> > Device manager doesn’t seem to help… Is there something else?
>> >
>> > Thanks,
>> > -PWM
>> >
>> >
>> >
>> > —
>> > NTDEV is sponsored by OSR
>> >
>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>> > http://www.osr.com/seminars
>> >
>> > To unsubscribe, visit the List Server section of OSR Online at
>> > http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

I create the advanced settings tab variables automagically via the inf
file for my ndis adapter

Sent from my iPhone

On 19/03/2010, at 10:36, “Thomas F. Divine” wrote:

> The WDK documentation has topics on offload.
>
> On pre-Vista platforms there is an OID that a protocol (Ok: TCP/IP)
> can make to fetch the miniport’s offload capabilities. There are
> other OIDs that are exchanged to enable selected offload
> capabilities. And, then the OOB in the packets if offload features
> are enabled.
>
> On Vista and later offload is managed differently. But in all cases
> the miniport offers its capabilities and the protocol optionally
> selects and uses features.
>
> On both platforms filter drivers can tinker with offload by
> modifying OID requests and responses.
>
> The information on the Advanced page is created by the adapter
> vendor. It isn’t auto-magically created by the system based in INF
> settings.
>
> Good luck,
>
> Thomas F. Divine
> http://www.rawether.net
>
>
> --------------------------------------------------
> From: “Peter W. Morreale”
> Sent: Thursday, March 18, 2010 7:10 PM
> To: “Windows System Software Devs Interest List”
> Subject: Re: [ntdev] Querying a miniport offload config?
>
>> On Thu, 2010-03-18 at 18:20 -0400, Thomas F. Divine wrote:
>>> This can often be accessed using the Network Control Panel. Select
>>> the
>>> adapter, right click the icon, press Configure then look under the
>>> Advanced
>>> tab.
>>>
>>> Thomas
>>>
>>
>> Hummm… I don’t see anything here. My understanding was that an
>> adapter got the advanced tab only if there some some settable
>> registery
>> options.
>>
>> Silly question… Does the install of a miniport need to change/set
>> some registry settings to enable offload?
>>
>> Thanks,
>> -PWM
>>
>>
>>> --------------------------------------------------
>>> From: “Peter W. Morreale”
>>> Sent: Thursday, March 18, 2010 6:15 PM
>>> To: “Windows System Software Devs Interest List” >>> >
>>> Subject: [ntdev] Querying a miniport offload config?
>>>
>>> >
>>> > What win7 tool can I use to determine whether an adapter has
>>> enabled
>>> > offloading?
>>> >
>>> > Device manager doesn’t seem to help… Is there something else?
>>> >
>>> > Thanks,
>>> > -PWM
>>> >
>>> >
>>> >
>>> > —
>>> > NTDEV is sponsored by OSR
>>> >
>>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>>> > http://www.osr.com/seminars
>>> >
>>> > To unsubscribe, visit the List Server section of OSR Online at
>>> > http://www.osronline.com/page.cfm?name=ListServer
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Well, sure. There are INF facilities that will paint information, lists, etc
in the property page.

But, in the specific context of managing adapter/miniport capabilities the
stuff from the INF is ad-hoc information invented by the INF writer. As far
as I know there isn’t a system contract that says if you have an
offload-capable adapter just put in these entries and the system will
control your adapter.

I think that you must have some proprietary backing code that notices the
changes to information of your invention and communicates with the miniport
to make the changes (read the registry again, whatever…).

So. Half auto-magic, but not a system contract AFAIK.

Thomas F. Divine


From: “James Harper”
Sent: Thursday, March 18, 2010 7:52 PM
To: “Windows System Software Devs Interest List”
Cc: “Windows System Software Devs Interest List”
Subject: Re: [ntdev] Querying a miniport offload config?

> I create the advanced settings tab variables automagically via the inf
> file for my ndis adapter
>
> Sent from my iPhone
>
> On 19/03/2010, at 10:36, “Thomas F. Divine” wrote:
>
>> The WDK documentation has topics on offload.
>>
>> On pre-Vista platforms there is an OID that a protocol (Ok: TCP/IP) can
>> make to fetch the miniport’s offload capabilities. There are other OIDs
>> that are exchanged to enable selected offload capabilities. And, then
>> the OOB in the packets if offload features are enabled.
>>
>> On Vista and later offload is managed differently. But in all cases the
>> miniport offers its capabilities and the protocol optionally selects and
>> uses features.
>>
>> On both platforms filter drivers can tinker with offload by modifying
>> OID requests and responses.
>>
>> The information on the Advanced page is created by the adapter vendor.
>> It isn’t auto-magically created by the system based in INF settings.
>>
>> Good luck,
>>
>> Thomas F. Divine
>> http://www.rawether.net
>>
>>
>> --------------------------------------------------
>> From: “Peter W. Morreale”
>> Sent: Thursday, March 18, 2010 7:10 PM
>> To: “Windows System Software Devs Interest List”
>> Subject: Re: [ntdev] Querying a miniport offload config?
>>
>>> On Thu, 2010-03-18 at 18:20 -0400, Thomas F. Divine wrote:
>>>> This can often be accessed using the Network Control Panel. Select the
>>>> adapter, right click the icon, press Configure then look under the
>>>> Advanced
>>>> tab.
>>>>
>>>> Thomas
>>>>
>>>
>>> Hummm… I don’t see anything here. My understanding was that an
>>> adapter got the advanced tab only if there some some settable registery
>>> options.
>>>
>>> Silly question… Does the install of a miniport need to change/set
>>> some registry settings to enable offload?
>>>
>>> Thanks,
>>> -PWM
>>>
>>>
>>>> --------------------------------------------------
>>>> From: “Peter W. Morreale”
>>>> Sent: Thursday, March 18, 2010 6:15 PM
>>>> To: “Windows System Software Devs Interest List” >>>> >
>>>> Subject: [ntdev] Querying a miniport offload config?
>>>>
>>>> >
>>>> > What win7 tool can I use to determine whether an adapter has
>>>> enabled
>>>> > offloading?
>>>> >
>>>> > Device manager doesn’t seem to help… Is there something else?
>>>> >
>>>> > Thanks,
>>>> > -PWM
>>>> >
>>>> >
>>>> >
>>>> > —
>>>> > NTDEV is sponsored by OSR
>>>> >
>>>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>>>> > http://www.osr.com/seminars
>>>> >
>>>> > To unsubscribe, visit the List Server section of OSR Online at
>>>> > http://www.osronline.com/page.cfm?name=ListServer
>>>>
>>>>
>>>> —
>>>> NTDEV is sponsored by OSR
>>>>
>>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>>> http://www.osr.com/seminars
>>>>
>>>> To unsubscribe, visit the List Server section of OSR Online at
>>>> http://www.osronline.com/page.cfm?name=ListServer
>>>
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

On Thu, 2010-03-18 at 20:39 -0400, Thomas F. Divine wrote:

Well, sure. There are INF facilities that will paint information, lists, etc
in the property page.

But, in the specific context of managing adapter/miniport capabilities the
stuff from the INF is ad-hoc information invented by the INF writer. As far
as I know there isn’t a system contract that says if you have an
offload-capable adapter just put in these entries and the system will
control your adapter.

That’s kinda what I figgered. I was looking for some Win tool that
could query the adapter. IIUC, from the reading, WMI can do that, no
doubt provided that the author enabled WMI in the driver.

I asked only because way back, I found that you needed to set some
registry values to enable MSI. Thought maybe this was the same.

At any rate, I’m unable to get my adapter correctly initialized with my
offload patches in. I’m still parsing the online docs and the
samples.

I set the attributes (encapsulation, TCP ipv4 tx and rx checksums, all
else not supported) during init and I do get the encapsulation OID sent
down, but the Network Center Window thingie never changes from the
"initializing’ state.

I’m probably missing something blatantly obvious.

I’m not sure what I’m looking for yet so I’m not sure what question(s)
to ask. All I know is, the weeds are deep and I’m in the middle of
them. :wink:

(Without the offload patch, the adapter works fine…)

Best,
-PWM

I believe you might look in “netsh”. I seem to remember some commands in there related to controlling some offloads.

Jan

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-405411-
xxxxx@lists.osr.com] On Behalf Of Peter W. Morreale
Sent: Thursday, March 18, 2010 3:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Querying a miniport offload config?

What win7 tool can I use to determine whether an adapter has enabled
offloading?

Device manager doesn’t seem to help… Is there something else?

Thanks,
-PWM

OIDScope at http://pcausa.com/Utilities/ndistools.htm can be used to query
the settings.

For example, query on OID_TCP_OFFLOAD_CAPABILITIES.

That version is a little old. If there’s stuff missing let me know.

Thomas F. Divine
http://www.pcausa.com


From: “Peter W. Morreale”
Sent: Thursday, March 18, 2010 9:31 PM
To: “Windows System Software Devs Interest List”
Subject: Re: [ntdev] Querying a miniport offload config?

> On Thu, 2010-03-18 at 20:39 -0400, Thomas F. Divine wrote:
>> Well, sure. There are INF facilities that will paint information, lists,
>> etc
>> in the property page.
>>
>> But, in the specific context of managing adapter/miniport capabilities
>> the
>> stuff from the INF is ad-hoc information invented by the INF writer. As
>> far
>> as I know there isn’t a system contract that says if you have an
>> offload-capable adapter just put in these entries and the system will
>> control your adapter.
>>
>
> That’s kinda what I figgered. I was looking for some Win tool that
> could query the adapter. IIUC, from the reading, WMI can do that, no
> doubt provided that the author enabled WMI in the driver.
>
> I asked only because way back, I found that you needed to set some
> registry values to enable MSI. Thought maybe this was the same.
>
> At any rate, I’m unable to get my adapter correctly initialized with my
> offload patches in. I’m still parsing the online docs and the
> samples.
>
> I set the attributes (encapsulation, TCP ipv4 tx and rx checksums, all
> else not supported) during init and I do get the encapsulation OID sent
> down, but the Network Center Window thingie never changes from the
> "initializing’ state.
>
> I’m probably missing something blatantly obvious.
>
> I’m not sure what I’m looking for yet so I’m not sure what question(s)
> to ask. All I know is, the weeds are deep and I’m in the middle of
> them. :wink:
>
> (Without the offload patch, the adapter works fine…)
>
> Best,
> -PWM
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

On Thu, 2010-03-18 at 22:11 -0400, Thomas F. Divine wrote:

OIDScope at http://pcausa.com/Utilities/ndistools.htm can be used to query
the settings.

For example, query on OID_TCP_OFFLOAD_CAPABILITIES.

That version is a little old. If there’s stuff missing let me know.

Oh Jeez… My generic oid handling seems awry in some places. It
would appear that I am not correctly setting the read/write lengths
correctly.

Thank you for the tool!!

Btw: there seems to be several oids that it does not recognize for ndis
6.0.

ox00010213
0xFD010108
0xFD010107
0xFD01010C
0xFD010110

0x00010220
1
5
9
A
2
6

(no cut&paste :wink:

Thank you again!

-PWM

Thomas F. Divine
http://www.pcausa.com


From: “Peter W. Morreale”
> Sent: Thursday, March 18, 2010 9:31 PM
> To: “Windows System Software Devs Interest List”
> Subject: Re: [ntdev] Querying a miniport offload config?
>
> > On Thu, 2010-03-18 at 20:39 -0400, Thomas F. Divine wrote:
> >> Well, sure. There are INF facilities that will paint information, lists,
> >> etc
> >> in the property page.
> >>
> >> But, in the specific context of managing adapter/miniport capabilities
> >> the
> >> stuff from the INF is ad-hoc information invented by the INF writer. As
> >> far
> >> as I know there isn’t a system contract that says if you have an
> >> offload-capable adapter just put in these entries and the system will
> >> control your adapter.
> >>
> >
> > That’s kinda what I figgered. I was looking for some Win tool that
> > could query the adapter. IIUC, from the reading, WMI can do that, no
> > doubt provided that the author enabled WMI in the driver.
> >
> > I asked only because way back, I found that you needed to set some
> > registry values to enable MSI. Thought maybe this was the same.
> >
> > At any rate, I’m unable to get my adapter correctly initialized with my
> > offload patches in. I’m still parsing the online docs and the
> > samples.
> >
> > I set the attributes (encapsulation, TCP ipv4 tx and rx checksums, all
> > else not supported) during init and I do get the encapsulation OID sent
> > down, but the Network Center Window thingie never changes from the
> > "initializing’ state.
> >
> > I’m probably missing something blatantly obvious.
> >
> > I’m not sure what I’m looking for yet so I’m not sure what question(s)
> > to ask. All I know is, the weeds are deep and I’m in the middle of
> > them. :wink:
> >
> > (Without the offload patch, the adapter works fine…)
> >
> > Best,
> > -PWM
> >
> >
> > —
> > NTDEV is sponsored by OSR
> >
> > For our schedule of WDF, WDM, debugging and other seminars visit:
> > http://www.osr.com/seminars
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> > http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Well, I’m not surprised. That’s a 2006 version I think, and not up to date.
I’ll think about updating it while job hunting… :slight_smile:

I have a much more intrusive tool that inserts a NDIS 6 filter. It can log
NDIS requests and responses and they go down and back up the stack as well
as miniport status indications. (not to mention monitoring packets…). The
monitoring can be above or below any component an a stack. Not quite ready
to let it into the wild, though…

Thomas F. Divine
http://www.pcausa.com


From: “Peter W. Morreale”
Sent: Thursday, March 18, 2010 10:40 PM
To: “Windows System Software Devs Interest List”
Subject: Re: [ntdev] Querying a miniport offload config?

> On Thu, 2010-03-18 at 22:11 -0400, Thomas F. Divine wrote:
>> OIDScope at http://pcausa.com/Utilities/ndistools.htm can be used to
>> query
>> the settings.
>>
>> For example, query on OID_TCP_OFFLOAD_CAPABILITIES.
>>
>> That version is a little old. If there’s stuff missing let me know.
>>
>
> Oh Jeez… My generic oid handling seems awry in some places. It
> would appear that I am not correctly setting the read/write lengths
> correctly.
>
> Thank you for the tool!!
>
> Btw: there seems to be several oids that it does not recognize for ndis
> 6.0.
>
> ox00010213
> 0xFD010108
> 0xFD010107
> 0xFD01010C
> 0xFD010110
>
> 0x00010220
> 1
> 5
> 9
> A
> 2
> 6
>
> (no cut&paste :wink:
>
> Thank you again!
>
> -PWM
>
>> Thomas F. Divine
>> http://www.pcausa.com
>>
>> --------------------------------------------------
>> From: “Peter W. Morreale”
>> Sent: Thursday, March 18, 2010 9:31 PM
>> To: “Windows System Software Devs Interest List”
>> Subject: Re: [ntdev] Querying a miniport offload config?
>>
>> > On Thu, 2010-03-18 at 20:39 -0400, Thomas F. Divine wrote:
>> >> Well, sure. There are INF facilities that will paint information,
>> >> lists,
>> >> etc
>> >> in the property page.
>> >>
>> >> But, in the specific context of managing adapter/miniport capabilities
>> >> the
>> >> stuff from the INF is ad-hoc information invented by the INF writer.
>> >> As
>> >> far
>> >> as I know there isn’t a system contract that says if you have an
>> >> offload-capable adapter just put in these entries and the system will
>> >> control your adapter.
>> >>
>> >
>> > That’s kinda what I figgered. I was looking for some Win tool that
>> > could query the adapter. IIUC, from the reading, WMI can do that, no
>> > doubt provided that the author enabled WMI in the driver.
>> >
>> > I asked only because way back, I found that you needed to set some
>> > registry values to enable MSI. Thought maybe this was the same.
>> >
>> > At any rate, I’m unable to get my adapter correctly initialized with
>> > my
>> > offload patches in. I’m still parsing the online docs and the
>> > samples.
>> >
>> > I set the attributes (encapsulation, TCP ipv4 tx and rx checksums, all
>> > else not supported) during init and I do get the encapsulation OID sent
>> > down, but the Network Center Window thingie never changes from the
>> > "initializing’ state.
>> >
>> > I’m probably missing something blatantly obvious.
>> >
>> > I’m not sure what I’m looking for yet so I’m not sure what question(s)
>> > to ask. All I know is, the weeds are deep and I’m in the middle of
>> > them. :wink:
>> >
>> > (Without the offload patch, the adapter works fine…)
>> >
>> > Best,
>> > -PWM
>> >
>> >
>> > —
>> > NTDEV is sponsored by OSR
>> >
>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>> > http://www.osr.com/seminars
>> >
>> > To unsubscribe, visit the List Server section of OSR Online at
>> > http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

I have posted OIDScope V6.0.2003 which includes a few more OID definitions.

A few are still missing. Sorry.

Thomas F. Divine
http://www.pcausa.com


From: “Thomas F. Divine”
Sent: Thursday, March 18, 2010 11:19 PM
To: “Windows System Software Devs Interest List”
Subject: Re: [ntdev] Querying a miniport offload config?

> Well, I’m not surprised. That’s a 2006 version I think, and not up to
> date.
> I’ll think about updating it while job hunting… :slight_smile:
>
> I have a much more intrusive tool that inserts a NDIS 6 filter. It can log
> NDIS requests and responses and they go down and back up the stack as well
> as miniport status indications. (not to mention monitoring packets…).
> The
> monitoring can be above or below any component an a stack. Not quite ready
> to let it into the wild, though…
>
> Thomas F. Divine
> http://www.pcausa.com
>
> --------------------------------------------------
> From: “Peter W. Morreale”
> Sent: Thursday, March 18, 2010 10:40 PM
> To: “Windows System Software Devs Interest List”
> Subject: Re: [ntdev] Querying a miniport offload config?
>
>> On Thu, 2010-03-18 at 22:11 -0400, Thomas F. Divine wrote:
>>> OIDScope at http://pcausa.com/Utilities/ndistools.htm can be used to
>>> query
>>> the settings.
>>>
>>> For example, query on OID_TCP_OFFLOAD_CAPABILITIES.
>>>
>>> That version is a little old. If there’s stuff missing let me know.
>>>
>>
>> Oh Jeez… My generic oid handling seems awry in some places. It
>> would appear that I am not correctly setting the read/write lengths
>> correctly.
>>
>> Thank you for the tool!!
>>
>> Btw: there seems to be several oids that it does not recognize for ndis
>> 6.0.
>>
>> ox00010213
>> 0xFD010108
>> 0xFD010107
>> 0xFD01010C
>> 0xFD010110
>>
>> 0x00010220
>> 1
>> 5
>> 9
>> A
>> 2
>> 6
>>
>> (no cut&paste :wink:
>>
>> Thank you again!
>>
>> -PWM
>>
>>> Thomas F. Divine
>>> http://www.pcausa.com
>>>
>>> --------------------------------------------------
>>> From: “Peter W. Morreale”
>>> Sent: Thursday, March 18, 2010 9:31 PM
>>> To: “Windows System Software Devs Interest List”
>>> Subject: Re: [ntdev] Querying a miniport offload config?
>>>
>>> > On Thu, 2010-03-18 at 20:39 -0400, Thomas F. Divine wrote:
>>> >> Well, sure. There are INF facilities that will paint information,
>>> >> lists,
>>> >> etc
>>> >> in the property page.
>>> >>
>>> >> But, in the specific context of managing adapter/miniport
>>> >> capabilities
>>> >> the
>>> >> stuff from the INF is ad-hoc information invented by the INF writer.
>>> >> As
>>> >> far
>>> >> as I know there isn’t a system contract that says if you have an
>>> >> offload-capable adapter just put in these entries and the system will
>>> >> control your adapter.
>>> >>
>>> >
>>> > That’s kinda what I figgered. I was looking for some Win tool that
>>> > could query the adapter. IIUC, from the reading, WMI can do that, no
>>> > doubt provided that the author enabled WMI in the driver.
>>> >
>>> > I asked only because way back, I found that you needed to set some
>>> > registry values to enable MSI. Thought maybe this was the same.
>>> >
>>> > At any rate, I’m unable to get my adapter correctly initialized with
>>> > my
>>> > offload patches in. I’m still parsing the online docs and the
>>> > samples.
>>> >
>>> > I set the attributes (encapsulation, TCP ipv4 tx and rx checksums, all
>>> > else not supported) during init and I do get the encapsulation OID
>>> > sent
>>> > down, but the Network Center Window thingie never changes from the
>>> > "initializing’ state.
>>> >
>>> > I’m probably missing something blatantly obvious.
>>> >
>>> > I’m not sure what I’m looking for yet so I’m not sure what question(s)
>>> > to ask. All I know is, the weeds are deep and I’m in the middle of
>>> > them. :wink:
>>> >
>>> > (Without the offload patch, the adapter works fine…)
>>> >
>>> > Best,
>>> > -PWM
>>> >
>>> >
>>> > —
>>> > NTDEV is sponsored by OSR
>>> >
>>> > For our schedule of WDF, WDM, debugging and other seminars visit:
>>> > http://www.osr.com/seminars
>>> >
>>> > To unsubscribe, visit the List Server section of OSR Online at
>>> > http://www.osronline.com/page.cfm?name=ListServer
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer