Home
last modified time | relevance | path

Searched refs:q_depth (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/sys/contrib/ena-com/
H A Dena_eth_com.h111 return io_sq->q_depth - 1 - cnt; in ena_com_free_q_entries()
210 need_update = unreported_comp > (io_cq->q_depth / ENA_COMP_HEAD_THRESH); in ena_com_update_dev_comp_head()
248 if (unlikely((io_cq->head & (io_cq->q_depth - 1)) == 0)) in ena_com_cq_inc_head()
259 masked_head = io_cq->head & (io_cq->q_depth - 1); in ena_com_tx_comp_req_id_get()
277 if (unlikely(*req_id >= io_cq->q_depth)) { in ena_com_tx_comp_req_id_get()
H A Dena_eth_com.c43 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_get_next_rx_cdesc()
68 tail_masked = io_sq->tail & (io_sq->q_depth - 1); in get_sq_desc_regular_queue()
83 dst_tail_mask = io_sq->tail & (io_sq->q_depth - 1); in ena_com_write_bounce_buffer_to_dev()
112 if (unlikely((io_sq->tail & (io_sq->q_depth - 1)) == 0)) in ena_com_write_bounce_buffer_to_dev()
248 if (unlikely((io_sq->tail & (io_sq->q_depth - 1)) == 0)) in ena_com_sq_update_tail()
257 idx &= (io_cq->q_depth - 1); in ena_com_rx_cdesc_idx_to_ptr()
285 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_cdesc_rx_pkt_get()
582 u16 q_depth = io_cq->q_depth; in ena_com_rx_pkt() local
613 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()
H A Dena_com.c181 aenq->head = aenq->q_depth; in ena_com_admin_init_aenq()
220 command_id, admin_queue->q_depth); in get_comp_ctxt()
255 queue_size_mask = admin_queue->q_depth - 1; in __ena_com_submit_admin_cmd()
261 if (cnt >= admin_queue->q_depth) { in __ena_com_submit_admin_cmd()
317 for (i = 0; i < admin_queue->q_depth; i++) { in ena_com_init_comp_ctxt()
1307 create_cmd.sq_depth = io_sq->q_depth; in ena_com_create_io_sq()
1455 create_cmd.cq_depth = io_cq->q_depth; in ena_com_create_io_cq()
1588 u16 depth = ena_dev->aenq.q_depth; in ena_com_admin_aenq_enable()
1749 size = ADMIN_AENQ_SIZE(aenq->q_depth); in ena_com_admin_destroy()
1947 io_cq->q_depth = ctx->queue_size; in ena_com_create_io_queue()
[all …]
H A Dena_com.h141 u16 q_depth; member
186 u16 q_depth; member
238 u16 q_depth; member
269 u16 q_depth; member
H A Dena_plat.h227 for (i = 0; i < admin_queue->q_depth; i++) { \