All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamal Hadi Salim <jhs@mojatatu.com>
To: john Fastabend <john.r.fastabend@intel.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Cong Wang <xiyou.wangcong@gmail.com>
Subject: action stats broken?
Date: Sat, 20 Sep 2014 09:17:09 -0400	[thread overview]
Message-ID: <541D7E55.6070306@mojatatu.com> (raw)


Sorry, dont have time to chase this today and it may be fixed in the
latest  tree. Possibly recent patches or likely earlier patches
even.

It seems stats are no longer displaying for actions.
This is a net-next kernel. I have tried kernel 3.16.0-rc2
and 3.17.0-rc4 with same results.

Simple test case:

----
root@moja-1:~# tc actions add  action drop index 4
root@moja-1:~# tc -s actions ls action gact

	action order 0: gact action drop
	 random type none pass val 0
	 index 4 ref 1 bind 0 installed 9 sec used 4 sec
-----

What I would have expected to see is:
---
	action order 0: gact action drop
	 random type none pass val 0
	 index 4 ref 1 bind 0 installed 9 sec used 4 sec
          Sent 108948 bytes 1297 pkts (dropped 1297, overlimits 0)
---


cheers,
jamal

             reply	other threads:[~2014-09-20 13:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-20 13:17 Jamal Hadi Salim [this message]
2014-09-20 15:21 ` action stats broken? John Fastabend
2014-09-21 12:33   ` Jamal Hadi Salim
2014-09-21 14:21     ` Jamal Hadi Salim
2014-09-21 14:50       ` John Fastabend
2014-09-21 15:01         ` Jamal Hadi Salim

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=541D7E55.6070306@mojatatu.com \
    --to=jhs@mojatatu.com \
    --cc=john.r.fastabend@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /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.