Home
last modified time | relevance | path

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

/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c38 u16 tail_masked; in get_sq_desc_regular_queue() local
41 tail_masked = io_sq->tail & (io_sq->q_depth - 1); in get_sq_desc_regular_queue()
43 offset = tail_masked * io_sq->desc_entry_size; in get_sq_desc_regular_queue()
Dena_com.c218 u16 tail_masked, cmd_id; in __ena_com_submit_admin_cmd() local
224 tail_masked = admin_queue->sq.tail & queue_size_mask; in __ena_com_submit_admin_cmd()
254 memcpy(&admin_queue->sq.entries[tail_masked], cmd, cmd_size_in_bytes); in __ena_com_submit_admin_cmd()