Does tc-prio really work as advertised?
Subsystems (2)
Jarek,
iptables chains (this is what I think you are referring to) are not the issue. This is about the qdisc that sits immediately over the device driver and decides the order waiting packets are sent over the line/air/carrier pigeon/... . My suspicion is that skb->priority used to be set to a value that derived from the TOS bits. Then something changed and nobody noticed.
Signature · 12 lines
Regards
Joerg
----- Ursprüngliche Mail ----
Von: Jarek Poplawski <[email protected]>
An: Jarek Poplawski <[email protected]>
CC: Joerg Pommnitz <[email protected]>; [email protected]; OLSR discussion and development <[email protected]>
Gesendet: Dienstag, den 27. November 2007, 07:46:04 Uhr
Betreff: Re: Does tc-prio really work as advertised?On 26-11-2007 23:25, Jarek Poplawski wrote:
...
Quoted 4 lines
Are you doing this on the same box? I was tracing this long time ago too, and, if I didn't miss something, it was about the place! So, as I recall (after finding some old message) this TOS is considered only for packets going through the FORWARD chain. (But, I haven't checked this at all now, so "no complaints"...)
...Too exactly! Iptables aren't needed for this, so "going through the forward." should be enough...
Jarek P.
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
Quoted 2 lines · Joerg Pommnitz
Jarek,
iptables chains (this is what I think you are referring to) are not the issue.
Yes, but this could (wrongly) look like this according to my 1-st message.
Quoted 5 lines
This
is about the qdisc that sits immediately over the device driver and decides the order waiting packets are sent over the line/air/carrier pigeon/... . My suspicion is thatskb->priorityused to be set to a value that derived from the TOS bits. Then something changed and nobody noticed.
I'm not sure of your problem: did you try this on a box which gets packets with TOS set earlier, does forwarding, and uses this prio on egress? If so, and this doesn't work, then you are right something could be wrong.
Regards,
Jarek P.