diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-03 10:29:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-03 16:35:43 -0500 |
commit | 69ca05ce9dec2cc95070df7f1f10ea6c9c12d237 (patch) | |
tree | 50806c1c3281b321de58509f41a3913338599765 /include | |
parent | 22a677661f5624539d394f681276171f92d714df (diff) | |
download | linux-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.h | 1 |
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; |