net/sched: move police action structures to header
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Sat, 4 May 2019 11:46:21 +0000 (04:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 May 2019 04:49:24 +0000 (21:49 -0700)
commitfa762da94d9860f584c909621d1f8ccbe24c5d5e
tree7e16f65a6897a28db64996d66310ffb00a19b92a
parentdfcb19f0fae3d07f9c56f6efe2c9bbebef6826c9
net/sched: move police action structures to header

Move tcf_police_params, tcf_police and tc_police_compat structures to a
header. Making them usable to other code for example drivers that would
offload police actions to hardware.

Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tc_act/tc_police.h [new file with mode: 0644]
net/sched/act_police.c