Skip to contentSkip to conversation

DSMARK & TC_INDEX

LARTC Emmanuel SIMON 1 participant 1 message Sep 5, 2003

lore
Share & tools
lore
#0 lore raw

Hi Leo (may I ?) and the others,

I am reading your howto. Very clear too.
But there is one point I don't understand.
I thought that DS said : "one PHB for one DSCP" an we have a table for it I mean if DSCP=0x30 this is AF12

So why should tc_index do that thing
( skb->tc_index & p.mask ) >> p.shift

BTW Are mask=0xfc shift=2 mandatory ?

if it is only to make another maping it seems a little bit strange.

Is it easier to map 12 with a class rather than 0x30 ??? I don't think (for a computer)

Well why isn't it : "one DSCP --> one class" ?

Thank you
Emmanuel
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/