Lines Matching refs:cl
187 unsigned long cl) in mqprio_queue_get() argument
190 unsigned long ntx = cl - 1 - netdev_get_num_tc(dev); in mqprio_queue_get()
197 static int mqprio_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, in mqprio_graft() argument
201 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); in mqprio_graft()
264 static struct Qdisc *mqprio_leaf(struct Qdisc *sch, unsigned long cl) in mqprio_leaf() argument
266 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); in mqprio_leaf()
284 static void mqprio_put(struct Qdisc *sch, unsigned long cl) in mqprio_put() argument
288 static int mqprio_dump_class(struct Qdisc *sch, unsigned long cl, in mqprio_dump_class() argument
293 if (cl <= netdev_get_num_tc(dev)) { in mqprio_dump_class()
300 dev_queue = mqprio_queue_get(sch, cl); in mqprio_dump_class()
304 int q_idx = cl - netdev_get_num_tc(dev); in mqprio_dump_class()
316 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
320 static int mqprio_dump_class_stats(struct Qdisc *sch, unsigned long cl, in mqprio_dump_class_stats() argument
327 if (cl <= netdev_get_num_tc(dev)) { in mqprio_dump_class_stats()
333 struct netdev_tc_txq tc = dev->tc_to_txq[cl - 1]; in mqprio_dump_class_stats()
362 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); in mqprio_dump_class_stats()