Searched refs:v_idx (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 530 static int ixgbe_alloc_q_vector(struct ixgbe_adapter *adapter, int v_idx, in ixgbe_alloc_q_vector() argument 546 if (cpu_online(v_idx)) { in ixgbe_alloc_q_vector() 547 cpu = v_idx; in ixgbe_alloc_q_vector() 571 adapter->q_vector[v_idx] = q_vector; in ixgbe_alloc_q_vector() 573 q_vector->v_idx = v_idx; in ixgbe_alloc_q_vector() 662 static void ixgbe_free_q_vector(struct ixgbe_adapter *adapter, int v_idx) in ixgbe_free_q_vector() argument 664 struct ixgbe_q_vector *q_vector = adapter->q_vector[v_idx]; in ixgbe_free_q_vector() 673 adapter->q_vector[v_idx] = NULL; in ixgbe_free_q_vector() 695 int rxr_idx = 0, txr_idx = 0, v_idx = 0; in ixgbe_alloc_q_vectors() local 703 for (; rxr_remaining; v_idx++, q_vectors--) { in ixgbe_alloc_q_vectors() [all …]
|
D | ixgbe_main.c | 1808 int q_vectors, v_idx; in ixgbe_configure_msix() local 1823 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in ixgbe_configure_msix() 1825 q_vector = adapter->q_vector[v_idx]; in ixgbe_configure_msix() 1828 ixgbe_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbe_configure_msix() 1831 ixgbe_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbe_configure_msix() 1853 v_idx); in ixgbe_configure_msix() 1857 ixgbe_set_ivar(adapter, -1, 1, v_idx); in ixgbe_configure_msix() 1862 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITR(v_idx), 1950); in ixgbe_configure_msix() 1953 int v_idx = q_vector->v_idx; in ixgbe_write_eitr() local 1972 IXGBE_WRITE_REG(hw, IXGBE_EITR(v_idx), itr_reg); in ixgbe_write_eitr() [all …]
|
D | ixgbe.h | 319 u16 v_idx; /* index of q_vector within array, also used for member
|
/linux-3.4.99/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 101 static void ixgbevf_write_eitr(struct ixgbevf_adapter *adapter, int v_idx, 276 IXGBE_WRITE_REG(hw, IXGBE_VTEICS, tx_ring->v_idx); in ixgbevf_clean_tx_irq() 639 ixgbevf_irq_enable_queues(adapter, rx_ring->v_idx); in ixgbevf_clean_rxonly() 671 enable_mask |= rx_ring->v_idx; in ixgbevf_clean_rxonly_many() 708 int i, j, q_vectors, v_idx, r_idx; in ixgbevf_configure_msix() local 717 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in ixgbevf_configure_msix() 718 q_vector = adapter->q_vector[v_idx]; in ixgbevf_configure_msix() 725 ixgbevf_set_ivar(adapter, 0, j, v_idx); in ixgbevf_configure_msix() 735 ixgbevf_set_ivar(adapter, 1, j, v_idx); in ixgbevf_configure_msix() 748 ixgbevf_write_eitr(adapter, v_idx, q_vector->eitr); in ixgbevf_configure_msix() [all …]
|
D | ixgbevf.h | 91 u64 v_idx; /* maps directly to the index for this ring in the hardware member 156 int v_idx; /* vector index in list */ member
|
D | ethtool.c | 362 tx_ring[i].v_idx = adapter->tx_ring[i].v_idx; in ixgbevf_set_ringparam() 378 rx_ring[i].v_idx = adapter->rx_ring[i].v_idx; in ixgbevf_set_ringparam()
|
/linux-3.4.99/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 1024 int v_idx; in igb_free_q_vectors() local 1026 for (v_idx = 0; v_idx < adapter->num_q_vectors; v_idx++) { in igb_free_q_vectors() 1027 struct igb_q_vector *q_vector = adapter->q_vector[v_idx]; in igb_free_q_vectors() 1028 adapter->q_vector[v_idx] = NULL; in igb_free_q_vectors() 1143 int v_idx; in igb_alloc_q_vectors() local 1146 for (v_idx = 0; v_idx < adapter->num_q_vectors; v_idx++) { in igb_alloc_q_vectors() 1149 (adapter->num_rx_queues == v_idx)) in igb_alloc_q_vectors() 1168 adapter->q_vector[v_idx] = q_vector; in igb_alloc_q_vectors() 1183 int ring_idx, int v_idx) in igb_map_rx_ring_to_vector() argument 1185 struct igb_q_vector *q_vector = adapter->q_vector[v_idx]; in igb_map_rx_ring_to_vector() [all …]
|
/linux-3.4.99/drivers/edac/ |
D | amd64_edac.c | 1816 unsigned v_idx = err_sym * v_dim; in decode_syndrome() local 1823 if (v_idx < v_end && vectors[v_idx] & i) { in decode_syndrome() 1824 u16 ev_comp = vectors[v_idx++]; in decode_syndrome()
|