Hi Victor, see below. > > >Why not a simple fifo? You can adapt the size of it > >from the command line. > I want tu use this pfifo queue i know its hardwired > and that i need to mark packets here or from the > source > in order to use dscp field > The pfifo and bfifo qdiscs are not "hardwired". Their size is configurable (specified in bytes for the bfifo, and in number of packets for the pfifo). The one that is hardwired is the pfifo_fast: it is the default qdisc, the one that is there when you don't configure anything. The pfifo_fast has 3 internal prio queues. Packets are classified in one of the three prio queue according to the dscp mark, just like you said in you previous mail. Yes, to make use of the priority capability of pfifo_fast, your packets must marked before they enter the tc software. You can use iptables to mark the packets before they enter tc. Another thing you can do it make use of the prio qdisc, and then create your own (u32) filters. You can then mark the packets with dsmark before the packets go out, if you want. Hope this helps, Mathieu.