diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-08 23:12:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-08 23:12:21 -0700 |
commit | a204b48ed4dc31acf61090e530430ce3272b6aab (patch) | |
tree | 1c7615f3483720a79b83f03bc4d14f2dad622744 /kernel | |
parent | dd4ba83dc1becbb3bb383851381c10c372e47247 (diff) | |
download | linux-a204b48ed4dc31acf61090e530430ce3272b6aab.tar.gz linux-a204b48ed4dc31acf61090e530430ce3272b6aab.tar.bz2 linux-a204b48ed4dc31acf61090e530430ce3272b6aab.zip |
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 <eric.dumazet@gmail.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions