NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure (netadapteroffload.h)
The NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure describes a network interface card (NIC)'s capabilities for receive segment coalescence (RSC).
Syntax
typedef struct _NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES {
ULONG Size;
NET_ADAPTER_OFFLOAD_LAYER3_FLAGS Layer3Flags;
NET_ADAPTER_OFFLOAD_LAYER4_FLAGS Layer4Flags;
BOOLEAN TcpTimestampOption;
PFN_NET_ADAPTER_OFFLOAD_SET_RSC EvtAdapterOffloadSetRsc;
} NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES;
Members
Size
The size of this structure, in bytes.
Layer3Flags
Flags specifying the layer 3 protocols that the NIC can successfully perform RSC on. NetAdapterOffloadLayer3FlagIPv4NoOptions
and NetAdapterOffloadLayer3FlagIPv6NoExtensions
are the only valid values.
Layer4Flags
Flags specifying the layer 4 protocols that the NIC can successfully perform RSC on. NetAdapterOffloadLayer4FlagTcpNoOptions
and NetAdapterOffloadLayer4FlagUdp
are the only valid values. Layer 3 flags must be set if the NetAdapterOffloadLayer4FlagTcpNoOptions
flag is set.
TcpTimestampOption
Optional. A flag specifying whether the hardware can perform RSC on packets with a timestamp.
EvtAdapterOffloadSetRsc
A pointer to the client driver's implementation of the EVT_NET_ADAPTER_OFFLOAD_SET_RSC callback function.
Remarks
Call NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT to initialize this structure. The client driver passes an initialized NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure as a parameter to NetAdapterOffloadSetRscCapabilities.
To see an example of how a client driver might set up its RSC hardware offload capabilities, see Receive Segment Coalescing offload.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Minimum UMDF version | 2.33 |
Header | netadapteroffload.h (include netadaptercx.h) |
See also
Receive Segment Coalescing offload
NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT