> -----Original Message-----
> From: David S. Miller [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, August 21, 2005 3:34 PM

> We'll be adding the RX free callback support soon, perhaps in 
> the 2.6.14 timeframe, once we shrink the sk_buff struct a 
> little bit more so that we can justify adding the extra 
> member necessary for the implementation.
> 
> Basically, you'll have skb->free_callback(skb, ARG), and
> skb->free_callback_ARG.  And when the SKB and it's memory
> is about to get liberated, we'll call the callback instead of 
> doing the free if the callback is non-NULL.
> 


Thanks, this will work!

Driver-only RTD scheme seems to work reasonably well, but the ability to
"follow the scheduler"  for both tx and rx driver processing should help
quite a bit. 
Since the ASIC association between rx queues and
saddr/daddr/sport/dport state is dynamic, the process doesn't even have
to stay on the same cpu forever - just "long enough".

 
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to