Using Registry Values to Enable and Disable Task Offloading (NDIS 5.1)

Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

When you debug a driver's task-offload functionality, you might find it useful to enable or disable task offloading. Two registry values control this aspect of task offloading:

  • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters\DisableTaskOffload

    Setting this value to 1 disables all task offloads from the TCP/IP transport. Setting this value to zero enables all task offloads.

  • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Ipsec\EnabledOffload

    Setting this value to zero disables Internet Protocol security (IPsec) offloads from the TCP/IP transport. The offloading of TCP/IP checksum tasks and the offloading of large TCP packets for segmentation are not affected. Setting this value to 1 enables IPsec offloads.

Send comments about this topic to Microsoft