On Tuesday 21 August 2007, Rusty Russell wrote:
> > One solution would be to use the xmit_done interrupt. Unfortunately this 
> > would 
> > require additional locking as multiple interrupts can happen at two or more 
> > cpus. Do you have any better ideas?
> 
> The only reason that we don't do it in skb_xmit_done() is because
> kfree_skb() isn't supposed to be called from an interrupt.  But there's
> dev_kfree_skb_any() which can be used.

That will simply trigger a softirq, right? If you need the softirq anyway,
why not do all the tx handling in the poll() method like other drivers?

        Arnd <><

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to