diff options
author | 2014-05-11 20:22:54 -0700 | |
---|---|---|
committer | 2014-05-13 18:38:51 -0400 | |
commit | d3f6f3a1d818410c17445bce4f4caab52eb102f1 (patch) | |
tree | 19370e26092b97714c595cee5b71f90f303fd0db /net/tipc | |
parent | tg3: Don't modify ip header fields when doing GSO (diff) | |
download | wireguard-linux-d3f6f3a1d818410c17445bce4f4caab52eb102f1.tar.xz wireguard-linux-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 'net/tipc')
0 files changed, 0 insertions, 0 deletions