diff options
author | Jesse Gross <jesse@nicira.com> | 2010-10-29 12:14:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-15 09:22:53 -0800 |
commit | 58e998c6d23988490162cef0784b19ea274d90bb (patch) | |
tree | de3bbb355639d4bd6f2858d6265537672554d13b /net/8021q/vlan.c | |
parent | c8d5bcd1aff89199cde4bd82c5c40fb704c8bba4 (diff) | |
download | blackbird-op-linux-58e998c6d23988490162cef0784b19ea274d90bb.tar.gz blackbird-op-linux-58e998c6d23988490162cef0784b19ea274d90bb.zip |
offloading: Force software GSO for multiple vlan tags.
We currently use vlan_features to check for TSO support if there is
a vlan tag. However, it's quite likely that the NIC is not able to
do TSO when there is an arbitrary number of tags. Therefore if there
is more than one tag (in-band or out-of-band), fall back to software
emulation.
Signed-off-by: Jesse Gross <jesse@nicira.com>
CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.c')
0 files changed, 0 insertions, 0 deletions