Re: [PATCH net-next 2/5] net sched actions: add new tc_action_ops callback

2018-03-05 Thread Roman Mashak
David Miller writes: > From: Roman Mashak > Date: Fri, 2 Mar 2018 17:01:40 -0500 > >> diff --git a/net/sched/act_api.c b/net/sched/act_api.c >> index acac92a..6f3307f 100644 >> --- a/net/sched/act_api.c >> +++ b/net/sched/act_api.c >> @@ -136,6 +136,14

Re: [PATCH net-next 2/5] net sched actions: add new tc_action_ops callback

2018-03-05 Thread David Miller
From: Roman Mashak Date: Fri, 2 Mar 2018 17:01:40 -0500 > diff --git a/net/sched/act_api.c b/net/sched/act_api.c > index acac92a..6f3307f 100644 > --- a/net/sched/act_api.c > +++ b/net/sched/act_api.c > @@ -136,6 +136,14 @@ static size_t tcf_action_full_attrs_size(size_t sz)

[PATCH net-next 2/5] net sched actions: add new tc_action_ops callback

2018-03-02 Thread Roman Mashak
Add a new callback in tc_action_ops, it will be needed by the tc actions to compute its size when a ADD/DELETE notification message is constructed. This routine has to take into account optional/variable size TLVs specific per action. Signed-off-by: Roman Mashak ---