NetOffloadIsLsoIPv4Enabled function

The NetOffloadIsLsoIPv4Enabled method determines whether a net adapter has LSO offload enabled for IPv4 packets.

Syntax

BOOLEAN NetOffloadIsLsoIPv4Enabled(
  NETOFFLOAD Offload
);

Parameters

Offload

A NETOFFLOAD object that represents the net adapter's LSO capabilities.

Return Value

Returns TRUE if LSO offload is enabled for IPv4 packets, or FALSE if it is not.

Remarks

Client drivers typically call this method during their EvtNetAdapterOffloadSetLso callback to test whether an updated set of active LSO capabilities includes LSO offload for IPv4 packets.

Requirements

   
Minimum KMDF version 1.29
Header netadapteroffload.h
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See Also

NetAdapterCx hardware offloads

EVT_NET_ADAPTER_OFFLOAD_SET_LSO