发布时间:2014-01-08 18:27:21
GRO(Generic receive offload)在内核2.6.29之后合并进去的,作者是一个华裔Herbert Xu ,GRO的简介可以看这里:http://lwn.net/Articles/358910/先来描述一下GRO的作用,GRO是针对网络接受包的处理的,并且只是针对NAPI类型的驱动,因此如果要支持GRO,不仅要内核支持,而且驱动也必须调用相应的借口,用ethtool -.........【阅读全文】
发布时间:2014-01-08 18:25:56
TSO,全称是TCP Segmentation Offload,我们知道通常以太网的MTU是1500,除去TCP/IP的包头,TCP的MSS (Max Segment Size)大小是1460,通常情况下协议栈会对超过1460的TCP payload进行segmentation,保证生成的IP包不超过MTU的大小,但是对于支持TSO/GSO的网卡而言,就没这个必要了,我们可以把最多64K大小的TCP payl.........【阅读全文】
发布时间:2014-01-08 18:24:53
GSO用来扩展之前的TSO,目前已经并入upstream内核。TSO只能支持tcp协议,而GSO可以支持tcpv4, tcpv6, udp等协议。在GSO之前,skb_shinfo(skb)有两个成员ufo_size, tso_size,分别表示udp fragmentation offloading支持的分片长度,以及tcp segmentation offloading支持的分段长度,现在都用skb_shinfo(skb)->gso_size.........【阅读全文】
发布时间:2014-01-08 09:58:33
http://www.linuxfoundation.org/collaborate/workgroups/networking/gsoGSO ("Generic Segmentation Offload") is a performance optimizationwhich is a generalisation of the concept of TSO .It has been added into Linux 2.6.18Taken from Herbert Xu'sposting on linux-netdev Many.........【阅读全文】
发布时间:2014-01-08 09:54:02
From Wikipedia, the free encyclopedia (Redirected from TCP Offload Engine)Jump to: navigation, search 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. It is primarily u.........【阅读全文】