NDIS630 SRIOV switch capabilities registration

Hello All,

Currently i am working on NDIS SRIOV driver… I am facing a issue while reporting its full set of hardware NIC switch capabilities.

While reporting the switch capabilities [NDIS_NIC_SWITCH_CAPABILITIES],When i make a call to NdisMSetMiniportAttributes it is returning NDIS_STATUS_BAD_CHARACTERISTICS…

but when i make a call for reporting the hardware SR-IOV capabilities, the function NdisMSetMiniportAttributes returns success …

So, can some body help me on this ?

regards,
Jagadish Hadimani

If you are getting NDIS_STATUS_BAD_CHARACTERISTICS when calling NdisMSetMiniportAttributes(NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES) with an NDIS_NIC_SWITCH_CAPABILITIES, then the problem is that you’ve already set the NIC switch capabilities in a previous call to the same API.

When you indicate SR-IOV capability, you can make a single call to NdisMSetMiniportAttributes with both the NIC switch capabilities and the SRIOV capabilities. It will not work to make two calls, the first with just NIC switch capabilities, and the second with both NIC switch and SRIOV capabilities (since that attempts to set the NIC switch capabilities twice).

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, November 15, 2012 6:41 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NDIS630 SRIOV switch capabilities registration

Hello All,

Currently i am working on NDIS SRIOV driver… I am facing a issue while reporting its full set of hardware NIC switch capabilities.

While reporting the switch capabilities [NDIS_NIC_SWITCH_CAPABILITIES],When i make a call to NdisMSetMiniportAttributes it is returning NDIS_STATUS_BAD_CHARACTERISTICS…

but when i make a call for reporting the hardware SR-IOV capabilities, the function NdisMSetMiniportAttributes returns success …

So, can some body help me on this ?

regards,
Jagadish Hadimani


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