netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH,RFC 0/2] skb recycling (and example implementation for mv643xx_eth)
@ 2008-09-03 13:54 Lennert Buytenhek
  2008-09-03 13:55 ` [PATCH 1/2] [NET] add skb_recycle_check() to enable netdriver skb recycling Lennert Buytenhek
  2008-09-03 13:55 ` [PATCH 2/2] mv643xx_eth: hook up " Lennert Buytenhek
  0 siblings, 2 replies; 7+ messages in thread
From: Lennert Buytenhek @ 2008-09-03 13:54 UTC (permalink / raw)
  To: netdev

This implements skb recycling, which is basically just reusing skbuffs
that have finished transmitting as receive buffers, avoiding skbuff
freeing/reallocation overhead.  This is done by having the networking
provide skb_recycle_check(), which drivers can then use in their tx
ring cleanup (example implementation for mv643xx_eth included).

On mv643xx_eth, this gives a nice performance increase (~25%) when
doing packet routing, but it might be considered too ugly for mainline
-- so, feedback welcome.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-14 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 13:54 [PATCH,RFC 0/2] skb recycling (and example implementation for mv643xx_eth) Lennert Buytenhek
2008-09-03 13:55 ` [PATCH 1/2] [NET] add skb_recycle_check() to enable netdriver skb recycling Lennert Buytenhek
2008-09-03 13:55 ` [PATCH 2/2] mv643xx_eth: hook up " Lennert Buytenhek
2008-09-03 14:25   ` Eric Dumazet
2008-09-04  4:20     ` Lennert Buytenhek
2008-09-04  4:50       ` Eric Dumazet
2008-09-14 19:30         ` Lennert Buytenhek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).