EVT_NET_ADAPTER_OFFLOAD_SET_GSO callback function (netadapteroffload.h)

The client driver implements the EvtNetAdapterOffloadSetGso callback function to query changes in active Generic Segmentation Offload (GSO) capabilities and update the hardware settings accordingly.

Syntax

EVT_NET_ADAPTER_OFFLOAD_SET_GSO EvtNetAdapterOffloadSetGso;

void EvtNetAdapterOffloadSetGso(
  [_In_] NETADAPTER Adapter,
  [_In_] NETOFFLOAD Offload
)
{...}

Parameters

[_In_] Adapter

A handle to a NETADAPTER object the client driver previously created with a call to NetAdapterCreate.

[_In_] Offload

A handle to a NETOFFLOAD object that describes the adapter's offload capabilities.

Return value

None

Remarks

Register your implementation of this callback function by setting the appropriate parameter when calling NetAdapterOffloadSetGsoCapabilities.

For an example implementation of this callback, see Generic Segmentation Offload.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Target Platform Universal
Minimum KMDF version 1.29
Header netadapteroffload.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL

See also

Generic Segmentation Offload

NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES

NetAdapterOffloadSetGsoCapabilities

NET_ADAPTER_OFFLOAD_GSO_CAPABILITIES_INIT