Home
last modified time | relevance | path

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

/Linux-v6.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()
436 u16 queue_size_mask; in efa_com_handle_admin_completion() local
441 queue_size_mask = aq->depth - 1; in efa_com_handle_admin_completion()
443 ci = aq->cq.cc & queue_size_mask; in efa_com_handle_admin_completion()
/Linux-v6.1/drivers/net/ethernet/amazon/ena/
Dena_com.c217 u16 queue_size_mask; in __ena_com_submit_admin_cmd() local
220 queue_size_mask = admin_queue->q_depth - 1; in __ena_com_submit_admin_cmd()
222 tail_masked = admin_queue->sq.tail & queue_size_mask; in __ena_com_submit_admin_cmd()
255 queue_size_mask; in __ena_com_submit_admin_cmd()
260 if (unlikely((admin_queue->sq.tail & queue_size_mask) == 0)) in __ena_com_submit_admin_cmd()