diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-11-03 11:46:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-03 21:57:24 +0900 |
commit | 46209401f8f6116bd0b2c2d14a63958e83ffca0b (patch) | |
tree | 54915d3a3f2af715f1681da274e3a98f6198e71b /tools/bpf/bpf_dbg.c | |
parent | c7eb7d7230509ec862d4144f7a831f995bc5d028 (diff) | |
download | linux-46209401f8f6116bd0b2c2d14a63958e83ffca0b.tar.gz linux-46209401f8f6116bd0b2c2d14a63958e83ffca0b.tar.bz2 linux-46209401f8f6116bd0b2c2d14a63958e83ffca0b.zip |
net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath
In sch_handle_egress and sch_handle_ingress tp->q is used only in order
to update stats. So stats and filter list are the only things that are
needed in clsact qdisc fastpath processing. Introduce new mini_Qdisc
struct to hold those items. Also, introduce a helper to swap the
mini_Qdisc structures in case filter list head changes.
This removes need for tp->q usage without added overhead.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/bpf/bpf_dbg.c')
0 files changed, 0 insertions, 0 deletions