Files
linux/drivers
Shirley Ma 9ab86bbcf8 virtio_net: Defer skb allocation in receive path Date: Wed, 13 Jan 2010 12:53:38 -0800
virtio_net receives packets from its pre-allocated vring buffers, then it
delivers these packets to upper layer protocols as skb buffs. So it's not
necessary to pre-allocate skb for each mergable buffer, then frees extra
skbs when buffers are merged into a large packet. This patch has deferred
skb allocation in receiving packets for both big packets and mergeable buffers
to reduce skb pre-allocations and skb frees. It frees unused buffers by calling
detach_unused_buf in vring, so recv skb queue is not needed.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-02 15:55:42 -08:00
..
…
2010-01-20 15:03:31 -08:00
…
…
…
…
…
…
…
2009-12-23 14:13:32 -08:00
…
…
2010-01-20 01:23:27 -05:00
…
…
…
…
…
…
…
…
2010-01-28 06:01:35 -08:00
…
…
…
2010-01-21 01:28:45 -08:00
…
2010-01-13 10:01:35 +00:00