net: sch_tbf: Add a graft command
authorPetr Machata <petrm@nvidia.com>
Tue, 19 Oct 2021 08:07:04 +0000 (11:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 11:24:51 +0000 (12:24 +0100)
commit6b3efbfa4e68d84e6efbcd1ff4e98f5ba1da4307
tree721b4a5c0bc8240264f5359690b3643b46bbb9da
parentaaa5570612b1f1b9e4841ec54163bdeec1f451e7
net: sch_tbf: Add a graft command

As another qdisc is linked to the TBF, the latter should issue an event to
give drivers a chance to react to the grafting. In other qdiscs, this event
is called GRAFT, so follow suit with TBF as well.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
net/sched/sch_tbf.c