net: sched: cls_flower: propagate chain teplate creation and destruction to drivers
authorJiri Pirko <jiri@mellanox.com>
Mon, 23 Jul 2018 07:23:11 +0000 (09:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2018 03:44:12 +0000 (20:44 -0700)
commit34738452739069947e528123810533f28dd8332b
tree88487b361927f0dfa69ebce3d952accdc7c9879f
parentb95ec7eb3b4d2f158dd15c912cf670b546f09571
net: sched: cls_flower: propagate chain teplate creation and destruction to drivers

Introduce a couple of flower offload commands in order to propagate
template creation/destruction events down to device drivers.
Drivers may use this information to prepare HW in an optimal way
for future filter insertions.

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