Lines Matching refs:tci
2400 struct xps_dev_maps *old_maps, int tci, u16 index) in remove_xps_queue() argument
2406 map = xmap_dereference(dev_maps->attr_map[tci]); in remove_xps_queue()
2420 RCU_INIT_POINTER(old_maps->attr_map[tci], NULL); in remove_xps_queue()
2421 RCU_INIT_POINTER(dev_maps->attr_map[tci], NULL); in remove_xps_queue()
2435 int tci; in remove_xps_queue_cpu() local
2437 for (tci = cpu * num_tc; num_tc--; tci++) { in remove_xps_queue_cpu()
2441 if (!remove_xps_queue(dev_maps, NULL, tci, j)) in remove_xps_queue_cpu()
2555 int i, tci = index * dev_maps->num_tc; in xps_copy_dev_maps() local
2559 for (i = 0; i < dev_maps->num_tc; i++, tci++) { in xps_copy_dev_maps()
2564 map = xmap_dereference(dev_maps->attr_map[tci]); in xps_copy_dev_maps()
2565 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in xps_copy_dev_maps()
2576 int i, j, tci, numa_node_id = -2; in __netif_set_xps_queue() local
2634 tci = j * num_tc + tc; in __netif_set_xps_queue()
2635 map = copy ? xmap_dereference(dev_maps->attr_map[tci]) : NULL; in __netif_set_xps_queue()
2641 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue()
2657 tci = j * num_tc + tc; in __netif_set_xps_queue()
2665 map = xmap_dereference(new_dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2693 for (i = num_tc, tci = j * dev_maps->num_tc; i--; tci++) { in __netif_set_xps_queue()
2694 map = xmap_dereference(dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2699 new_map = xmap_dereference(new_dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2704 RCU_INIT_POINTER(dev_maps->attr_map[tci], NULL); in __netif_set_xps_queue()
2727 tci = j * dev_maps->num_tc; in __netif_set_xps_queue()
2729 for (i = 0; i < dev_maps->num_tc; i++, tci++) { in __netif_set_xps_queue()
2737 tci, index); in __netif_set_xps_queue()
2755 for (i = num_tc, tci = j * num_tc; i--; tci++) { in __netif_set_xps_queue()
2756 new_map = xmap_dereference(new_dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2758 xmap_dereference(dev_maps->attr_map[tci]) : in __netif_set_xps_queue()
3980 struct xps_dev_maps *dev_maps, unsigned int tci) in __get_xps_queue_idx() argument
3986 if (tc >= dev_maps->num_tc || tci >= dev_maps->nr_ids) in __get_xps_queue_idx()
3989 tci *= dev_maps->num_tc; in __get_xps_queue_idx()
3990 tci += tc; in __get_xps_queue_idx()
3992 map = rcu_dereference(dev_maps->attr_map[tci]); in __get_xps_queue_idx()
4023 int tci = sk_rx_queue_get(sk); in get_xps_queue() local
4025 if (tci >= 0) in get_xps_queue()
4027 tci); in get_xps_queue()
4034 unsigned int tci = skb->sender_cpu - 1; in get_xps_queue() local
4037 tci); in get_xps_queue()