NDK_FN_FLUSH callback function (ndkpi.h)
The NdkFlush (NDK_FN_FLUSH) function initiates cancelling of the receive and the initiator queue requests that are currently pending on an NDK queue pair (QP) object.
Syntax
NDK_FN_FLUSH NdkFnFlush;
void NdkFnFlush(
[in] NDK_QP *pNdkQp
)
{...}
Parameters
[in] pNdkQp
A pointer to an NDK queue pair (QP) object (NDK_QP).
Return value
None
Remarks
NdkFlush cancels the receive and the initiator queue requests that are currently pending on a QP. The flushed requests have STATUS_CANCELLED as completion status.
If the NDK consumer wants to verify that all of the requests are flushed after issuing NdkFlush, the consumer must empty the CQ until it sees completions for all requests that were queued prior to calling NdkFlush.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported,Supported in NDIS 6.30 and later. |
Minimum supported server | Windows ServerĀ 2012 |
Target Platform | Windows |
Header | ndkpi.h (include Ndkpi.h) |
IRQL | <=DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for