Lines Matching refs:q_vector
510 rx_ring->q_index, rx_ring->q_vector->napi.napi_id)) in ice_setup_rx_ring()
986 skb = __napi_alloc_skb(&rx_ring->q_vector->napi, ICE_RX_HDR_SIZE, in ice_construct_skb()
1269 static void __ice_update_sample(struct ice_q_vector *q_vector, in __ice_update_sample() argument
1292 dim_update_sample(q_vector->total_events, packets, bytes, sample); in __ice_update_sample()
1313 static void ice_net_dim(struct ice_q_vector *q_vector) in ice_net_dim() argument
1315 struct ice_ring_container *tx = &q_vector->tx; in ice_net_dim()
1316 struct ice_ring_container *rx = &q_vector->rx; in ice_net_dim()
1321 __ice_update_sample(q_vector, tx, &dim_sample, true); in ice_net_dim()
1328 __ice_update_sample(q_vector, rx, &dim_sample, false); in ice_net_dim()
1362 static void ice_enable_interrupt(struct ice_q_vector *q_vector) in ice_enable_interrupt() argument
1364 struct ice_vsi *vsi = q_vector->vsi; in ice_enable_interrupt()
1365 bool wb_en = q_vector->wb_on_itr; in ice_enable_interrupt()
1379 q_vector->wb_on_itr = false; in ice_enable_interrupt()
1392 wr32(&vsi->back->hw, GLINT_DYN_CTL(q_vector->reg_idx), itr_val); in ice_enable_interrupt()
1409 static void ice_set_wb_on_itr(struct ice_q_vector *q_vector) in ice_set_wb_on_itr() argument
1411 struct ice_vsi *vsi = q_vector->vsi; in ice_set_wb_on_itr()
1414 if (q_vector->wb_on_itr) in ice_set_wb_on_itr()
1421 wr32(&vsi->back->hw, GLINT_DYN_CTL(q_vector->reg_idx), in ice_set_wb_on_itr()
1426 q_vector->wb_on_itr = true; in ice_set_wb_on_itr()
1440 struct ice_q_vector *q_vector = in ice_napi_poll() local
1451 ice_for_each_tx_ring(tx_ring, q_vector->tx) { in ice_napi_poll()
1470 if (unlikely(q_vector->num_ring_rx > 1)) in ice_napi_poll()
1475 budget_per_ring = max_t(int, budget / q_vector->num_ring_rx, 1); in ice_napi_poll()
1480 ice_for_each_rx_ring(rx_ring, q_vector->rx) { in ice_napi_poll()
1501 ice_set_wb_on_itr(q_vector); in ice_napi_poll()
1509 ice_net_dim(q_vector); in ice_napi_poll()
1510 ice_enable_interrupt(q_vector); in ice_napi_poll()
1512 ice_set_wb_on_itr(q_vector); in ice_napi_poll()