Re: Linux 2.6 HTB does only work with existing connections

2007-02-22 Thread Andi Kleen
"Hua Zhong" <[EMAIL PROTECTED]> writes: > Correction: it's TSO, not TOE. > > By googling I found that specifying a big MTU (like 16500) on the "tc class" > command avoids the "giant" packets. No idea where they come from. They come from TCP because it will pass down a max MTU sized packet (upto

Re: Linux 2.6 HTB does only work with existing connections

2007-02-22 Thread Andi Kleen
"Hua Zhong" <[EMAIL PROTECTED]> writes: > Just add more info: this machine has TOE. And if that's turned off, > everything seems to work fine. > > Does it mean that traffic control doesn't play well with TOE? Or there are > some tricks to make them work together? Congratulations. You discovered

RE: Linux 2.6 HTB does only work with existing connections

2007-02-21 Thread Hua Zhong
mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 21, 2007 6:30 PM > To: 'netdev@vger.kernel.org' > Subject: RE: Linux 2.6 HTB does only work with existing connections > > Just add more info: this machine has TOE. And if that's turned off, > everything seems to work fin

RE: Linux 2.6 HTB does only work with existing connections

2007-02-21 Thread Hua Zhong
n't matter much. > -Original Message- > From: Hua Zhong [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 21, 2007 5:45 PM > To: 'netdev@vger.kernel.org' > Subject: Linux 2.6 HTB does only work with existing connections > > Hi all, > > I tried to u

Linux 2.6 HTB does only work with existing connections

2007-02-21 Thread Hua Zhong
Hi all, I tried to use HTB on a 2.6.12 based kernel. It seems that if I issue the tc commands, existing connections adjust bandwidth immediately, but any new connections won't be filtered correctly. The tc version is 3.17. The commands are very simple (only eth1 is active): tc qdisc del dev