summaryrefslogtreecommitdiff
path: root/cpusched.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-04cpusched: remove useless header commentDaniel Borkmann1-6/+0
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+16
class='right'>2016-09-16 04:29:14 -0400 commit243f750fc6f5d8e4dec984a9a785941c67452b8f (patch) tree7efe90f4ba5d3f7b9ccb3a8824883cc7dab56452 parent903e48531e8b5d414c8f1960eacac24c31f60344 (diff)
qeth: do not limit number of gso segments
To reduce the need of skb_linearize() calls, gso_max_segs of qeth net_devices had been limited according to the maximum number of qdio SBAL elements. But a gso segment cannot be larger than the mtu-size, while an SBAL element can contain up to 4096 bytes. The gso_max_segs limitation limits the maximum packet size given to the qeth driver. Performance measurements with tso-enabled qeth network interfaces and mtu-size 1500 showed, that the disadvantage of smaller packets is much more severe than the advantage of fewer skb_linearize() calls. This patch gets rid of the gso_max_segs limitations in the qeth driver. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat