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

Use the previously introduced template extension and implement
callback to create, destroy and dump chain template. The existing
parsing and dumping functions are re-used. Also, check if newly added
filters fit the template if it is set.

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