Lines Matching defs:qopt
3548 struct tc_mqprio_qopt *qopt)
3554 .count = qopt->count[tc],
3555 .offset = qopt->offset[tc],
3589 params->mqprio.num_tc = mqprio->qopt.num_tc;
3595 mlx5e_mqprio_build_tc_to_txq(params->mqprio.tc_to_txq, &mqprio->qopt);
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++) {
3652 if (!mqprio->qopt.count[i]) {
3669 if (mqprio->qopt.offset[i] != agg_count) {
3673 agg_count += mqprio->qopt.count[i];
3728 rl = mlx5e_mqprio_rl_create(priv->mdev, mqprio->qopt.num_tc, mqprio->max_rate);
3765 return mlx5e_setup_tc_mqprio_dcb(priv, &mqprio->qopt);