NDK_FN_FLUSH routine

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 NdkFlush;

VOID NdkFlush(
  _In_  NDK_QP *pNdkQp
)
{ ... }

Parameters

pNdkQp [in]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Version

Supported in NDIS 6.30 and later.

Header

Ndkpi.h (include Ndkpi.h)

IRQL

<=DISPATCH_LEVEL

See also

NDK_QP

 

 

Send comments about this topic to Microsoft

Mostra:
© 2014 Microsoft