summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2014-05-11 20:22:53 -0700
committerDavid S. Miller <davem@davemloft.net>2014-05-13 18:38:51 -0400
commitd71c0dc4e961e74143a644f248fc1a39cabf6586 (patch)
tree7cfcab8112f848ace6738b699afe630e8430bef9 /drivers/net/ethernet/broadcom/tg3.h
parentb6bd26c4de0141d0736a51487e4ca37390fcae03 (diff)
downloadlinux-stable-d71c0dc4e961e74143a644f248fc1a39cabf6586.tar.gz
linux-stable-d71c0dc4e961e74143a644f248fc1a39cabf6586.tar.bz2
linux-stable-d71c0dc4e961e74143a644f248fc1a39cabf6586.zip
tg3: Don't modify ip header fields when doing GSO
tg3 uses GSO as workaround if the hardware cannot perform TSO on certain packets. We should not modify the ip header fields if we do GSO on the packet. It happens to work by accident because GSO recalculates the IP checksum and IP total length. Also fix the tg3_start_xmit comment to reflect that this is the only xmit function for all devices. Signed-off-by: Prashant Sreedharan <prashant@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
0 files changed, 0 insertions, 0 deletions