Home
last modified time | relevance | path

Searched refs:admin_queue (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_com.c84 static int ena_com_admin_init_sq(struct ena_com_admin_queue *admin_queue) in ena_com_admin_init_sq() argument
86 struct ena_com_admin_sq *sq = &admin_queue->sq; in ena_com_admin_init_sq()
87 u16 size = ADMIN_SQ_SIZE(admin_queue->q_depth); in ena_com_admin_init_sq()
89 sq->entries = dma_alloc_coherent(admin_queue->q_dmadev, size, in ena_com_admin_init_sq()
106 static int ena_com_admin_init_cq(struct ena_com_admin_queue *admin_queue) in ena_com_admin_init_cq() argument
108 struct ena_com_admin_cq *cq = &admin_queue->cq; in ena_com_admin_init_cq()
109 u16 size = ADMIN_CQ_SIZE(admin_queue->q_depth); in ena_com_admin_init_cq()
111 cq->entries = dma_alloc_coherent(admin_queue->q_dmadev, size, in ena_com_admin_init_cq()
175 static struct ena_comp_ctx *get_comp_ctxt(struct ena_com_admin_queue *admin_queue, in get_comp_ctxt() argument
178 if (unlikely(command_id >= admin_queue->q_depth)) { in get_comp_ctxt()
[all …]
Dena_com.h299 struct ena_com_admin_queue admin_queue; member
868 int ena_com_execute_admin_command(struct ena_com_admin_queue *admin_queue,
Dena_ethtool.c170 ptr = (u64 *)&adapter->ena_dev->admin_queue.stats + in ena_dev_admin_queue_stats()
Dena_netdev.c3818 adapter->ena_dev->admin_queue.completion_timeout = in ena_update_hints()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.h77 struct admin_queue *aq; /* NIX/NPA AQ */
442 int rvu_aq_alloc(struct rvu *rvu, struct admin_queue **ad_queue,
444 void rvu_aq_free(struct rvu *rvu, struct admin_queue *aq);
Dcommon.h93 struct admin_queue { struct
Drvu_npa.c21 struct admin_queue *aq = block->aq; in npa_aq_enqueue_wait()
63 struct admin_queue *aq; in rvu_npa_aq_enq_inst()
Drvu.c976 void rvu_aq_free(struct rvu *rvu, struct admin_queue *aq) in rvu_aq_free()
986 int rvu_aq_alloc(struct rvu *rvu, struct admin_queue **ad_queue, in rvu_aq_alloc()
989 struct admin_queue *aq; in rvu_aq_alloc()
Drvu_nix.c581 struct admin_queue *aq = block->aq; in nix_aq_enqueue_wait()
623 struct admin_queue *aq; in rvu_nix_aq_enq_inst()