// netreceivescaling.h
void NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES_INIT(
[_Out_] NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES *Capabilities,
[_In_] SIZE_T NumberOfQueues,
[_In_] NET_ADAPTER_RECEIVE_SCALING_UNHASHED_TARGET_TYPE UnhashedTargetType,
[_In_] NET_ADAPTER_RECEIVE_SCALING_HASH_TYPE HashTypes,
[_In_] NET_ADAPTER_RECEIVE_SCALING_PROTOCOL_TYPE ProtocolTypes,
[_In_] PFN_NET_ADAPTER_RECEIVE_SCALING_ENABLE Enable,
[_In_] PFN_NET_ADAPTER_RECEIVE_SCALING_DISABLE Disable,
[_In_] PFN_NET_ADAPTER_RECEIVE_SCALING_SET_HASH_SECRET_KEY SetHashSecretKey,
[_In_] PFN_NET_ADAPTER_RECEIVE_SCALING_SET_INDIRECTION_ENTRIES SetIndirectionEntries
);
View the official Windows Driver Kit DDI referenceNo description available.
The NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES_INIT function initializes a NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES structure.
Capabilities [_Out_]A pointer to the driver-allocated NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES structure.
NumberOfQueues [_In_]The number of hardware receive queues. This member must be a power of 2.
UnhashedTargetType [_In_]A NET_ADAPTER_RECEIVE_SCALING_UNHASHED_TARGET_TYPE value that indicates the type of handling for unhashed frames. If this member is set to NetAdapterReceiveScalingUnhashedTargetTypeUnspecified, then UnhashedTarget is ignored.
HashTypes [_In_]A NET_ADAPTER_RECEIVE_SCALING_HASH_TYPE value that indicates supported hash function types for calculating hash values.
ProtocolTypes [_In_]A NET_ADAPTER_RECEIVE_SCALING_PROTOCOL_TYPE value that indicates the supported protocol types for calculating hash values.
Enable [_In_]A pointer to the client driver's EvtNetAdapterReceiveScalingEnable event callback function.
Disable [_In_]A pointer to the client driver's EvtNetAdapterReceiveScalingDisable event callback function.
SetHashSecretKey [_In_]A pointer to the client driver's EvtNetAdapterReceiveScalingSetHashSecretKey event callback function.
SetIndirectionEntries [_In_]A pointer to the client driver's EvtNetAdapterReceiveScalingSetIndirectionEntries event callback function.
The NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES structure is an input parameter to NetAdapterSetReceiveScalingCapabilities. The client must use NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES_INIT to initialize this structure before calling NetAdapterSetReceiveScalingCapabilities.
NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES
NetAdapterSetReceiveScalingCapabilities
NetAdapterCx Receive Side Scaling