Netdev List
 help / color / mirror / Atom feed
* tc filter ouput, no filter hits?
@ 2012-12-29 13:46 julius
  2012-12-29 13:55 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: julius @ 2012-12-29 13:46 UTC (permalink / raw)
  To: netdev@vger.kernel.org

hi,

ive seen some examples where the output from:
tc -s filter show dev ifb0 parent 1: 
shows a filter hit count, like the output shown below:

filter protocol ip pref 1 u32
filter protocol ip pref 1 u32 fh 800: ht divisor 1
filter protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 
1:1  (rule hit 2 success 0)



however in my openwrt 12.09 and on my ubuntu machine i dont see the part in the paranthese, why is that?

ubuntu:
iproute (20120521-3ubuntu1)
3.2.0-23-generic #36-Ubuntu


greets

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tc filter ouput, no filter hits?
  2012-12-29 13:46 tc filter ouput, no filter hits? julius
@ 2012-12-29 13:55 ` Eric Dumazet
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2012-12-29 13:55 UTC (permalink / raw)
  To: julius; +Cc: netdev@vger.kernel.org

On Sat, 2012-12-29 at 05:46 -0800, julius wrote:
> hi,
> 
> ive seen some examples where the output from:
> tc -s filter show dev ifb0 parent 1: 
> shows a filter hit count, like the output shown below:
> 
> filter protocol ip pref 1 u32
> filter protocol ip pref 1 u32 fh 800: ht divisor 1
> filter protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 
> 1:1  (rule hit 2 success 0)
> 
> 
> 
> however in my openwrt 12.09 and on my ubuntu machine i dont see the part in the paranthese, why is that?
> 
> ubuntu:
> iproute (20120521-3ubuntu1)
> 3.2.0-23-generic #36-Ubuntu
> 

Because its optional, kernel compilation needs :

CONFIG_CLS_U32_PERF=y

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-29 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-29 13:46 tc filter ouput, no filter hits? julius
2012-12-29 13:55 ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox