Lines Matching refs:tc
1440 int num_tc, tc, index, ret; in traffic_class_show() local
1455 tc = netdev_txq_to_tc(dev, index); in traffic_class_show()
1459 if (tc < 0) in traffic_class_show()
1469 return num_tc < 0 ? sysfs_emit(buf, "%d%d\n", tc, num_tc) : in traffic_class_show()
1470 sysfs_emit(buf, "%d\n", tc); in traffic_class_show()
1712 int tc, char *buf, enum xps_map_type type) in xps_queue_show() argument
1734 if (!dev_maps || tc >= dev_maps->num_tc) in xps_queue_show()
1738 int i, tci = j * dev_maps->num_tc + tc; in xps_queue_show()
1766 int len, tc, ret; in xps_cpus_show() local
1780 tc = netdev_txq_to_tc(dev, index); in xps_cpus_show()
1781 if (tc < 0) { in xps_cpus_show()
1792 len = xps_queue_show(dev, index, tc, buf, XPS_CPUS); in xps_cpus_show()
1846 int tc, ret; in xps_rxqs_show() local
1854 tc = netdev_txq_to_tc(dev, index); in xps_rxqs_show()
1862 ret = tc >= 0 ? xps_queue_show(dev, index, tc, buf, XPS_RXQS) : -EINVAL; in xps_rxqs_show()