Lines Matching refs:new_rl
3197 struct mlx5_rate_limit new_rl = old_rl; in modify_raw_packet_qp_sq() local
3221 new_rl = raw_qp_param->rl; in modify_raw_packet_qp_sq()
3224 if (!mlx5_rl_are_equal(&old_rl, &new_rl)) { in modify_raw_packet_qp_sq()
3225 if (new_rl.rate) { in modify_raw_packet_qp_sq()
3226 err = mlx5_rl_add_rate(dev, &rl_index, &new_rl); in modify_raw_packet_qp_sq()
3230 err, new_rl.rate, new_rl.max_burst_sz, in modify_raw_packet_qp_sq()
3231 new_rl.typical_pkt_sz); in modify_raw_packet_qp_sq()
3247 mlx5_rl_remove_rate(dev, &new_rl); in modify_raw_packet_qp_sq()
3252 if ((old_rl.rate && !mlx5_rl_are_equal(&old_rl, &new_rl)) || in modify_raw_packet_qp_sq()
3256 memset(&new_rl, 0, sizeof(new_rl)); in modify_raw_packet_qp_sq()
3259 ibqp->rl = new_rl; in modify_raw_packet_qp_sq()