summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-02-03 10:29:08 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-03 16:35:43 -0500
commit69ca05ce9dec2cc95070df7f1f10ea6c9c12d237 (patch)
tree50806c1c3281b321de58509f41a3913338599765 /include
parent22a677661f5624539d394f681276171f92d714df (diff)
downloadlinux-stable-69ca05ce9dec2cc95070df7f1f10ea6c9c12d237.tar.gz
linux-stable-69ca05ce9dec2cc95070df7f1f10ea6c9c12d237.tar.bz2
linux-stable-69ca05ce9dec2cc95070df7f1f10ea6c9c12d237.zip
sched: cls_flower: expose priority to offloading netdevice
The driver that offloads flower rules needs to know with which priority user inserted the rules. So add this information into offload struct. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/pkt_cls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index b43077e47d35..dabb00af46a0 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -481,6 +481,7 @@ enum tc_fl_command {
struct tc_cls_flower_offload {
enum tc_fl_command command;
+ u32 prio;
unsigned long cookie;
struct flow_dissector *dissector;
struct fl_flow_key *mask;