]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd4c98182a15aad4d1205c5e83d532d761ac971d
tree8e1e70d85c4c6337e6708ac86092c0f701351ddf
parentd7cf6fdcd604cd75074b7ffa0564cff1f4e8dbfd
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