NetAdapterOffloadSetLsoCapabilities function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NetAdapterOffloadSetLsoCapabilities method sets the hardware large send offload (LSO) offload capabilities of a network adapter.

Syntax

void NetAdapterOffloadSetLsoCapabilities(
  NETADAPTER                           Adapter,
  NET_ADAPTER_OFFLOAD_LSO_CAPABILITIES *HardwareCapabilities
);

Parameters

Adapter

A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.

HardwareCapabilities

A pointer to a driver-allocated and initialized NET_ADAPTER_OFFLOAD_LSO_CAPABILITIES structure that describes the hardware's LSO offload capabilities.

Return Value

This method does not return a value.

Remarks

Client drivers typically call this method from within their EvtDevicePrepareHardware callback, but must call this method before calling NetAdapterStart.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.29
Header netadapter.h
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See Also

NetAdapterCx hardware offloads

NetAdapterCreate

NET_ADAPTER_OFFLOAD_LSO_CAPABILITIES

NET_ADAPTER_OFFLOAD_LSO_CAPABILITIES_INIT

EVT_NET_ADAPTER_OFFLOAD_SET_LSO

NetAdapterStart