Lines Matching refs:tc
1229 int num_tc, tc; in traffic_class_show() local
1244 tc = netdev_txq_to_tc(dev, index); in traffic_class_show()
1248 if (tc < 0) in traffic_class_show()
1258 return num_tc < 0 ? sprintf(buf, "%d%d\n", tc, num_tc) : in traffic_class_show()
1259 sprintf(buf, "%d\n", tc); in traffic_class_show()
1421 int tc, char *buf, enum xps_map_type type) in xps_queue_show() argument
1443 if (!dev_maps || tc >= dev_maps->num_tc) in xps_queue_show()
1447 int i, tci = j * dev_maps->num_tc + tc; in xps_queue_show()
1474 int len, tc; in xps_cpus_show() local
1487 tc = netdev_txq_to_tc(dev, index); in xps_cpus_show()
1488 if (tc < 0) { in xps_cpus_show()
1497 len = xps_queue_show(dev, index, tc, buf, XPS_CPUS); in xps_cpus_show()
1548 int tc; in xps_rxqs_show() local
1555 tc = netdev_txq_to_tc(dev, index); in xps_rxqs_show()
1557 if (tc < 0) in xps_rxqs_show()
1560 return xps_queue_show(dev, index, tc, buf, XPS_RXQS); in xps_rxqs_show()