]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: Add helpers to support qevent handling
authorPetr Machata <petrm@mellanox.com>
Tue, 30 Jun 2020 10:14:50 +0000 (13:14 +0300)
committerDavid Ahern <dsahern@kernel.org>
Sun, 5 Jul 2020 15:37:27 +0000 (15:37 +0000)
commit01bb0bcd002ca80487d3844082c5488a13599bb9
treea6b04285ba624b93071f28c1873a7fe44d790949
parentbc4d9f982f8d0bb00fb61e0f4633e98522af597a
tc: Add helpers to support qevent handling

Introduce a set of helpers to make it easy to add support for qevents into
qdisc.

The idea behind this is that qevent types will be generally reused between
qdiscs, rather than each having a completely idiosyncratic set of qevents.
The qevent module holds functions for parsing, dumping and formatting of
these common qevent types, and for dispatch to the appropriate set of
handlers based on the qevent name.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
tc/Makefile
tc/tc_qevent.c [new file with mode: 0644]
tc/tc_qevent.h [new file with mode: 0644]