Home
last modified time | relevance | path

Searched refs:dqo (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c26 rx->dqo.hdr_bufs.data, rx->dqo.hdr_bufs.addr); in gve_rx_free_hdr_bufs()
39 rx->dqo.bufq.head = 0; in gve_rx_init_ring_state_dqo()
40 rx->dqo.bufq.tail = 0; in gve_rx_init_ring_state_dqo()
46 rx->dqo.complq.head = 0; in gve_rx_init_ring_state_dqo()
56 rx->dqo.buf_states[rx->dqo.num_buf_states - 1].next = -1; in gve_rx_init_ring_state_dqo()
117 if (rx->dqo.page_pool) in gve_rx_stop_ring_dqo()
153 if (rx->dqo.qpl) { in gve_rx_free_ring_dqo()
156 rx->dqo.qpl = NULL; in gve_rx_free_ring_dqo()
239 rx->dqo.buf_states = kvcalloc(rx->dqo.num_buf_states, in gve_rx_alloc_ring_dqo()
277 if (!rx->dqo.qpl) in gve_rx_alloc_ring_dqo()
[all …]
H A Dgve_buffer_mgmt_dqo.c20 buffer_id = rx->dqo.free_buf_states; in gve_alloc_buf_state()
24 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state()
27 rx->dqo.free_buf_states = buf_state->next; in gve_alloc_buf_state()
49 rx->dqo.free_buf_states = buffer_id; in gve_free_buf_state()
114 rx->dqo.used_buf_states_cnt--; in gve_get_recycled_buf_state()
130 idx = rx->dqo.next_qpl_page_idx; in gve_alloc_qpl_page_dqo()
138 rx->dqo.next_qpl_page_idx++; in gve_alloc_qpl_page_dqo()
202 rx->dqo.used_buf_states_cnt++; in gve_try_recycle_buf()
263 if (rx->dqo.page_pool) { in gve_free_buffer()
275 if (rx->dqo.page_pool) { in gve_reuse_buffer()
[all …]
H A Dgve_tx_dqo.c21 if (!tx->dqo.qpl) in gve_has_free_tx_qpl_bufs()
240 if (tx->dqo.qpl) { in gve_tx_free_ring_dqo()
243 tx->dqo.qpl = NULL; in gve_tx_free_ring_dqo()
324 tx->dqo.pending_packets = kvcalloc(tx->dqo.num_pending_packets, in gve_tx_alloc_ring_dqo()
334 tx->dqo.pending_packets[tx->dqo.num_pending_packets - 1].next = -1; in gve_tx_alloc_ring_dqo()
346 bytes = sizeof(tx->dqo.compl_ring[0]) * (tx->dqo.complq_mask + 1); in gve_tx_alloc_ring_dqo()
364 if (!tx->dqo.qpl) in gve_tx_alloc_ring_dqo()
785 if (tx->dqo.qpl) { in gve_tx_add_skb_dqo()
927 if (tx->dqo.qpl) { in gve_try_tx_skb()
1105 if (tx->dqo.qpl) in gve_handle_packet_completion()
[all …]
H A Dgve_adminq.c696 qpl_id = tx->dqo.qpl->id; in gve_adminq_create_tx_queue()
753 qpl_id = rx->dqo.qpl->id; in gve_adminq_get_create_rx_queue_cmd()
756 cpu_to_be64(rx->dqo.complq.bus); in gve_adminq_get_create_rx_queue_cmd()
758 cpu_to_be64(rx->dqo.bufq.bus); in gve_adminq_get_create_rx_queue_cmd()
H A Dgve.h297 } dqo; member
602 } dqo; member
H A Dgve_main.c785 return tx->dqo.qpl; in gve_tx_get_qpl()
795 return rx->dqo.qpl; in gve_rx_get_qpl()
1159 rx->dqo.page_pool); in gve_reg_xdp_info()