flow_offload: add support for packet-per-second policing
[platform/kernel/linux-rpi.git] / include / net / tc_act / tc_police.h
index 6d1e26b..ae117f7 100644 (file)
@@ -97,6 +97,18 @@ static inline u32 tcf_police_burst(const struct tc_action *act)
        return burst;
 }
 
+static inline u64 tcf_police_rate_pkt_ps(const struct tc_action *act)
+{
+       /* Not implemented */
+       return 0;
+}
+
+static inline u32 tcf_police_burst_pkt(const struct tc_action *act)
+{
+       /* Not implemented */
+       return 0;
+}
+
 static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act)
 {
        struct tcf_police *police = to_police(act);