[ofa-general] Re: [PATCH 2/3][NET_BATCH] net core use batching

David Miller davem at davemloft.net
Mon Oct 8 19:46:36 PDT 2007


From: Jeff Garzik <jeff at garzik.org>
Date: Mon, 08 Oct 2007 22:12:03 -0400

> I'm interested in working on a load balancer function that approximates
> 
> 	skb->queue_mapping = smp_processor_id()
> 
> I'd be happy to code and test in that direction, based on your lib.

It's the second algorithm that will be available :-)  Just add
a "% num_tx_queues" to the result.

> IMO the net driver really should provide a hint as to what it wants.
> 
> 8139cp and tg3 would probably prefer multiple TX queue behavior to match 
> silicon behavior -- strict prio.
> 
> And I'll volunteer to write the net driver code for that, if people want 
> to see how things would look for that type of hardware packet scheduling.

Ok.



More information about the general mailing list