Searched refs:size_mask (Results 1 – 5 of 5) sorted by relevance
65 ring->size_mask = size - 1; in mlx4_en_create_tx_ring()295 ring->cons & ring->size_mask, in mlx4_en_free_tx_buf()318 u32 size_mask = ring->size_mask; in mlx4_en_process_tx_cq() local324 index = cons_index & size_mask; in mlx4_en_process_tx_cq()326 ring_index = ring->cons & size_mask; in mlx4_en_process_tx_cq()338 new_index = be16_to_cpu(cqe->wqe_index) & size_mask; in mlx4_en_process_tx_cq()342 ring_index = (ring_index + ring->last_nr_txbb) & size_mask; in mlx4_en_process_tx_cq()351 index = cons_index & size_mask; in mlx4_en_process_tx_cq()656 index = ring->prod & ring->size_mask; in mlx4_en_xmit()
260 index = ring->cons & ring->size_mask; in mlx4_en_free_rx_buf()278 ring->size_mask = size - 1; in mlx4_en_create_rx_ring()362 ring->size_mask = ring->actual_size - 1; in mlx4_en_activate_rx_rings()551 index = cq->mcq.cons_index & ring->size_mask; in mlx4_en_process_rx_cq()682 index = (cq->mcq.cons_index) & ring->size_mask; in mlx4_en_process_rx_cq()
233 u32 size_mask; member269 u32 size_mask; member
151 u16 size_mask; member
173 f->size_mask = memsz - 1; in bdx_fifo_init()1719 f->m.rptr &= f->m.size_mask; in bdx_tx_cleanup()