[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5723f2e0-7738-09f5-23c0-bfe7432d7528@mojatatu.com>
Date: Wed, 26 Apr 2017 09:17:59 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: davem@...emloft.net, xiyou.wangcong@...il.com,
eric.dumazet@...il.com, simon.horman@...ronome.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v9 2/3] net sched actions: dump more than
TCA_ACT_MAX_PRIO actions per batch
On 17-04-26 09:08 AM, Jiri Pirko wrote:
> Wed, Apr 26, 2017 at 02:42:17PM CEST, jhs@...atatu.com wrote:
>> +#define VALID_TCA_ROOT_FLAGS TCA_FLAG_LARGE_DUMP_ON
>> +static inline bool tca_flags_valid(u32 act_flags)
>> +{
>> + u32 invalid_flags_mask = ~VALID_TCA_ROOT_FLAGS;
>> +
>> + if (act_flags & invalid_flags_mask)
>> + return false;
>> +
>> + return true;
>
> This dance should either not be here (flag-per-attr) or should be in
> netlink generic place. This is not TC specific at all.
>
So where do you think it should be?
> I would still like to see the numbers prooving we need this.
> Thanks
>
We are going to have to agree to disagree.
cheers,
jamal
Powered by blists - more mailing lists