• Home
  • Raw
  • Download

Lines Matching refs:tx_rings

331 			if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc) {  in i40e_tx_timeout()
333 vsi->tx_rings[i]->queue_index) { in i40e_tx_timeout()
334 tx_ring = vsi->tx_rings[i]; in i40e_tx_timeout()
442 if (!vsi->tx_rings) in i40e_get_netdev_stats_struct()
450 tx_ring = ACCESS_ONCE(vsi->tx_rings[i]); in i40e_get_netdev_stats_struct()
510 memset(&vsi->tx_rings[i]->stats, 0, in i40e_vsi_reset_stats()
511 sizeof(vsi->tx_rings[i]->stats)); in i40e_vsi_reset_stats()
512 memset(&vsi->tx_rings[i]->tx_stats, 0, in i40e_vsi_reset_stats()
513 sizeof(vsi->tx_rings[i]->tx_stats)); in i40e_vsi_reset_stats()
908 p = ACCESS_ONCE(vsi->tx_rings[q]); in i40e_update_vsi_stats()
2659 err = i40e_setup_tx_descriptors(vsi->tx_rings[i]); in i40e_vsi_setup_tx_resources()
2674 if (!vsi->tx_rings) in i40e_vsi_free_tx_resources()
2678 if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc) in i40e_vsi_free_tx_resources()
2679 i40e_free_tx_resources(vsi->tx_rings[i]); in i40e_vsi_free_tx_resources()
2961 err = i40e_configure_tx_ring(vsi->tx_rings[i]); in i40e_vsi_configure_tx()
3041 tx_ring = vsi->tx_rings[i]; in i40e_vsi_config_dcb_rings()
3055 tx_ring = vsi->tx_rings[i]; in i40e_vsi_config_dcb_rings()
3394 wr32(hw, I40E_QINT_TQCTL(vsi->tx_rings[i]->reg_idx), 0); in i40e_vsi_disable_irq()
3693 struct i40e_ring *tx_ring = vsi->tx_rings[qp_idx]; in i40e_map_vector_to_qp()
4395 if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc) { in i40e_detect_recover_hung_queue()
4396 if (q_idx == vsi->tx_rings[i]->queue_index) { in i40e_detect_recover_hung_queue()
4397 tx_ring = vsi->tx_rings[i]; in i40e_detect_recover_hung_queue()
5251 i40e_clean_tx_ring(vsi->tx_rings[i]); in i40e_down()
7240 vsi->tx_rings = kzalloc(size, GFP_KERNEL); in i40e_vsi_alloc_arrays()
7241 if (!vsi->tx_rings) in i40e_vsi_alloc_arrays()
7243 vsi->rx_rings = &vsi->tx_rings[vsi->alloc_queue_pairs]; in i40e_vsi_alloc_arrays()
7257 kfree(vsi->tx_rings); in i40e_vsi_alloc_arrays()
7362 kfree(vsi->tx_rings); in i40e_vsi_free_arrays()
7363 vsi->tx_rings = NULL; in i40e_vsi_free_arrays()
7425 if (vsi->tx_rings && vsi->tx_rings[0]) { in i40e_vsi_clear_rings()
7427 kfree_rcu(vsi->tx_rings[i], rcu); in i40e_vsi_clear_rings()
7428 vsi->tx_rings[i] = NULL; in i40e_vsi_clear_rings()
7464 vsi->tx_rings[i] = tx_ring; in i40e_alloc_rings()