[PATCH net-next V2 1/2] net: introduce skb_coalesce_rx_frag()

2013-10-31 Thread Jason Wang
Sometimes we need to coalesce the rx frags to avoid frag list. One example is virtio-net driver which tries to use small frags for both MTU sized packet and GSO packet. So this patch introduce skb_coalesce_rx_frag() to do this. Cc: Rusty Russell ru...@rustcorp.com.au Cc: Michael S. Tsirkin

Re: [PATCH net-next V2 1/2] net: introduce skb_coalesce_rx_frag()

2013-10-31 Thread Eric Dumazet
On Thu, 2013-10-31 at 19:47 +0800, Jason Wang wrote: Sometimes we need to coalesce the rx frags to avoid frag list. One example is virtio-net driver which tries to use small frags for both MTU sized packet and GSO packet. So this patch introduce skb_coalesce_rx_frag() to do this. Cc: Rusty

Re: [PATCH net-next V2 1/2] net: introduce skb_coalesce_rx_frag()

2013-10-31 Thread Jason Wang
On 10/31/2013 10:26 PM, Eric Dumazet wrote: On Thu, 2013-10-31 at 19:47 +0800, Jason Wang wrote: Sometimes we need to coalesce the rx frags to avoid frag list. One example is virtio-net driver which tries to use small frags for both MTU sized packet and GSO packet. So this patch introduce