Lines Matching defs:index

808  *	@ifindex: index of device
810 * Search for an interface by index. Returns %NULL if the device
832 * @ifindex: index of device
834 * Search for an interface by index. Returns %NULL if the device
869 * @ifindex: index of device
873 * Search for an interface by index. Returns NULL if the device
2370 struct xps_dev_maps *old_maps, int tci, u16 index)
2380 if (map->queues[pos] != index)
2474 static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index)
2476 netif_reset_xps_queues(dev, index, dev->num_tx_queues - index);
2480 u16 index, bool is_rxqs_map)
2487 if (map->queues[pos] != index)
2519 /* Copy xps maps at a given index */
2521 struct xps_dev_maps *new_dev_maps, int index,
2524 int i, tci = index * dev_maps->num_tc;
2540 u16 index, enum xps_map_type type)
2550 WARN_ON_ONCE(index >= dev->num_tx_queues);
2559 dev = netdev_get_tx_queue(dev, index)->sb_dev ? : dev;
2561 tc = netdev_txq_to_tc(dev, index);
2608 map = expand_xps_map(map, j, index, type == XPS_RXQS);
2637 while ((pos < map->len) && (map->queues[pos] != index))
2641 map->queues[map->len++] = index;
2689 netdev_queue_numa_node_write(netdev_get_tx_queue(dev, index),
2708 tci, index);
2744 u16 index)
2749 ret = __netif_set_xps_queue(dev, cpumask_bits(mask), index, XPS_CPUS);
4526 u16 index = skb_get_rx_queue(skb);
4528 if (unlikely(index >= dev->real_num_rx_queues)) {
4532 dev->name, index, dev->real_num_rx_queues);
4535 rxqueue += index;
4616 * @rxq_index: RX queue index
4796 u16 index = skb_get_rx_queue(skb);
4798 if (unlikely(index >= dev->real_num_rx_queues)) {
4802 dev->name, index, dev->real_num_rx_queues);
4806 rxqueue += index;
9682 * to give the index up.
11192 * @new_ifindex: If not zero, specifies device index in the target