• Home
  • Raw
  • Download

Lines Matching refs:q_vector

368 	struct ice_q_vector *q_vector = (struct ice_q_vector *)data;  in ice_msix_clean_ctrl_vsi()  local
370 if (!q_vector->tx.ring) in ice_msix_clean_ctrl_vsi()
374 ice_clean_rx_irq(q_vector->rx.ring, FDIR_RX_DESC_CLEAN_BUDGET); in ice_msix_clean_ctrl_vsi()
375 ice_clean_ctrl_tx_irq(q_vector->tx.ring); in ice_msix_clean_ctrl_vsi()
387 struct ice_q_vector *q_vector = (struct ice_q_vector *)data; in ice_msix_clean_rings() local
389 if (!q_vector->tx.ring && !q_vector->rx.ring) in ice_msix_clean_rings()
392 napi_schedule(&q_vector->napi); in ice_msix_clean_rings()
1213 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_clear_rings() local
1215 if (q_vector) { in ice_vsi_clear_rings()
1216 q_vector->tx.ring = NULL; in ice_vsi_clear_rings()
1217 q_vector->rx.ring = NULL; in ice_vsi_clear_rings()
1808 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_cfg_msix() local
1809 u16 reg_idx = q_vector->reg_idx; in ice_vsi_cfg_msix()
1811 ice_cfg_itr(hw, q_vector); in ice_vsi_cfg_msix()
1814 ice_intrl_usec_to_reg(q_vector->intrl, hw->intrl_gran)); in ice_vsi_cfg_msix()
1827 for (q = 0; q < q_vector->num_ring_tx; q++) { in ice_vsi_cfg_msix()
1829 q_vector->tx.itr_idx); in ice_vsi_cfg_msix()
1833 for (q = 0; q < q_vector->num_ring_rx; q++) { in ice_vsi_cfg_msix()
1835 q_vector->rx.itr_idx); in ice_vsi_cfg_msix()
2109 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_set_q_vectors_reg_idx() local
2111 if (!q_vector) { in ice_vsi_set_q_vectors_reg_idx()
2120 q_vector->reg_idx = ice_calc_vf_reg_idx(vf, q_vector); in ice_vsi_set_q_vectors_reg_idx()
2122 q_vector->reg_idx = in ice_vsi_set_q_vectors_reg_idx()
2123 q_vector->v_idx + vsi->base_vector; in ice_vsi_set_q_vectors_reg_idx()
2131 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_set_q_vectors_reg_idx() local
2133 if (q_vector) in ice_vsi_set_q_vectors_reg_idx()
2134 q_vector->reg_idx = 0; in ice_vsi_set_q_vectors_reg_idx()
2372 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_release_msix() local
2373 u16 reg_idx = q_vector->reg_idx; in ice_vsi_release_msix()
2377 for (q = 0; q < q_vector->num_ring_tx; q++) { in ice_vsi_release_msix()
2387 for (q = 0; q < q_vector->num_ring_rx; q++) { in ice_vsi_release_msix()
2705 ice_vsi_rebuild_update_coalesce_intrl(struct ice_q_vector *q_vector, in ice_vsi_rebuild_update_coalesce_intrl() argument
2708 struct ice_hw *hw = &q_vector->vsi->back->hw; in ice_vsi_rebuild_update_coalesce_intrl()
2710 q_vector->intrl = stored_intrl_setting; in ice_vsi_rebuild_update_coalesce_intrl()
2711 wr32(hw, GLINT_RATE(q_vector->reg_idx), in ice_vsi_rebuild_update_coalesce_intrl()
2712 ice_intrl_usec_to_reg(q_vector->intrl, hw->intrl_gran)); in ice_vsi_rebuild_update_coalesce_intrl()
2724 ice_vsi_rebuild_update_coalesce_itr(struct ice_q_vector *q_vector, in ice_vsi_rebuild_update_coalesce_itr() argument
2728 struct ice_hw *hw = &q_vector->vsi->back->hw; in ice_vsi_rebuild_update_coalesce_itr()
2734 wr32(hw, GLINT_ITR(rc->itr_idx, q_vector->reg_idx), in ice_vsi_rebuild_update_coalesce_itr()
2752 struct ice_q_vector *q_vector = vsi->q_vectors[i]; in ice_vsi_rebuild_get_coalesce() local
2754 coalesce[i].itr_tx = q_vector->tx.itr_setting; in ice_vsi_rebuild_get_coalesce()
2755 coalesce[i].itr_rx = q_vector->rx.itr_setting; in ice_vsi_rebuild_get_coalesce()
2756 coalesce[i].intrl = q_vector->intrl; in ice_vsi_rebuild_get_coalesce()
3130 ice_update_ring_stats(tx_ring, &tx_ring->q_vector->tx, pkts, bytes); in ice_update_tx_ring_stats()
3143 ice_update_ring_stats(rx_ring, &rx_ring->q_vector->rx, pkts, bytes); in ice_update_rx_ring_stats()