Lines Matching refs:tci
2072 int tci, u16 index) in remove_xps_queue() argument
2078 map = xmap_dereference(dev_maps->attr_map[tci]); in remove_xps_queue()
2091 RCU_INIT_POINTER(dev_maps->attr_map[tci], NULL); in remove_xps_queue()
2105 int tci; in remove_xps_queue_cpu() local
2107 for (tci = cpu * num_tc; num_tc--; tci++) { in remove_xps_queue_cpu()
2111 if (!remove_xps_queue(dev_maps, tci, j)) in remove_xps_queue_cpu()
2246 int i, j, tci, numa_node_id = -2; in __netif_set_xps_queue() local
2294 tci = j * num_tc + tc; in __netif_set_xps_queue()
2295 map = dev_maps ? xmap_dereference(dev_maps->attr_map[tci]) : in __netif_set_xps_queue()
2302 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue()
2318 for (i = tc, tci = j * num_tc; dev_maps && i--; tci++) { in __netif_set_xps_queue()
2320 map = xmap_dereference(dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2321 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue()
2327 tci = j * num_tc + tc; in __netif_set_xps_queue()
2334 map = xmap_dereference(new_dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2350 map = xmap_dereference(dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2351 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue()
2355 for (i = num_tc - tc, tci++; dev_maps && --i; tci++) { in __netif_set_xps_queue()
2357 map = xmap_dereference(dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2358 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue()
2373 for (i = num_tc, tci = j * num_tc; i--; tci++) { in __netif_set_xps_queue()
2374 new_map = xmap_dereference(new_dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2375 map = xmap_dereference(dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2401 for (i = tc, tci = j * num_tc; i--; tci++) in __netif_set_xps_queue()
2402 active |= remove_xps_queue(dev_maps, tci, index); in __netif_set_xps_queue()
2405 active |= remove_xps_queue(dev_maps, tci, index); in __netif_set_xps_queue()
2406 for (i = num_tc - tc, tci++; --i; tci++) in __netif_set_xps_queue()
2407 active |= remove_xps_queue(dev_maps, tci, index); in __netif_set_xps_queue()
2422 for (i = num_tc, tci = j * num_tc; i--; tci++) { in __netif_set_xps_queue()
2423 new_map = xmap_dereference(new_dev_maps->attr_map[tci]); in __netif_set_xps_queue()
2425 xmap_dereference(dev_maps->attr_map[tci]) : in __netif_set_xps_queue()
3556 struct xps_dev_maps *dev_maps, unsigned int tci) in __get_xps_queue_idx() argument
3562 tci *= dev->num_tc; in __get_xps_queue_idx()
3563 tci += netdev_get_prio_tc_map(dev, skb->priority); in __get_xps_queue_idx()
3566 map = rcu_dereference(dev_maps->attr_map[tci]); in __get_xps_queue_idx()
3597 int tci = sk_rx_queue_get(sk); in get_xps_queue() local
3599 if (tci >= 0 && tci < dev->num_rx_queues) in get_xps_queue()
3601 tci); in get_xps_queue()
3608 unsigned int tci = skb->sender_cpu - 1; in get_xps_queue() local
3611 tci); in get_xps_queue()