Lines Matching defs:index

820  *	@ifindex: index of device
822 * Search for an interface by index. Returns %NULL if the device
845 * @ifindex: index of device
847 * Search for an interface by index. Returns %NULL if the device
882 * @ifindex: index of device
886 * Search for an interface by index. Returns NULL if the device
2415 struct xps_dev_maps *old_maps, int tci, u16 index)
2425 if (map->queues[pos] != index)
2519 static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index)
2521 netif_reset_xps_queues(dev, index, dev->num_tx_queues - index);
2525 u16 index, bool is_rxqs_map)
2532 if (map->queues[pos] != index)
2564 /* Copy xps maps at a given index */
2566 struct xps_dev_maps *new_dev_maps, int index,
2569 int i, tci = index * dev_maps->num_tc;
2585 u16 index, enum xps_map_type type)
2595 WARN_ON_ONCE(index >= dev->num_tx_queues);
2604 dev = netdev_get_tx_queue(dev, index)->sb_dev ? : dev;
2606 tc = netdev_txq_to_tc(dev, index);
2653 map = expand_xps_map(map, j, index, type == XPS_RXQS);
2682 while ((pos < map->len) && (map->queues[pos] != index))
2686 map->queues[map->len++] = index;
2734 netdev_queue_numa_node_write(netdev_get_tx_queue(dev, index),
2753 tci, index);
2789 u16 index)
2794 ret = __netif_set_xps_queue(dev, cpumask_bits(mask), index, XPS_CPUS);
4572 u16 index = skb_get_rx_queue(skb);
4574 if (unlikely(index >= dev->real_num_rx_queues)) {
4578 dev->name, index, dev->real_num_rx_queues);
4581 rxqueue += index;
4662 * @rxq_index: RX queue index
4841 u16 index = skb_get_rx_queue(skb);
4843 if (unlikely(index >= dev->real_num_rx_queues)) {
4847 dev->name, index, dev->real_num_rx_queues);
4851 rxqueue += index;
9622 * to give the index up.
11113 * @new_ifindex: If not zero, specifies device index in the target