Lines Matching defs:num_tc
2255 for (tc = 0; tc < c->num_tc; tc++) {
2275 for (tc = 0; tc < c->num_tc; tc++)
2305 if (tc >= params->mqprio.num_tc) {
2307 tc, params->mqprio.num_tc);
2353 for (tc = 0; tc < c->num_tc; tc++)
2670 c->num_tc = mlx5e_get_dcb_num_tc(params);
2711 for (tc = 0; tc < c->num_tc; tc++)
2737 for (tc = 0; tc < c->num_tc; tc++)
3036 old_ntc = netdev->num_tc ? : 1;
3041 ntc = priv->channels.params.mqprio.num_tc;
3103 int i, ch, tc, num_tc;
3106 num_tc = mlx5e_get_dcb_num_tc(&priv->channels.params);
3109 for (tc = 0; tc < num_tc; tc++) {
3123 for (tc = 0; tc < num_tc; tc++) {
3180 * is being changed (real_num_tx_queues, num_tc). Stop all queues to
3560 static void mlx5e_params_mqprio_dcb_set(struct mlx5e_params *params, u8 num_tc)
3563 params->mqprio.num_tc = num_tc;
3564 mlx5e_mqprio_build_default_tc_to_txq(params->mqprio.tc_to_txq, num_tc,
3589 params->mqprio.num_tc = mqprio->qopt.num_tc;
3607 u8 tc = mqprio->num_tc;
3647 if (mqprio->qopt.offset[0] != 0 || mqprio->qopt.num_tc < 1 ||
3648 mqprio->qopt.num_tc > MLX5E_MAX_NUM_MQPRIO_CH_TC)
3651 for (i = 0; i < mqprio->qopt.num_tc; i++) {
3685 static bool mlx5e_mqprio_rate_limit(u8 num_tc, u64 max_rate[])
3689 for (tc = 0; tc < num_tc; tc++)
3696 u8 num_tc, u64 max_rate[])
3701 if (!mlx5e_mqprio_rate_limit(num_tc, max_rate))
3708 err = mlx5e_mqprio_rl_init(rl, mdev, num_tc, max_rate);
3728 rl = mlx5e_mqprio_rl_create(priv->mdev, mqprio->qopt.num_tc, mqprio->max_rate);
5609 rl = mlx5e_mqprio_rl_create(priv->mdev, params->mqprio.num_tc,