Reporting a NIC's Connection Offload Capabilities

An NDIS miniport driver specifies the current connection offload configuration of a NIC in an NDIS_TCP_CONNECTION_OFFLOAD structure. Miniport drivers must include the current connection offload configuration in the NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES structure. Miniport drivers call the NdisMSetMiniportAttributes function from the MiniportInitializeEx function and pass in the information in NDIS_MINIPORT_TCP_CONNECTION_OFFLOAD_ATTRIBUTES.

Miniport drivers must report changes in the connection offload capabilities. The drivers request the stack to pause and upload all of the connections by issuing an status indication. (For information on NDIS_STATUS_OFFLOAD_PAUSE, see Full TCP Offload.) After any configuration changes are complete, the drivers request the stack to restart and re-query the miniport adapter's offload capabilities by issuing an status indication. (For information on NDIS_STATUS_OFFLOAD_RESUME, see Full TCP Offload.)

In response to a query of OID_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG, NDIS returns the NDIS_TCP_CONNECTION_OFFLOAD structure in the InformationBuffer member of the NDIS_OID_REQUEST structure. NDIS uses the information that the miniport driver provided.

For more information about specifying connection offload capabilities, see Initializing an Offload Target in the NDIS 6.0 TCP chimney offload documentation.