netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vadim Kochan <vadim4j@gmail.com>
To: Cong Wang <cwang@twopensource.com>
Cc: Vadim Kochan <vadim4j@gmail.com>, netdev <netdev@vger.kernel.org>
Subject: Re: [RFC iproute2] tc: Show classes in tree view
Date: Fri, 19 Dec 2014 18:46:20 +0200	[thread overview]
Message-ID: <20141219164620.GA9364@angus-think> (raw)
In-Reply-To: <CAHA+R7P0eZzEgx+Oq-X8eqs7NFFLon4HKa+UUgxDpdaM5e0X+g@mail.gmail.com>

On Fri, Dec 19, 2014 at 08:44:30AM -0800, Cong Wang wrote:
> On Fri, Dec 19, 2014 at 3:43 AM, Vadim Kochan <vadim4j@gmail.com> wrote:
> > From: Vadim Kochan <vadim4j@gmail.com>
> >
> > Added new '-t[ree]' which shows classes dependency
> > in the tree view.
> >
> > Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
> 
> A sample output would convince people more easily.

Yeah, good point:

# tc/tc -t class show dev tap0
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b 
|   +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b 
|   +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b 
|   +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b 
|   
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b 
    +---1:10(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b 
    +---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b 
    +---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b 

# tc/tc -t -s class show dev tap0
+---1:2(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b 
|   |        Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
|   |        rate 0bit 0pps backlog 0b 0p requeues 0 
|   |
|   +---1:40(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b 
|   |             Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
|   |             rate 0bit 0pps backlog 0b 0p requeues 0 
|   |    
|   +---1:50(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b 
|   |             Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
|   |             rate 0bit 0pps backlog 0b 0p requeues 0 
|   |    
|   +---1:60(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b 
|                 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
|                 rate 0bit 0pps backlog 0b 0p requeues 0 
|   
+---1:1(htb) rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b 
    |        Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
    |        rate 0bit 0pps backlog 0b 0p requeues 0 
    |
    +---1:10(htb) prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b 
    |             Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
    |             rate 0bit 0pps backlog 0b 0p requeues 0 
    |    
    +---1:20(htb) prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b 
    |             Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
    |             rate 0bit 0pps backlog 0b 0p requeues 0 
    |    
    +---1:30(htb) prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b 
                  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
                  rate 0bit 0pps backlog 0b 0p requeues 0 

      reply	other threads:[~2014-12-19 16:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-19 11:43 [RFC iproute2] tc: Show classes in tree view Vadim Kochan
2014-12-19 12:02 ` David Laight
2014-12-19 16:44 ` Cong Wang
2014-12-19 16:46   ` Vadim Kochan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141219164620.GA9364@angus-think \
    --to=vadim4j@gmail.com \
    --cc=cwang@twopensource.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).