summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2014-05-11 20:22:54 -0700
committerDavid S. Miller <davem@davemloft.net>2014-05-13 18:38:51 -0400
commitd3f6f3a1d818410c17445bce4f4caab52eb102f1 (patch)
tree19370e26092b97714c595cee5b71f90f303fd0db /drivers/net/ethernet/broadcom/tg3.h
parentd71c0dc4e961e74143a644f248fc1a39cabf6586 (diff)
downloadlinux-stable-d3f6f3a1d818410c17445bce4f4caab52eb102f1.tar.gz
linux-stable-d3f6f3a1d818410c17445bce4f4caab52eb102f1.tar.bz2
linux-stable-d3f6f3a1d818410c17445bce4f4caab52eb102f1.zip
tg3: Prevent page allocation failure during TSO workaround
If any TSO fragment hits hardware bug conditions (e.g. 4G boundary), the driver will workaround by calling skb_copy() to copy to a linear SKB. Users have reported page allocation failures as the TSO packet can be up to 64K. Copying such a large packet is also very inefficient. We fix this by using existing tg3_tso_bug() to transmit the packet using GSO. 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