Searched refs:queue_size_mask (Results 1 – 2 of 2) sorted by relevance
307 u16 queue_size_mask; in __efa_com_submit_admin_cmd() local312 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() local444 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()
213 u16 queue_size_mask; in __ena_com_submit_admin_cmd() local216 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()