Thread (23 messages) 23 messages, 4 authors, 2020-10-26

Re: [PATCH iproute2-next v3 2/2] tc: implement support for terse dump

From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2020-10-16 16:07:50

On 2020-10-16 10:42 a.m., Vlad Buslov wrote:
From: Vlad Buslov <redacted>

Implement support for classifier/action terse dump using new TCA_DUMP_FLAGS
tlv with only available flag value TCA_DUMP_FLAGS_TERSE. Set the flag when
user requested it with following example CLI (-br for 'brief'):

$ tc -s -brief filter show dev ens1f0 ingress
filter protocol all pref 49151 flower chain 0
filter protocol all pref 49151 flower chain 0 handle 0x1
   not_in_hw
         action order 1:         Action statistics:
         Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
         backlog 0b 0p requeues 0

filter protocol all pref 49152 flower chain 0
filter protocol all pref 49152 flower chain 0 handle 0x1
   not_in_hw
         action order 1:         Action statistics:
         Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
         backlog 0b 0p requeues 0
Should the action name at least show up?


cheers,
jamal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help