aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlge
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevich@gmail.com>2014-08-25 10:34:54 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-25 17:27:10 -0700
commit817dbfa5d1bc276a72c1a577310382008e8aca0a (patch)
tree2813ef1a4959c86314ea8d3bf37fad55b143a38d /drivers/net/ethernet/qlogic/qlge
parenti40evf: Fix TSO and hw checksums for non-accelerated vlan packets. (diff)
downloadlinux-dev-817dbfa5d1bc276a72c1a577310382008e8aca0a.tar.xz
linux-dev-817dbfa5d1bc276a72c1a577310382008e8aca0a.zip
mvneta: Fix TSO and checksum for non-acceleration vlan traffic
This driver doesn't appear to support vlan acceleration at all. However, it does claim to support TSO and IP checksums for vlan devices. Thus any configured vlan device would end up passing down partial checksums or TSO frames. The driver also uses the value from skb->protocol to determine TSO and checksum offload information, but assumes that skb->protocol holds the l3 protocol information. As a result, vlan traffic with partial checksums or TSO will fail those checks and TSO will not happen. Fix this by using vlan_get_protocol() helper. CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlge')
0 files changed, 0 insertions, 0 deletions