NDK_FN_SRQ_RECEIVE callback function

The NdkSrqReceive (NDK_FN_SRQ_RECEIVE) function posts a receive request on an NDK shared receive queue (SRQ).

Syntax

NDK_FN_SRQ_RECEIVE NdkFnSrqReceive;

NTSTATUS NdkFnSrqReceive(
  NDK_SRQ *pNdkSrq,
  PVOID RequestContext,
  CONST NDK_SGE,
  ULONG nSge
)
{...}

Parameters

*pNdkSrq

A pointer to an NDK shared receive queue (SRQ) object (NDK_SRQ).

RequestContext

A context value to be returned in the RequestContext member of the NDK_RESULT structure for this request.

NDK_SGE

nSge

The number of SGE structures in the array that is specified in the pSgl parameter.

Return Value

The NdkSrqReceive function returns one of the following NTSTATUS codes.

Return code Description
STATUS_SUCCESS
The receive request was posted successfully. A completion entry will be queued to the completion queue (CQ) when the request is completed.
Other status codes
An error occurred.

Remarks

NdkSrqReceive posts a receive request to a shared receive queue (SRQ).

Requirements

   
Windows version None supported,Supported in NDIS 6.30 and later. Windows Server 2012
Target Platform Windows
Header ndkpi.h (include Ndkpi.h)
IRQL "<=DISPATCH_LEVEL"

See Also

NDK_RESULT

NDK_SGE

NDK_SRQ