Searched refs:dqo (Results 1 – 4 of 4) sorted by relevance
38 buffer_id = rx->dqo.free_buf_states; in gve_alloc_buf_state()42 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state()45 rx->dqo.free_buf_states = buf_state->next; in gve_alloc_buf_state()56 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_buf_state_is_allocated()64 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_free_buf_state()66 buf_state->next = rx->dqo.free_buf_states; in gve_free_buf_state()67 rx->dqo.free_buf_states = buffer_id; in gve_free_buf_state()80 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_dequeue_buf_state()97 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_enqueue_buf_state()107 rx->dqo.buf_states[tail].next = buffer_id; in gve_enqueue_buf_state()[all …]
49 pending_packet = &tx->dqo.pending_packets[index]; in gve_alloc_pending_packet()62 s16 index = pending_packet - tx->dqo.pending_packets; in gve_free_pending_packet()82 for (i = 0; i < tx->dqo.num_pending_packets; i++) { in gve_tx_clean_pending_packets()84 &tx->dqo.pending_packets[i]; in gve_tx_clean_pending_packets()121 if (tx->dqo.compl_ring) { in gve_tx_free_ring_dqo()122 bytes = sizeof(tx->dqo.compl_ring[0]) * in gve_tx_free_ring_dqo()123 (tx->dqo.complq_mask + 1); in gve_tx_free_ring_dqo()124 dma_free_coherent(hdev, bytes, tx->dqo.compl_ring, in gve_tx_free_ring_dqo()126 tx->dqo.compl_ring = NULL; in gve_tx_free_ring_dqo()129 if (tx->dqo.tx_ring) { in gve_tx_free_ring_dqo()[all …]
204 } dqo; member420 } dqo; member
558 cpu_to_be64(rx->dqo.complq.bus); in gve_adminq_create_rx_queue()560 cpu_to_be64(rx->dqo.bufq.bus); in gve_adminq_create_rx_queue()