Lines Matching refs:police
215 if (entry->police.rate_pkt_ps) { in otx2_tc_egress_matchall_install()
220 rate = entry->police.rate_bytes_ps * 8; in otx2_tc_egress_matchall_install()
222 err = otx2_set_matchall_egress_rate(nic, entry->police.burst, rate); in otx2_tc_egress_matchall_install()
358 if (act->police.rate_bytes_ps > 0) { in otx2_tc_parse_actions()
359 rate = act->police.rate_bytes_ps * 8; in otx2_tc_parse_actions()
360 burst = act->police.burst; in otx2_tc_parse_actions()
361 } else if (act->police.rate_pkt_ps > 0) { in otx2_tc_parse_actions()
367 rate = act->police.rate_pkt_ps * 8; in otx2_tc_parse_actions()
368 burst = act->police.burst_pkt; in otx2_tc_parse_actions()
889 rate = entry->police.rate_bytes_ps * 8; in otx2_tc_ingress_matchall_install()
890 err = cn10k_set_matchall_ipolicer_rate(nic, entry->police.burst, rate); in otx2_tc_ingress_matchall_install()