vlan: Add ability to always enable TSO/UFO
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Wed, 10 Dec 2014 02:43:13 +0000 (11:43 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2014 15:58:53 +0000 (10:58 -0500)
commit53f6b708f89668cfb5eb9e49384b64b237bae0b2
tree1189164adb4f6654cd99bfe4cafa38bfd8a9296b
parent5fbea33740aeb948422d7b7e8aafbeac362264b2
vlan: Add ability to always enable TSO/UFO

Since the real device can segment packets by software, a vlan device
can set TSO/UFO even when the real device doesn't have those features.
Unlike GSO, this allows packets to be segmented after Qdisc.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c