Question on the NDIS API NdisMAllocateNetBufferSGList API
Should this API be only called from within the context of the thread that calls MiniportSendNetBufferLists?.
What I mean is that should the NDIS API be called only after the miniport’s MiniportSendNetBufferLists() is called but before it returns?.
Or is it ok for me to store the NBL in some driver owned list and have a deferred context (timer callback, another thread) call NdisMAllocateNetBufferSGList?.
The documentation here seems to imply that the NDIS API is called only from MiniportSendNetBufferLists. I just am not sure if the wording is strong enough that this NDIS API cannot be called from anywhere else.
Thanks,
RK