Re: [RESEND PATCH iproute2-next 2/2] tc: implement support for terse dump
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2020-09-30 17:34:12
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2020-09-30 17:34:12
On Wed, 30 Sep 2020 08:57:20 -0700 David Ahern [off-list ref] wrote:
On 9/30/20 12:36 AM, Vlad Buslov wrote:quoted
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:quoted
tc -s filter show terse dev ens1f0 ingressthis should be consistent with ip command which has -br for 'brief' output. so this should be tc -s -br filter show dev ens1f0 ingress Other tc maintainers should weigh in on what data should be presented for this mode.
Current ip brief mode is good, one line per interface. Something similar with tc would be best.