Re: [PATCH][NET_SCHED] Make HTB scheduler work with TSO.

2007-07-10 Thread Ranjit Manomohan
On 7/9/07, David Miller <[EMAIL PROTECTED]> wrote: From: Ranjit Manomohan <[EMAIL PROTECTED]> Date: Tue, 12 Jun 2007 16:53:21 -0700 (PDT) > Currently the HTB scheduler does not correctly account for TSO packets > which causes large inaccuracies in the bandwidth control when

Re: [NET_SCHED 03/04]: sch_htb: use generic estimator

2007-06-19 Thread Ranjit Manomohan
On 6/19/07, Patrick McHardy <[EMAIL PROTECTED]> wrote: [NET_SCHED]: sch_htb: use generic estimator Use the generic estimator instead of reimplementing (parts of) it. For compatibility always create a default estimator for new classes. Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> --- comm

[PATCH][NET_SCHED] Make HTB scheduler work with TSO.

2007-06-12 Thread Ranjit Manomohan
Currently the HTB scheduler does not correctly account for TSO packets which causes large inaccuracies in the bandwidth control when using TSO. This patch allows the HTB scheduler to work with TSO enabled devices. Signed-off-by: Ranjit Manomohan <[EMAIL PROTECTED]> diff --git a/net

Re: [PATCH][NET_SCHED] Update htb rate when stats are polled.

2007-05-29 Thread Ranjit Manomohan
On 5/26/07, Patrick McHardy <[EMAIL PROTECTED]> wrote: Patrick McHardy wrote: > Ranjit Manomohan wrote: > >>Currently the HTB rate for a class is update very slowly (once >>every 16 seconds). This patch updates the rate whenever the stats >>are requested from

[PATCH][NET_SCHED] Update htb rate when stats are polled.

2007-05-25 Thread Ranjit Manomohan
Currently the HTB rate for a class is update very slowly (once every 16 seconds). This patch updates the rate whenever the stats are requested from user space. This enables more accurate rate monitoring. Signed-off-by: Ranjit Manomohan <[EMAIL PROTECTED]> diff --git a/net/sched/sch_htb.c

Re: [PATCH] tcpdump may trace some outbound packets twice.

2006-05-15 Thread Ranjit Manomohan
On Mon, 15 May 2006, David S. Miller wrote: > From: Ranjit Manomohan <[EMAIL PROTECTED]> > Date: Mon, 15 May 2006 14:19:06 -0700 (PDT) > > > Heres a new version which does a copy instead of the clone to avoid > > the double cloning issue. > > I still very much

Re: [PATCH] tcpdump may trace some outbound packets twice.

2006-05-15 Thread Ranjit Manomohan
On Sun, 14 May 2006, David S. Miller wrote: > From: Andrew Morton <[EMAIL PROTECTED]> > Date: Sun, 14 May 2006 03:10:34 -0700 > > > It's a bit sad to be taking a clone of a clone like this. > > Avoidable? > > Besides, clones of clones are illegal, if it's already a clone > you must make a copy.

Re: [PATCH] tcpdump may trace some outbound packets twice.

2006-05-14 Thread Ranjit Manomohan
Thank you for the comments. Incorporated feedback into current version. -Thanks, Ranjit --- linux-2.6/net/sched/sch_generic.c 2006-05-10 12:34:52.0 -0700 +++ linux/net/sched/sch_generic.c 2006-05-14 08:53:33.0 -0700 @@ -136,8 +136,12 @@ if (!netif

[PATCH] tcpdump may trace some outbound packets twice.

2006-05-10 Thread Ranjit Manomohan
This patch fixes the problem where tcpdump shows duplicate packets while tracing outbound packets on drivers which support lockless transmit. The patch changes the current behaviour to tracing the packets only on a successful transmit. Signed-off-by: Ranjit Manomohan <[EMAIL PROTEC