OpenCloudOS-Kernel/drivers/net/ethernet/faraday
Eric Dumazet 6ecd09dd35 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>
2012-07-18 09:40:53 -07:00
..
Kconfig MII: fix Kconfig dependencies for MII 2011-09-15 15:49:08 -04:00
Makefile
ftgmac100.c net: ftgmac100/ftmac100: dont pull too much data 2012-07-18 09:40:53 -07:00
ftgmac100.h
ftmac100.c net: ftgmac100/ftmac100: dont pull too much data 2012-07-18 09:40:53 -07:00
ftmac100.h