On Tue, 2007-05-15 at 13:52 -0700, Roland Dreier wrote: > Well, IPoIB doesn't do netif_wake_queue() until half the device's TX > queue is free, so we should get batching. However, I'm not sure that > I can count on a fudge factor ensuring that there's enough space to > handle everything skb_gso_segment() gives me -- is there any reliable > way to get an upper bound on how many segments a given gso skb will > use when it's segmented?
Take a look at tg3.c. I use (gso_segs * 3) as the upper bound. - 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