diff options
author | Eric Dumazet <edumazet@google.com> | 2012-07-12 04:19:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-18 09:40:53 -0700 |
commit | 6ecd09dd35fd07b8f2f6f5210ecffd4cc5ac0581 (patch) | |
tree | 1bb18232c3c0041df27451e05a611fcb6b014589 /drivers/scsi | |
parent | db8dacf953a70274172236957a4b97d4fdb376f0 (diff) | |
download | blackbird-op-linux-6ecd09dd35fd07b8f2f6f5210ecffd4cc5ac0581.tar.gz blackbird-op-linux-6ecd09dd35fd07b8f2f6f5210ecffd4cc5ac0581.zip |
net: ftgmac100/ftmac100: dont pull too much data
Drivers should pull only ethernet header from page frag
to skb->head.
Pulling 64 bytes is too much for TCP (without options) on IPv4.
However, it makes sense to pull all the frame if it fits the
128 bytes bloc allocated for skb->head, to free one page per
small incoming frame.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Po-Yu Chuang <ratbert@faraday-tech.com>
Acked-by: Yan-Pai Chen <yanpai.chen@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions