net: sched: add flags to Qdisc class ops struct
authorVlad Buslov <vladbu@mellanox.com>
Mon, 11 Feb 2019 08:55:46 +0000 (10:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 18:41:33 +0000 (13:41 -0500)
commitdfcd2a2b2274ec029699be70ea0fe41a7a03f728
tree8e1e70d85c4c6337e6708ac86092c0f701351ddf
parent12db03b65c2b90752e4c37666977fd4a1b5f5824
net: sched: add flags to Qdisc class ops struct

Extend Qdisc_class_ops with flags. Create enum to hold possible class ops
flag values. Add first class ops flags value QDISC_CLASS_OPS_DOIT_UNLOCKED
to indicate that class ops functions can be called without taking rtnl
lock.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h