diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2014-03-26 16:47:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-27 20:00:37 +0100 |
commit | fc0d48b8fb449ca007b2057328abf736cb516168 (patch) | |
tree | 9c0a39d0db9ee11261c6261035ff355157720668 /net/openvswitch | |
parent | usbnet: include wait queue head in device structure (diff) | |
download | linux-fc0d48b8fb449ca007b2057328abf736cb516168.tar.xz linux-fc0d48b8fb449ca007b2057328abf736cb516168.zip |
vlan: Set hard_header_len according to available acceleration
Currently, if the card supports CTAG acceleration we do not
account for the vlan header even if we are configuring an
8021AD vlan. This may not be best since we'll do software
tagging for 8021AD which will cause data copy on skb head expansion
Configure the length based on available hw offload capabilities and
vlan protocol.
CC: Patrick McHardy <kaber@trash.net>
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions