]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7de92953eefe39074a3fb9b1551430a5fbf81bb7
tree721b4a5c0bc8240264f5359690b3643b46bbb9da
parentdec5ace58d9d1580d4206de7ef14f64d2e625a74
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