Lines Matching refs:tx_ring
373 struct i40e_ring *tx_ring = adapter->tx_rings[t_idx]; in i40evf_map_vector_to_txq() local
375 tx_ring->q_vector = q_vector; in i40evf_map_vector_to_txq()
376 tx_ring->next = q_vector->tx.ring; in i40evf_map_vector_to_txq()
377 tx_ring->vsi = &adapter->vsi; in i40evf_map_vector_to_txq()
378 q_vector->tx.ring = tx_ring; in i40evf_map_vector_to_txq()
1140 struct i40e_ring *tx_ring; in i40evf_alloc_queues() local
1143 tx_ring = kzalloc(sizeof(*tx_ring) * 2, GFP_KERNEL); in i40evf_alloc_queues()
1144 if (!tx_ring) in i40evf_alloc_queues()
1147 tx_ring->queue_index = i; in i40evf_alloc_queues()
1148 tx_ring->netdev = adapter->netdev; in i40evf_alloc_queues()
1149 tx_ring->dev = &adapter->pdev->dev; in i40evf_alloc_queues()
1150 tx_ring->count = adapter->tx_desc_count; in i40evf_alloc_queues()
1152 tx_ring->flags |= I40E_TXR_FLAGS_WB_ON_ITR; in i40evf_alloc_queues()
1153 adapter->tx_rings[i] = tx_ring; in i40evf_alloc_queues()
1155 rx_ring = &tx_ring[1]; in i40evf_alloc_queues()