From: Vadim Kochan <vadim4j@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: Vadim Kochan <vadim4j@gmail.com>, netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] tc class: Show class names from file
Date: Tue, 3 Mar 2015 20:52:49 +0200 [thread overview]
Message-ID: <20150303185249.GA2227@angus-think.lan> (raw)
In-Reply-To: <20150303095845.5aa844a0@urahara>
On Tue, Mar 03, 2015 at 09:58:45AM -0800, Stephen Hemminger wrote:
> On Tue, 3 Mar 2015 18:41:18 +0200
> Vadim Kochan <vadim4j@gmail.com> wrote:
>
> > From: Vadim Kochan <vadim4j@gmail.com>
> >
> > It is possible to use class names from file /etc/iproute2/cls_names
> > which tc will use when showing class info:
> >
> > # tc/tc -nm class show dev lo
> > class htb 1:10 parent 1:1 leaf 10: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
> > class htb 1:1 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
> > class htb web#1:20 parent 1:1 leaf 20: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
> > class htb 1:2 root rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
> > class htb 1:30 parent 1:1 leaf 30: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
> > class htb voip#1:40 parent 1:2 leaf 40: prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
> > class htb 1:50 parent 1:2 leaf 50: prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
> > class htb 1:60 parent 1:2 leaf 60: prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
> >
> > or to specify via file path:
> >
> > # tc/tc -nm -cf /tmp/cls_names class show dev lo
> >
> > Class names file contains simple "maj:min name" structure:
> >
> > 1:20 web
> > 1:40 voip
> >
> > Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
>
> This adds new dependency on berkely db.
> See how iproute handled that for arpd and use same #ifdef and config.
Sorry I did not get how this adds the dependency for berkely db ?
Would you please help me to understand the problem ?
Thanks,
next prev parent reply other threads:[~2015-03-03 19:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 16:41 [PATCH iproute2] tc class: Show class names from file Vadim Kochan
2015-03-03 17:58 ` Stephen Hemminger
2015-03-03 18:52 ` Vadim Kochan [this message]
2015-03-06 0:27 ` Stephen Hemminger
2015-03-06 11:06 ` Vadim Kochan
2015-03-15 19:29 ` Stephen Hemminger
2015-03-15 20:47 ` Daniel Borkmann
2015-03-16 13:22 ` Vadim Kochan
2015-03-16 14:46 ` Daniel Borkmann
2015-03-16 14:42 ` Vadim Kochan
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=20150303185249.GA2227@angus-think.lan \
--to=vadim4j@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.