Hello All, I am interested in QoS provided by Linux, when I looked into IP header I came accross ToS field, also while going more into detail about QoS I found that the QoS based on ToS is serviced thru DiffServ which in turn gives more priority to packets with higher value is ToS field, but I am not able to understand when we finally call dev->hard_start_xmit routine of underlying device type driver, how these packets are given high priority or low priority in the device queue. Please advice me here, Thanks -krishan _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Krishan wrote:> Hello All, I am interested in QoS provided by Linux, when I looked into IP > header I came accross ToS field, also while going more into detail about > QoS I found that the QoS based on ToS is serviced thru DiffServ which in > turn gives more priority to packets with higher value is ToS field, but I > am not able to understand when we finally call dev->hard_start_xmit > routine of underlying device type driver, how these packets are given high > priority or low priority in the device queue.I don''t think they normally are - unless it''s drivers support it. If you want to shape you normally need to use htb/cbq/hfsc/tbf to rate limit below the speed of the device and avoid overfilling it''s buffer. Andy.