Re: [PATCH net-next v6 3/3] net sched actions: add time filter for action dumping

2017-04-21 Thread Jamal Hadi Salim
On 17-04-21 09:13 AM, Jiri Pirko wrote: Fri, Apr 21, 2017 at 12:55:32PM CEST, j...@mojatatu.com wrote: From: Jamal Hadi Salim @@ -1000,6 +1008,7 @@ static int tcf_action_add(struct net *net, struct nlattr *nla, static const struct nla_policy tcaa_policy[TCA_ROOT_MAX + 1] = { [TCA_

Re: [PATCH net-next v6 3/3] net sched actions: add time filter for action dumping

2017-04-21 Thread Jiri Pirko
Fri, Apr 21, 2017 at 12:55:32PM CEST, j...@mojatatu.com wrote: >From: Jamal Hadi Salim > >This adds support for filtering based on time since last used. >When we are dumping a large number of actions it is useful to >have the option of filtering based on when the action was last >used to reduce th

[PATCH net-next v6 3/3] net sched actions: add time filter for action dumping

2017-04-21 Thread Jamal Hadi Salim
From: Jamal Hadi Salim This adds support for filtering based on time since last used. When we are dumping a large number of actions it is useful to have the option of filtering based on when the action was last used to reduce the amount of data crossing to user space. With this patch the user sp