NET_ADAPTER_RECEIVE_SCALING_PROTOCOL_TYPE Enumeration

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 NET_ADAPTER_RECEIVE_SCALING_PROTOCOL_TYPE enumeration specifies the portion of received network data that an RSS-capable NIC must use to calculate an RSS hash value.

Syntax

typedef enum _NET_ADAPTER_RECEIVE_SCALING_PROTOCOL_TYPE {
  NetAdapterReceiveScalingProtocolTypeNone,
  NetAdapterReceiveScalingProtocolTypeIPv4,
  NetAdapterReceiveScalingProtocolTypeIPv4Options,
  NetAdapterReceiveScalingProtocolTypeIPv6,
  NetAdapterReceiveScalingProtocolTypeIPv6Extensions,
  NetAdapterReceiveScalingProtocolTypeTcp,
  NetAdapterReceiveScalingProtocolTypeUdp
} NET_ADAPTER_RECEIVE_SCALING_PROTOCOL_TYPE;

Constants

NetAdapterReceiveScalingProtocolTypeNone Unused for RSS-capable NIC client drivers.
NetAdapterReceiveScalingProtocolTypeIPv4 Indicates that the hardware can calculate hashes for IPv4 packets.
NetAdapterReceiveScalingProtocolTypeIPv4Options Indicates that the hardware understands IPv4 options. This constant requires that **NetAdapterReceiveScalingProtocolTypeIPv4** is set.
NetAdapterReceiveScalingProtocolTypeIPv6 Indicates that the hardware can calculate hashes for IPv6 packets.
NetAdapterReceiveScalingProtocolTypeIPv6Extensions Indicates that the hardware understands IPv6 extension headers. This constant requires that **NetAdapterReceiveScalingProtocolTypeIPv6** is set.
NetAdapterReceiveScalingProtocolTypeTcp Indicates that the hardware supports 4-tuple TCP header hash calculation.
NetAdapterReceiveScalingProtocolTypeUdp Indicates that the hardware supports 4-tuple UDP header hash calculation.

Remarks

The ReceiveScalingProtocolTypes member of the NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES structure is a bitwise OR of NET_ADAPTER_RECEIVE_SCALING_PROTOCOL_TYPE constants. NIC client drivers can OR multiple values together to indicate which protocol types they support for RSS.

Requirements

   
Minimum KMDF version 1.25
Header netreceivescaling.h

See Also

NetAdapterCx Receive Side Scaling