Sridhar Samudrala <[EMAIL PROTECTED]> wrote on 05/17/2007 03:14:41 AM:
> Krishna Kumar2 wrote: > > Hi Sridhar, > > > > Sridhar Samudrala <[EMAIL PROTECTED]> wrote on 05/17/2007 03:42:03 AM: > > > >> AFAIK, gso_skb can be a list of skb's. Can we add a list > >> to another list using __skb_queue_head()? > >> Also, if gso_skb is a list of multiple skb's, i think the > >> count needs to be decremented by the number of segments in > >> gso_skb. > > > > gso_skb is the last GSO skb that failed to be sent. This already > > segmented skb is kept "cached" and whenever the next xmit happens, > > this skb is first sent before any packets from the queue are taken > > out (otherwise out-of-order packets). So there can atmost be one > > gso_skb per device. > > Yes. There can be only one gso_skb per device. But it can have more > than one segments linked together via skb->next. It will definitely have more than 1 segments (criterea to be on the gso_skb). But I think you are right, the segmented skb will "lose" it's 1-n segments (newsk->next = next) when it is added to the list. Thanks, - KK - 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