net sched actions: add new tc_action_ops callback
authorRoman Mashak <mrv@mojatatu.com>
Thu, 8 Mar 2018 21:59:18 +0000 (16:59 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 16:25:11 +0000 (11:25 -0500)
commita03b91b17684023c45d39b836c85579d5e535983
tree96f751f8bb5327ea4a305987290d7b6baccca278
parentd04e6990c948a3315ea8eca5979ebea48cda56f4
net sched actions: add new tc_action_ops callback

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 <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/act_api.h