Lines Matching refs:q_vector

519 				     rx_ring->q_index, rx_ring->q_vector->napi.napi_id))  in ice_setup_rx_ring()
1055 skb = __napi_alloc_skb(&rx_ring->q_vector->napi, ICE_RX_HDR_SIZE, in ice_construct_skb()
1334 static void __ice_update_sample(struct ice_q_vector *q_vector, in __ice_update_sample() argument
1367 dim_update_sample(q_vector->total_events, packets, bytes, sample); in __ice_update_sample()
1388 static void ice_net_dim(struct ice_q_vector *q_vector) in ice_net_dim() argument
1390 struct ice_ring_container *tx = &q_vector->tx; in ice_net_dim()
1391 struct ice_ring_container *rx = &q_vector->rx; in ice_net_dim()
1396 __ice_update_sample(q_vector, tx, &dim_sample, true); in ice_net_dim()
1403 __ice_update_sample(q_vector, rx, &dim_sample, false); in ice_net_dim()
1437 static void ice_enable_interrupt(struct ice_q_vector *q_vector) in ice_enable_interrupt() argument
1439 struct ice_vsi *vsi = q_vector->vsi; in ice_enable_interrupt()
1440 bool wb_en = q_vector->wb_on_itr; in ice_enable_interrupt()
1454 q_vector->wb_on_itr = false; in ice_enable_interrupt()
1467 wr32(&vsi->back->hw, GLINT_DYN_CTL(q_vector->reg_idx), itr_val); in ice_enable_interrupt()
1484 static void ice_set_wb_on_itr(struct ice_q_vector *q_vector) in ice_set_wb_on_itr() argument
1486 struct ice_vsi *vsi = q_vector->vsi; in ice_set_wb_on_itr()
1489 if (q_vector->wb_on_itr) in ice_set_wb_on_itr()
1496 wr32(&vsi->back->hw, GLINT_DYN_CTL(q_vector->reg_idx), in ice_set_wb_on_itr()
1501 q_vector->wb_on_itr = true; in ice_set_wb_on_itr()
1515 struct ice_q_vector *q_vector = in ice_napi_poll() local
1526 ice_for_each_tx_ring(tx_ring, q_vector->tx) { in ice_napi_poll()
1545 if (unlikely(q_vector->num_ring_rx > 1)) in ice_napi_poll()
1550 budget_per_ring = max_t(int, budget / q_vector->num_ring_rx, 1); in ice_napi_poll()
1555 ice_for_each_rx_ring(rx_ring, q_vector->rx) { in ice_napi_poll()
1576 ice_set_wb_on_itr(q_vector); in ice_napi_poll()
1584 ice_net_dim(q_vector); in ice_napi_poll()
1585 ice_enable_interrupt(q_vector); in ice_napi_poll()
1587 ice_set_wb_on_itr(q_vector); in ice_napi_poll()