This article is intended to supplement our general broadband tweaks and list only TCP/IP settings that are specific to online gaming and reducing network latency.
Setting this value to one enables IPsec offloads.Online Gaming can often benefit from some fine-tuning of Windows TCP/IP settings and the Network Adapter properties. The offloading of TCP/IP checksum tasks, large send offload version 1 (LSOV1), and large send offload version 2 (LSOV2) are not affected. Setting this value to zero disables Internet protocol security (IPsec) offloads from the TCP/IP transport. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Ipsec\EnabledOffload Setting this value to zero enables all of the task offloads. Setting this value to one disables all of the task offloads from the TCP/IP transport. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters\DisableTaskOffload You can use the following registry values to enable or disable task offloading for the TCP/IP protocol:
If task offload services are disabled with a registry key setting, protocol drivers must not issue the OID_OFFLOAD_ENCAPSULATION object identifier (OID). For more information about valid combinations of offloads, see Combining Types of Task Offloads. For example, if a miniport adapter supports LSOV1 or LSOV2, the miniport adapter also calculates the IP and TCP checksums.
There are restrictions on the combinations of offloads that can be enabled. The following table describes the grouped keywords that you can use to configure offload services. The grouped keywords are defined as follows: Keywordĭescribes whether the device enabled or disabled the calculation of IP, TCP, and UDP checksum over IPv4.ĭescribes whether the device enabled or disabled the calculation of TCP and UDP checksum over IPv6.
The miniport driver must read all of the granular settings from the registry at initialization, including settings that are not displayed, to register NDIS offload capabilities. The INF file can support granular keywords that are displayed in the Advanced Property page of the UI. The following table describes the granular keywords that you can use to configure offload services. IPsecOV2 provides support for additional crypto-algorithms, IPv6, and co-existence with large send offload version 2 (LSOv2).ĭescribes whether the device enabled or disabled IPsecOV2 for IPv4 only. The granular keywords are defined as follows: Keywordĭescribes whether the device enabled or disabled the calculation of IPv4 checksums.ĭescribes whether the device enabled or disabled the calculation of TCP Checksum over IPv4 packets.ĭescribes whether the device enabled or disabled the calculation of TCP checksum over IPv6 packets.ĭescribes whether the device enabled or disabled the calculation of UDP Checksum over IPv4 packets.ĭescribes whether the device enabled or disabled the calculation of UDP Checksum over IPv6 packets.ĭescribes whether the device enabled or disabled the segmentation of large TCP packets over IPv4 for large send offload version 1 (LSOv1).ĭescribes whether the device enabled or disabled the segmentation of large TCP packets over IPv4 for large send offload version 2 (LSOv2).ĭescribes whether the device enabled or disabled the segmentation of large TCP packets over IPv6 for large send offload version 2 (LSOv2).ĭescribes whether the device enabled or disabled the calculation of IPsec headers over IPv4.ĭescribes whether the device enabled or disabled IPsec offload version 2 (IPsecOV2). Grouped keywords provide combined keywords capability at the transport layer. Granular keywords provide keywords per offload capability-Transport Layer differentiation, IP protocol differentiation. Task offload keywords belong to one of two groups: granular keywords or grouped keywords. For more information about standardized keywords, see Standardized INF Keywords for Network Devices.
There are standardized keywords that you can define in INF files and in the registry. When you debug a driver's task offload functionality, you might find it useful to enable or disable task offload services with a registry key setting.