Re: [PATCH] tbf scheduler: TSO support (updated)

2007-05-13 Thread Herbert Xu
Hirokazu Takahashi <[EMAIL PROTECTED]> wrote: > > Uhh, you are right. > skb_shinfo(skb)->gso_segs and skb_shinfo(skb)->gso_size should be used. Actually forget about gso_segs, it's only filled in for TCP. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL

Re: [PATCH] tbf scheduler: TSO support (updated)

2007-05-13 Thread Hirokazu Takahashi
Hi, > > > I'm now thinking I can make it just hold a TSO packet until > > > p->tokens reaches the size of the packet. I think it is > > > straightforward implementation. I'll try this. > > > > I re-implemented the patch, which is simpler than the previous one. > > > > sch->dev->mtu is used to de

Re: [PATCH] tbf scheduler: TSO support (updated)

2007-05-13 Thread Stephen Hemminger
On Sun, 13 May 2007 21:42:36 +0900 (JST) Hirokazu Takahashi <[EMAIL PROTECTED]> wrote: > Hi, > > > I'm now thinking I can make it just hold a TSO packet until > > p->tokens reaches the size of the packet. I think it is > > straightforward implementation. I'll try this. > > I re-implemented the p

[PATCH] tbf scheduler: TSO support (updated)

2007-05-13 Thread Hirokazu Takahashi
Hi, > I'm now thinking I can make it just hold a TSO packet until p->tokens > reaches the size of the packet. I think it is straightforward > implementation. I'll try this. I re-implemented the patch, which is simpler than the previous one. sch->dev->mtu is used to determine how many segments ar