Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* tc filter show pretty mode
@ 2020-08-18 20:40 Denis Gubin
  0 siblings, 0 replies; only message in thread
From: Denis Gubin @ 2020-08-18 20:40 UTC (permalink / raw)
  To: netdev

Good day, everybody!

I've got a problem with output tc filter show command in pretty mode.

I am looking to output and I don't see anything match mac address at all.

I've entered some command for test:
tc qdisc add dev ens5 ingress
tc filter add dev ens5 parent ffff: protocol ip u32 match ether dst
ce:22:a5:5a:1c:26 match ether src ce:22:a5:5a:1c:24


tc filter show dev ens5 ingress

filter protocol ip pref 49152 u32 chain 0
filter protocol ip pref 49152 u32 chain 0 fh 800: ht divisor 1
filter protocol ip pref 49152 u32 chain 0 fh 800::800 order 2048 key ht 800
bkt 0 not_in_hw
  match 0000ce22/0000ffff at -16
  match a55a1c26/ffffffff at -12
  match ce22a55a/ffffffff at -8
  match 1c240000/ffff0000 at -4


Then add -p (pretty) key and...

tc -p filter show dev ens5 ingress

filter protocol ip pref 49152 u32 chain 0
filter protocol ip pref 49152 u32 chain 0 fh 800: ht divisor 1
filter protocol ip pref 49152 u32 chain 0 fh 800::800 order 2048 key ht 800
bkt 0 not_in_hw

-- 
Best regards,
Denis Gubin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-18 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 20:40 tc filter show pretty mode Denis Gubin

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).