Re: [net] protecting interfaces from races between control and d
On Aug 6, 2013, at 9:43 AM, Andre Oppermann wrote:
> The driver supplies a TX frame transmit function (mostly like if_transmit
> today) which does all locking and multi-queue handling internally (driver
> owned. This gives driver writers the freedom to better adjust to different
> hardware communication methods as they become available, like we witnessed
> a couple of times in the past.
How would you handle TX dequeue?
I'm curious because I got a nice speedup with cpsw
by not using the TX interrupt at all: I just dequeued
completed packets at the end of the TX transmit
function.
I suppose this would still work with your scheme.
Tim
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 25 之 29 篇):