> > As I said before, getting multiple packets in one call to xmit would > > be nice for amortizing per-xmit overhead in IPoIB. So it would be > > nice if the cases where the stack does GSO ended up passing all the > > segments into the driver in one go. > > Well TCP does upto 64k -- that is what GSO is about.
I see... the plan would be to add NETIF_F_GSO_SOFTWARE to the device features and use skb_gso_segment() in the netdevice driver? (I just studied GSO more carefully -- I hadn't realized that was possible) I'll have to think about implementing that for IPoIB. One issue I see is if I have, say, 4 free entries in my send queue and skb_gso_segment() gives me back 5 packets to send. It's not clear I can recover at that point -- I guess I have to check against gso_segs in the xmit routine before actually doing the segmentation. - R. - 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