Re: [PATCH net-next] net: implement tcp coalescing in tcp_queue_rcv()
From: David Miller <davem@davemloft.net>
Date: 2012-05-03 02:22:06
From: David Miller <davem@davemloft.net>
Date: 2012-05-03 02:22:06
From: Eric Dumazet <redacted> Date: Thu, 03 May 2012 04:14:20 +0200
My next step is to provide a common helper to NAPI drivers to replace netdev_alloc_skb_ip_align(struct net_device *dev, unsigned int len) by : struct sk_buff *napi_alloc_rxskb(struct napi_struct *napi, unsigned int len) That will manage a cache of one page, splitted in fragments as needed. (roughly the code we added in tg3 as POC) Because converting drivers to build_skb() is a too slow process.
Sounds good.