Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Dave Taht <dave.taht@gmail.com>
Cc: Jonathan Morton <chromatix99@gmail.com>,
	bloat-devel <bloat-devel@lists.bufferbloat.net>,
	cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] optimizing for very small bandwidths with fq_codel better?
Date: Fri, 3 May 2013 07:01:48 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.00.1305030655000.24367@uplift.swm.pp.se> (raw)
In-Reply-To: <CAA93jw4D214HZXgY-MbGR9p_Q9Yj_Wyb57CaakPVrgem__kzdw@mail.gmail.com>

On Thu, 2 May 2013, Dave Taht wrote:

> 1) I think there's a bug in either the kernel or tc or me on tos matching,

Taking a guess here...

The TOS byte is 8 bytes. So EF is 46, which is 0x2e, and then you need to 
left-shift it 2 bits because it's the most significant 6 bits, you get 
0xb8 (if my early morning pre-breakfast hex calculations are correct). Try 
matching on that and see if it works.

Some programs use the whole TOS byte, some just do the 6 DSCP bits. I 
usually end up using tcpdump to see on the wire what the program actually 
does.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se

  reply	other threads:[~2013-05-03  5:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-02 22:07 Dave Taht
2013-05-03  5:01 ` Mikael Abrahamsson [this message]
2013-05-03 11:45   ` Dave Taht
2013-05-03  5:58 ` Jonathan Morton
2013-05-03 16:53 ` Juliusz Chroboczek
2013-05-03 22:15   ` Dave Taht

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

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=alpine.DEB.2.00.1305030655000.24367@uplift.swm.pp.se \
    --to=swmike@swm.pp.se \
    --cc=bloat-devel@lists.bufferbloat.net \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    --cc=dave.taht@gmail.com \
    /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