diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-07-23 09:23:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-24 05:44:12 +0200 |
commit | 34738452739069947e528123810533f28dd8332b (patch) | |
tree | 88487b361927f0dfa69ebce3d952accdc7c9879f /include/net/pkt_cls.h | |
parent | net: sched: cls_flower: implement chain templates (diff) | |
download | linux-34738452739069947e528123810533f28dd8332b.tar.xz linux-34738452739069947e528123810533f28dd8332b.zip |
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>
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r-- | include/net/pkt_cls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 4f405ca8346f..a3101582f642 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -721,6 +721,8 @@ enum tc_fl_command { TC_CLSFLOWER_REPLACE, TC_CLSFLOWER_DESTROY, TC_CLSFLOWER_STATS, + TC_CLSFLOWER_TMPLT_CREATE, + TC_CLSFLOWER_TMPLT_DESTROY, }; struct tc_cls_flower_offload { |