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

Reply via email to