[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ddd99541-204c-1b29-266f-2d7f4489d403@gmail.com>
Date: Mon, 2 Nov 2020 18:48:12 -0700
From: David Ahern <dsahern@...il.com>
To: Vlad Buslov <vlad@...lov.dev>, jhs@...atatu.com,
netdev@...r.kernel.org, stephen@...workplumber.org
Cc: davem@...emloft.net, kuba@...nel.org, xiyou.wangcong@...il.com,
jiri@...nulli.us
Subject: Re: [PATCH iproute2-next] tc: implement support for action terse dump
On 10/31/20 2:25 PM, Vlad Buslov wrote:
> diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
> index 5ad84e663d01..b486f52900f0 100644
> --- a/include/uapi/linux/rtnetlink.h
> +++ b/include/uapi/linux/rtnetlink.h
> @@ -768,8 +768,12 @@ enum {
> * actions in a dump. All dump responses will contain the number of actions
> * being dumped stored in for user app's consumption in TCA_ROOT_COUNT
> *
> + * TCA_FLAG_TERSE_DUMP user->kernel to request terse (brief) dump that only
> + * includes essential action info (kind, index, etc.)
> + *
> */
> #define TCA_FLAG_LARGE_DUMP_ON (1 << 0)
> +#define TCA_FLAG_TERSE_DUMP (1 << 1)
>
there is an existing TCA_DUMP_FLAGS_TERSE. How does this differ and if
it really is needed please make it different enough and documented to
avoid confusion.
Powered by blists - more mailing lists