net: qos: add tc police offloading action with max frame size limit
[linux-2.6-microblaze.git] / net / sched / cls_api.c
index a00a203..6aba7d5 100644 (file)
@@ -3658,6 +3658,7 @@ int tc_setup_flow_action(struct flow_action *flow_action,
                        entry->police.burst = tcf_police_tcfp_burst(act);
                        entry->police.rate_bytes_ps =
                                tcf_police_rate_bytes_ps(act);
+                       entry->police.mtu = tcf_police_tcfp_mtu(act);
                } else if (is_tcf_ct(act)) {
                        entry->id = FLOW_ACTION_CT;
                        entry->ct.action = tcf_ct_action(act);