netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Russell Stuart <russell-tcatm@stuart.id.au>
Cc: hadi@cyberus.ca, netdev@vger.kernel.org,
	Jesper Dangaard Brouer <hawk@diku.dk>
Subject: Re: [PATCH	REPOST	1/2]	NET:	Accurate	packet	scheduling	for	ATM/ADSL (kernel)
Date: Thu, 25 Jan 2007 01:06:26 +0100	[thread overview]
Message-ID: <45B7F482.7040703@trash.net> (raw)
In-Reply-To: <1169677979.5776.150.camel@ras.pc.brisbane.lube>

Russell Stuart wrote:
> Yuk!  Now the user has to say whether he wants to use
> STAB's or not?  Currently, apart from some debugging
> params to tc, the user isn't even aware that the 
> traffic control is implemented in terms of RTAB's.  
> That is how it should be - it is an implementation 
> detail.

Of course he has to, just like your "atm" parameter. In case
of stabs it would be something like "stab atm".

>>I think this is a different problem. If you replace RTABs
>>by STABs you again can't use it for anything that is only
>>interested in the size, not the transmission time (HFSC,
>>SFQ, ...).
> 
> 
> I was a little too brief.
> 
> The comment stems from the observation that in all
> current implementations:
> 
>    const A_CONSTANT;
>    for (i = 0; i < 256; i += 1)
>      assert(RTAB[i] == STAB[i] * A_CONSTANT);
> 
> Ergo, if in addition to implementing STAB as you
> plan to, A_CONSTANT was shipped to the kernel then
> RTAB could be replaced.

At least look at the patch I sent. STAB mapping is _not_ a
multiplication by a constant (which wouldn't be able to
express minimum packet size or padding to multiples of cell
sizes).

  reply	other threads:[~2007-01-25  0:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16 23:34 [PATCH REPOST 1/2] NET: Accurate packet scheduling for ATM/ADSL (kernel) Russell Stuart
2006-10-17 13:07 ` jamal
2006-10-19  3:41   ` David Miller
2006-10-19 14:38   ` Patrick McHardy
2006-10-20  0:49     ` jamal
2006-10-20  8:54       ` Patrick McHardy
2006-10-23 11:22     ` Russell Stuart
2006-10-23 12:39       ` Patrick McHardy
2006-10-23 21:54         ` Russell Stuart
2006-10-24 16:19           ` Patrick McHardy
2006-10-24 20:00             ` Jesper Dangaard Brouer
2006-10-24 23:46             ` Russell Stuart
2006-11-30 13:07               ` Patrick McHardy
2007-01-17 23:07                 ` Russell Stuart
2007-01-18  4:05                   ` Patrick McHardy
2007-01-18  6:16                     ` Russell Stuart
     [not found]                       ` <45AF5C02.1010005@trash.net>
2007-01-19  3:11                         ` Russell Stuart
2007-01-19 12:19                           ` Patrick McHardy
2007-01-20  3:25                             ` Russell Stuart
2007-01-20  8:47                               ` Patrick McHardy
2007-01-21  7:45                                 ` Russell Stuart
2007-01-24 16:38                                   ` Patrick McHardy
2007-01-24 22:32                                     ` Russell Stuart
2007-01-25  0:06                                       ` Patrick McHardy [this message]
2007-01-25  0:55                                         ` Russell Stuart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B7F482.7040703@trash.net \
    --to=kaber@trash.net \
    --cc=hadi@cyberus.ca \
    --cc=hawk@diku.dk \
    --cc=netdev@vger.kernel.org \
    --cc=russell-tcatm@stuart.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).