All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Boros <andrei@srr.ro>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] ingress qdisc on kernel 2.2.21 with ds8 patch
Date: Fri, 12 Jul 2002 05:56:52 +0000	[thread overview]
Message-ID: <marc-lartc-102645351011573@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102628430710938@msgid-missing>

Julian Anastasov wrote:
> 
>         You probably have to apply more fixes to be sure something
> will not break. I just uploaded some fixes for the 2.2 code as
> it appears nobody have the time to deal with it:
> 
> http://www.linuxvirtualserver.org/~julian/#qos-2.2

I'll try them asap.

> 
>         To all: if there is a good place for such fixes please let
> me know.
> 
> >  Recompiled, installed kernel and modules.
> >  Recompiled tc with diffserv=y.
> >
> >  I tried a setup very similar to the example Edge2:
> 
>         Not "very similar" :) The bug is exactly in the
> differences :)

I also tried filtering using the u32 match ip dport ... same result.
I even tried u32 match ip (anything ip), same result.

>         mark here is in decimal (may be can be hex with 0x20):
> 
> > ipchains -A input -p tcp -d 0/0 20 --mark 20
> > ipchains -A input -p tcp -d 0/0 21 --mark 20
> >
> > tc qdisc add dev eth0 handle ffff: ingress
> 
>         "handle 20" here is in hex:
> 
> > tc filter add dev eth0 parent ffff: protocol ip prio 50 handle 20 fw
> > police rate 256kbit burst 25k mtu 1.5k drop flowid :1
> 
>         if you somewhere use fwmark in ip rules, the fwmark
> there is again in hex. Make sure all values match according
> to their representation, i.e. 20 in dec is different from
> 20 in hex.

Sorry. However, I don't know of any place where these differences are
explained clearly.


-- 
ing. Andrei Boros
mailto:andrei@srr.ro / +40-1-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-07-12  5:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-10  6:57 [LARTC] ingress qdisc on kernel 2.2.21 with ds8 patch Andrei Boros
2002-07-11  3:48 ` Alexey Talikov
2002-07-11  5:43 ` Andrei Boros
2002-07-11 22:09 ` Julian Anastasov
2002-07-12  5:56 ` Andrei Boros [this message]
2002-07-12  6:46 ` Julian Anastasov

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=marc-lartc-102645351011573@msgid-missing \
    --to=andrei@srr.ro \
    --cc=lartc@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.