net: sched: Pass ingress block to tcf_classify_ingress
authorPaul Blakey <paulb@mellanox.com>
Sun, 16 Feb 2020 10:01:22 +0000 (12:01 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 20 Feb 2020 01:49:48 +0000 (17:49 -0800)
commit7d17c544cd304c15317e64ac77617bc774fb3f55
treec287db709745198158ab6c0758c3210fdabbb8b0
parent9410c9409d3e3a1ee6a02a830f9b6ab678c456d1
net: sched: Pass ingress block to tcf_classify_ingress

On ingress and cls_act qdiscs init, save the block on ingress
mini_Qdisc and and pass it on to ingress classification, so it
can be used for the looking up a specified chain index.

Co-developed-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/net/pkt_cls.h
include/net/sch_generic.h
net/core/dev.c
net/sched/cls_api.c
net/sched/sch_generic.c
net/sched/sch_ingress.c