

Generic-segmentation-offload: off ethtool -K eth2 gso ethtool -k eth2 | grep generic-segmentation-offload It can be done with ethtool command also:ĭisplay: ethtool -k ethX | grep generic-segmentation-offloadĮnable (recommended): ethtool -K ethX gso onĭisable: ethtool -K ethX gso off Example: ethtool -K eth2 gso ethtool -k eth2 | grep generic-segmentation-offload This feature is related to TSO so it is advisable to enable them together. Generic-segmentation-offload: on Generic Segmentation Offload

Generic-segmentation-offload: off ethtool -K eth2 sg on Tx-scatter-gather-fraglist: off ethtool -K eth2 sg off To manipulate this feature, you must use the same ethtool command with the following parameter:ĭisplay: ethtool -k ethX | grep scatter-gatherĮnable (recommended): ethtool -K ethX sg onĭisable: ethtool -K ethX sg off Example: ethtool -k eth2 | grep scatter-gather Scatter and Gather (Vectored I/O) is a concept that was primarily used in hard disks and it enhances large I/O request performance, if supported by the hardware. Tx-fcoe-segmentation: off Scatter and Gather Tx-fcoe-segmentation: off ethtool -K eth2 tso ethtool -k eth2 | grep segmentation In order to enable/disable TCP segmentation offload, you must use ethtool command with tso option:ĭisplay: ethtool -k ethX | grep tcp-segmentationĮnable (recommended): ethtool -K ethX tso onĭisable: ethtool -K ethX tso off Example: ethtool -K eth2 tso ethtool -k eth2 | grep segmentation This is useful to reduce CPU overhead and it is also called Large Segment Offload (LSO). Generic-segmentation-offload: on TCP Segmentation Offload (TSO) Generic-segmentation-offload: off ethtool -offload eth2 rx on tx on Loopback: off ethtool -offload eth2 rx off tx off Also, in order to disable/enable, use -K or -offload parameter along with the desired features.Įnable (recommended): ethtool -K ethX rx on tx onĭisable: ethtool -K ethX rx off tx off Example: ethtool -k eth2 In order to check which features are set, you can use the -k parameter. Most of these offload features are configured using the ethtool tool. So read on and remember: in most of the cases, these settings must be ON but you have to test and see what is suitable for your environment. Linux doesn't support TOE by default because of many reasons mentioned here.īut even if TOE is not suitable, at least for now, there are other settings that could improve your network (especially if you use it for iSCSI). TOEs are often suggested as a way to reduce the overhead associated with IP storage protocols such as iSCSI and NFS. The term, TOE, is often used to refer to the NIC itself, although circuit board engineers may use it to refer only to the integrated circuit included on the card which processes the TCP headers. It is primarily used with high-speed network interfaces, such as gigabit Ethernet and 10 Gigabit Ethernet, where processing overhead of the network stack becomes significant. TCP offload engine or TOE is a technology used in network interface cards (NIC) to offload processing of the entire TCP/IP stack to the network controller.
