Home
last modified time | relevance | path

Searched refs:queue_size_mask (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/efa/
Defa_com.c307 u16 queue_size_mask; in __efa_com_submit_admin_cmd() local
312 queue_size_mask = aq->depth - 1; in __efa_com_submit_admin_cmd()
313 pi = aq->sq.pc & queue_size_mask; in __efa_com_submit_admin_cmd()
318 cmd_id = ctx_id & queue_size_mask; in __efa_com_submit_admin_cmd()
319 cmd_id |= aq->sq.pc & ~queue_size_mask; in __efa_com_submit_admin_cmd()
346 if ((aq->sq.pc & queue_size_mask) == 0) in __efa_com_submit_admin_cmd()
438 u16 queue_size_mask; in efa_com_handle_admin_completion() local
444 queue_size_mask = aq->depth - 1; in efa_com_handle_admin_completion()
446 ci = aq->cq.cc & queue_size_mask; in efa_com_handle_admin_completion()
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_com.c213 u16 queue_size_mask; in __ena_com_submit_admin_cmd() local
216 queue_size_mask = admin_queue->q_depth - 1; in __ena_com_submit_admin_cmd()
218 tail_masked = admin_queue->sq.tail & queue_size_mask; in __ena_com_submit_admin_cmd()
250 queue_size_mask; in __ena_com_submit_admin_cmd()
255 if (unlikely((admin_queue->sq.tail & queue_size_mask) == 0)) in __ena_com_submit_admin_cmd()