Lines Matching refs:tx_ring
370 struct i40e_ring *tx_ring = adapter->tx_rings[t_idx]; in i40evf_map_vector_to_txq() local
372 tx_ring->q_vector = q_vector; in i40evf_map_vector_to_txq()
373 tx_ring->next = q_vector->tx.ring; in i40evf_map_vector_to_txq()
374 tx_ring->vsi = &adapter->vsi; in i40evf_map_vector_to_txq()
375 q_vector->tx.ring = tx_ring; in i40evf_map_vector_to_txq()
1099 struct i40e_ring *tx_ring; in i40evf_alloc_queues() local
1102 tx_ring = kzalloc(sizeof(*tx_ring) * 2, GFP_KERNEL); in i40evf_alloc_queues()
1103 if (!tx_ring) in i40evf_alloc_queues()
1106 tx_ring->queue_index = i; in i40evf_alloc_queues()
1107 tx_ring->netdev = adapter->netdev; in i40evf_alloc_queues()
1108 tx_ring->dev = &adapter->pdev->dev; in i40evf_alloc_queues()
1109 tx_ring->count = adapter->tx_desc_count; in i40evf_alloc_queues()
1110 adapter->tx_rings[i] = tx_ring; in i40evf_alloc_queues()
1112 rx_ring = &tx_ring[1]; in i40evf_alloc_queues()