Lines Matching refs:burst
49 u32 burst; member
53 static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst, in otx2_get_egress_burst_cfg() argument
71 burst = min_t(u32, burst, max_burst); in otx2_get_egress_burst_cfg()
72 if (burst) { in otx2_get_egress_burst_cfg()
73 *burst_exp = ilog2(burst) ? ilog2(burst) - 1 : 0; in otx2_get_egress_burst_cfg()
74 tmp = burst - rounddown_pow_of_two(burst); in otx2_get_egress_burst_cfg()
75 if (burst < max_mantissa) in otx2_get_egress_burst_cfg()
118 u64 maxrate, u32 burst) in otx2_get_txschq_rate_regval() argument
125 otx2_get_egress_burst_cfg(nic, burst, &burst_exp, &burst_mantissa); in otx2_get_txschq_rate_regval()
146 u32 burst, u64 maxrate) in otx2_set_matchall_egress_rate() argument
165 req->regval[0] = otx2_get_txschq_rate_regval(nic, maxrate, burst); in otx2_set_matchall_egress_rate()
257 err = otx2_set_matchall_egress_rate(nic, entry->police.burst, in otx2_tc_egress_matchall_install()
302 node->burst, node->rate, node->is_pps); in otx2_tc_act_set_hw_police()
326 u64 rate, u32 burst, u32 mark, in otx2_tc_act_set_police() argument
345 node->burst = burst; in otx2_tc_act_set_police()
366 u32 burst, mark = 0; in otx2_tc_parse_actions() local
421 burst = act->police.burst; in otx2_tc_parse_actions()
429 burst = act->police.burst_pkt; in otx2_tc_parse_actions()
455 return otx2_tc_act_set_police(nic, node, f, rate, burst, in otx2_tc_parse_actions()
1247 err = cn10k_set_matchall_ipolicer_rate(nic, entry->police.burst, rate); in otx2_tc_ingress_matchall_install()