Windows OS is not setting *SriovPreferred value to 1 for NDIS SRIOV PF drv

Hello All,

I am writing the NDIS PF SRIOV driver…
So can any one tell me the reason why OS is not setting the *SriovPreferred = 1 ?

I have implemented the logic of determining which interface to enable based on registry setting *SriovPreferred and *RssOrVmqPreference …

So the logic works fine when i am creating the VMQ switch… so when i create a VMQ switch using hyper-V manager, OS first sets *RssOrVmqPreference =1 and then halts the miniport driver then calls MpInitiallize…

But when i try creating a SR-IOV based switch OS is not setting the *SriovPreferred = 1, it just sets the *RssOrVmqPreference=1. NDIS stack never calls the miniport halt function …
because of which the OID OID_NIC_SWITCH_CREATE_SWITCH…

If i ignore *SriovPreferred registry and by default consider the SRIOV interface is enabled…then i get the call for OID OID_NIC_SWITCH_CREATE_SWITCH

So can any one tell me the reason why OS is not setting the *SriovPreferred = 1 ?

regards,
j