]> 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)
commitdb48d3f90e0bf565a642577ab8ff5482e4daf5a7
treead23d347b78709aa4cfa1af62a9046dd760d32ec
parentb73bda75ff93440143e12b5b6a7941a3180c3f1b
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