diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-11-03 13:46:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-03 15:57:24 +0300 |
commit | 46209401f8f6116bd0b2c2d14a63958e83ffca0b (patch) | |
tree | 54915d3a3f2af715f1681da274e3a98f6198e71b /arch/m32r/lib/delay.c | |
parent | c7eb7d7230509ec862d4144f7a831f995bc5d028 (diff) | |
download | linux-46209401f8f6116bd0b2c2d14a63958e83ffca0b.tar.xz |
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 'arch/m32r/lib/delay.c')
0 files changed, 0 insertions, 0 deletions