net: sched: introduce helpers to work with filter chains
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 May 2017 09:07:59 +0000 (11:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 19:22:13 +0000 (15:22 -0400)
commit2190d1d0944f84c55cdfdb89c7920f8f9311bdde
tree0518f2849f7be8b42a1e3a8603b683e4317db728
parent7961973a0087824fdc9d0303b0033ab79b557278
net: sched: introduce helpers to work with filter chains

Introduce struct tcf_chain object and set of helpers around it. Wraps up
insertion, deletion and search in the filter chain.

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>
include/net/sch_generic.h
net/sched/cls_api.c