[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100114.165142.163322281.davem@davemloft.net>
Date: Thu, 14 Jan 2010 16:51:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: torsten.schmidt@...06.tu-chemnitz.de, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: add DiffServ priority based routing
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 14 Jan 2010 13:50:51 +0100
> Problem is, you might need many sets of counters...
Why nobody has suggested using existing kernel facilities for this is
beyond me.
We have a diffserv packet scheduler queueing discipline, so you can
classify traffic arbitrarily based upon the diffserv bits in the
packet and then shape them using that classification into different
packet scheduler queues.
Simply attach those child queues to that default pfifo qdisc, nothing
fancy.
Then you can dump the queue stats using 'tc'.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists