Bewerken

Delen via


NetAdapterOffloadSetRscCapabilities function (netadapteroffload.h)

The NetAdapterOffloadSetRscCapabilities function sets the hardware receive segment coalescence (RSC) offload capabilities of a network adapter.

Syntax

void NetAdapterOffloadSetRscCapabilities(
  [_In_] NETADAPTER                           Adapter,
  [_In_] NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES *HardwareCapabilities
);

Parameters

[_In_] Adapter

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

[_In_] HardwareCapabilities

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

Return value

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Target Platform Universal
Minimum UMDF version 2.33
Header netadapteroffload.h (include netadaptercx.h)
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See also

Receive Segment Coalescing offload

NetAdapterCreate

NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES

NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT

EVT_NET_ADAPTER_OFFLOAD_SET_RSC

NetAdapterStart