From: Eric Dumazet Date: Fri, 9 Jul 2010 06:12:21 +0000 (-0700) Subject: vlan: allow TSO setting on vlan interfaces X-Git-Tag: v2.6.36-rc1~571^2~311 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a204b48ed4dc31acf61090e530430ce3272b6aab;p=pandora-kernel.git vlan: allow TSO setting on vlan interfaces When we need to shape traffic using low speeds, we need to disable tso on network interface : ethtool -K eth0.2240 tso off It seems vlan interfaces miss the set_tso() ethtool method. Before enabling TSO, we must check real device supports TSO for VLAN-tagged packets and enables TSO. Note that a TSO change on real device propagates TSO setting on all vlans, even if admin selected a different TSO setting. Signed-off-by: Eric Dumazet Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed