Searched refs:complq (Results 1 – 6 of 6) sorted by relevance
43 rx->dqo.complq.num_free_slots = completion_queue_slots; in gve_rx_init_ring_state_dqo()44 rx->dqo.complq.mask = completion_queue_slots - 1; in gve_rx_init_ring_state_dqo()45 rx->dqo.complq.cur_gen_bit = 0; in gve_rx_init_ring_state_dqo()46 rx->dqo.complq.head = 0; in gve_rx_init_ring_state_dqo()83 if (rx->dqo.complq.desc_ring) { in gve_rx_reset_ring_dqo()84 size = sizeof(rx->dqo.complq.desc_ring[0]) * in gve_rx_reset_ring_dqo()86 memset(rx->dqo.complq.desc_ring, 0, size); in gve_rx_reset_ring_dqo()134 completion_queue_slots = rx->dqo.complq.mask + 1; in gve_rx_free_ring_dqo()165 if (rx->dqo.complq.desc_ring) { in gve_rx_free_ring_dqo()166 size = sizeof(rx->dqo.complq.desc_ring[0]) * in gve_rx_free_ring_dqo()[all …]
239 struct gve_rx_compl_queue_dqo complq; member
153 static void idpf_compl_desc_rel(struct idpf_compl_queue *complq) in idpf_compl_desc_rel() argument155 if (!complq->comp) in idpf_compl_desc_rel()158 dma_free_coherent(complq->netdev->dev.parent, complq->size, in idpf_compl_desc_rel()159 complq->comp, complq->dma); in idpf_compl_desc_rel()160 complq->comp = NULL; in idpf_compl_desc_rel()161 complq->next_to_use = 0; in idpf_compl_desc_rel()162 complq->next_to_clean = 0; in idpf_compl_desc_rel()185 idpf_compl_desc_rel(txq_grp->complq); in idpf_tx_desc_rel_all()285 struct idpf_compl_queue *complq) in idpf_compl_desc_alloc() argument287 complq->size = array_size(complq->desc_count, sizeof(*complq->comp)); in idpf_compl_desc_alloc()[all …]
129 (((txq)->num_completions_pending >= (txq)->complq->num_completions ? \131 (txq)->num_completions_pending - (txq)->complq->num_completions)417 struct idpf_compl_queue **complq; member931 struct idpf_compl_queue *complq; member
1473 cpu_to_le16(tx_qgrp->complq->q_id); in idpf_send_config_tx_queues_msg()1491 qi[k].queue_id = cpu_to_le32(tx_qgrp->complq->q_id); in idpf_send_config_tx_queues_msg()1494 qi[k].ring_len = cpu_to_le16(tx_qgrp->complq->desc_count); in idpf_send_config_tx_queues_msg()1495 qi[k].dma_ring_addr = cpu_to_le64(tx_qgrp->complq->dma); in idpf_send_config_tx_queues_msg()1497 if (idpf_queue_has(FLOW_SCH_EN, tx_qgrp->complq)) in idpf_send_config_tx_queues_msg()1749 qc[k].start_queue_id = cpu_to_le32(tx_qgrp->complq->q_id); in idpf_send_ena_dis_queues_msg()1884 cpu_to_le16(tx_qgrp->complq->q_vector->v_idx); in idpf_send_map_unmap_queue_vector_msg()1886 cpu_to_le32(tx_qgrp->complq->q_vector->tx_itr_idx); in idpf_send_map_unmap_queue_vector_msg()3334 tx_qgrp->complq->q_id = qids[k]; in __idpf_vport_queue_ids_init()
991 return vport->txq_grps[q_grp].complq->q_vector; in idpf_find_txq_vec()