Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Question on using NdisMQueueDpcEx and Filter Resource requirements in a NDIS miniport driver

AneeshSAneeshS Member Posts: 9

If the MessageId in NdisMQueueDpcEx is tied to only one processor (during Filter Resource requirements), does setting multiple processors in the 3rd parameter of NdisMQueueDpcEx make sense?.

I want to queue a DPC to more than one CPU and since my driver binds one message Id to one CPU, I am thinking I have to issue this call once per CPU per DPC. Or is there a better way of one-shot sending a DPC to a set of CPUs?.

I am also trying to understand IRP_FILTER_RESOURCE_REQUIREMENTS and how to implement it especially in the context of a Ndis Miniport driver.

if my PCie function / NIC only supports 128 MSI-X vectors, I understand NDIS might give me less than this on entry to IRP_FILTER_RESOURCE_REQUIREMENTS. Does it make sense to request more than what my PCie device supports?. I know I can request more (may be to have one message ID per CPU) but will NDIS honor that request?.

Thanks,
AneeshS

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 12 September 2022 Live, Online
Internals & Software Drivers 23 October 2022 Live, Online
Kernel Debugging 14 November 2022 Live, Online
Developing Minifilters 5 December 2022 Live, Online