Vlad Buslov e382267860 net: sched: update action implementations to support flags
Extend struct tc_action with new "tcfa_flags" field. Set the field in
tcf_idr_create() function and provide new helper
tcf_idr_create_from_flags() that derives 'cpustats' boolean from flags
value. Update individual hardware-offloaded actions init() to pass their
"flags" argument to new helper in order to skip percpu stats allocation
when user requested it through flags.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-30 18:07:51 -07:00
..
2019-09-27 15:10:34 -07:00
2019-07-12 16:03:16 -07:00
2019-10-02 14:47:51 -07:00
2019-09-26 08:56:17 +02:00
2019-10-22 11:23:44 -07:00
2019-10-30 12:16:22 -07:00