summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevich@gmail.com>2014-08-25 14:34:50 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-08-26 00:27:09 (GMT)
commit1c53730a04fb651e35af0a12bd35f6a00481f53c (patch)
tree63b0bcb0a08e91cf19fdcbf710a261b1c7fcc5bc /tools
parent06f4d0333e86e302da3ac8386f873d5e353baf2e (diff)
downloadlinux-1c53730a04fb651e35af0a12bd35f6a00481f53c.tar.xz
bna: Support TSO and partial checksum with non-accelerated vlans.
This device claims TSO and checksum support for vlans. It also allows a user to control vlan acceleration offloading. As such, it is possible to turn off vlan acceleration and configure a vlan which will continue to support TSO. In such situation the packet passed down the the device will contain a vlan header and skb->protocol will be set to ETH_P_8021Q. The device assumes that skb->protocol contains network protocol value and uses that value to set up TSO information. This results in corrupted frames sent on the wire. This patch extract the protocol value correctly and corrects TSO and checksums for non-accelerated traffic. CC: Rasesh Mody <rmody@brocade.com> Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions