]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: introduce chain templates
authorJiri Pirko <jiri@mellanox.com>
Mon, 23 Jul 2018 07:23:07 +0000 (09:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2018 03:44:12 +0000 (20:44 -0700)
commit3a46c71ab7d993505d141f71185cba673df198ed
treead23d347b78709aa4cfa1af62a9046dd760d32ec
parent91812f494e4e897269a28024629eb0815bd632c8
net: sched: introduce chain templates

Allow user to set a template for newly created chains. Template lock
down the chain for particular classifier type/options combinations.
The classifier needs to support templates, otherwise kernel would
reply with error.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/sched/cls_api.c