NdisMInitiateOffloadComplete function

[The TCP chimney offload feature is deprecated and should not be used.]

An offload target calls the NdisMInitiateOffloadComplete function to complete an offload operation that was initiated by a previous call to the MiniportInitiateOffload function.

Syntax

VOID NdisMInitiateOffloadComplete(
  _In_ NDIS_HANDLE                       NdisMiniportHandle,
  _In_ PNDIS_MINIPORT_OFFLOAD_BLOCK_LIST OffloadBlockList
);

Parameters

NdisMiniportHandle

The handle that the offload target obtained in a previous call to NdisMRegisterMiniportDriver.

OffloadBlockList

A pointer to an NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure. The offload target obtained this pointer as an input parameter to its MiniportInitiateOffload function.

Return Value

None

Remarks

Before calling NdisMInitiateOffloadComplete, the offload target must write one of the following NDIS_STATUS values to the Status member of each NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure in the state tree passed to the offload target's MiniportInitiateOffload function:

  • NDIS_STATUS_SUCCESS

  • NDIS_STATUS_PARTIAL_SUCCESS

  • NDIS_STATUS_RESOURCES

  • NDIS_STATUS_OFFLOAD_TCP_ENTRIES

  • NDIS_STATUS_OFFLOAD_PATH_ENTRIES

  • NDIS_STATUS_OFFLOAD_NEIGHBOR_ENTRIES

  • NDIS_STATUS_OFFLOAD_HW_ADDRESS_ENTRIES

  • NDIS_STATUS_OFFLOAD_IP_ADDRESS_ENTRIES

  • NDIS_STATUS_OFFLOAD_TCP_XMIT_BUFFER

  • NDIS_STATUS_OFFLOAD_TCP_RCV_BUFFER

  • NDIS_STATUS_OFFLOAD_TCP_RCV_WINDOW

  • NDIS_STATUS_OFFLOAD_VLAN_ENTRIES

  • NDIS_STATUS_OFFLOAD_PATH_MTU

  • NDIS_STATUS_FAILURE

For more information, see Returning Completion Status of an Initiate Offload Operation.

Requirements

   
Target Platform Universal
Header ndischimney.h (include Ndischimney.h)
Library NtosKrnl.exe
IRQL Any level

See Also

NdisMRegisterMiniportDriver

OID_TCP_TASK_OFFLOAD

NdisTcpOffloadReceiveHandler

NDIS_MINIPORT_OFFLOAD_BLOCK_LIST

MiniportInitiateOffload

MiniportInitiateOffload

Send comments about this topic to Microsoft