Home
last modified time | relevance | path

Searched refs:mqprio (Results 1 – 2 of 2) sorted by relevance

/net/sched/
Dsch_mqprio.c45 struct tc_mqprio_qopt_offload mqprio = { { 0 } }; in mqprio_destroy() local
52 &mqprio); in mqprio_destroy()
286 struct tc_mqprio_qopt_offload mqprio = {.qopt = *qopt}; in mqprio_init() local
294 mqprio.flags = priv->flags; in mqprio_init()
296 mqprio.mode = priv->mode; in mqprio_init()
298 mqprio.shaper = priv->shaper; in mqprio_init()
300 for (i = 0; i < mqprio.qopt.num_tc; i++) in mqprio_init()
301 mqprio.min_rate[i] = priv->min_rate[i]; in mqprio_init()
303 for (i = 0; i < mqprio.qopt.num_tc; i++) in mqprio_init()
304 mqprio.max_rate[i] = priv->max_rate[i]; in mqprio_init()
[all …]
Dsch_taprio.c1498 const struct tc_mqprio_qopt *mqprio) in taprio_mqprio_cmp() argument
1502 if (!mqprio || mqprio->num_tc != dev->num_tc) in taprio_mqprio_cmp()
1505 for (i = 0; i < mqprio->num_tc; i++) in taprio_mqprio_cmp()
1506 if (dev->tc_to_txq[i].count != mqprio->count[i] || in taprio_mqprio_cmp()
1507 dev->tc_to_txq[i].offset != mqprio->offset[i]) in taprio_mqprio_cmp()
1511 if (dev->prio_tc_map[i] != mqprio->prio_tc_map[i]) in taprio_mqprio_cmp()
1551 struct tc_mqprio_qopt *mqprio = NULL; in taprio_change() local
1562 mqprio = nla_data(tb[TCA_TAPRIO_ATTR_PRIOMAP]); in taprio_change()
1571 err = taprio_parse_mqprio_opt(dev, mqprio, extack, q->flags); in taprio_change()
1590 if (!taprio_mqprio_cmp(dev, mqprio)) in taprio_change()
[all …]