diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-05-17 12:07:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-17 22:22:13 +0300 |
commit | 6529eaba33f0465fc6d228e1d05b1745f7d0e8c9 (patch) | |
tree | d0caf42e125d3554262bd7c2fb66f232a5a7c90a /tools/scripts | |
parent | 87d83093bfc2f4938ff21524ebb50ecf53c15a64 (diff) | |
download | linux-6529eaba33f0465fc6d228e1d05b1745f7d0e8c9.tar.xz |
net: sched: introduce tcf block infractructure
Currently, the filter chains are direcly put into the private structures
of qdiscs. In order to be able to have multiple chains per qdisc and to
allow filter chains sharing among qdiscs, there is a need for common
object that would hold the chains. This introduces such object and calls
it "tcf_block".
Helpers to get and put the blocks are provided to be called from
individual qdisc code. Also, the original filter_list pointers are left
in qdisc privs to allow the entry into tcf_block processing without any
added overhead of possible multiple pointer dereference on fast path.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions