Lines Matching refs:cons
224 ring->cons = 0xffffffff; in mlx4_en_activate_tx_ring()
317 ring->cons += ring->last_nr_txbb; in mlx4_en_free_tx_buf()
319 ring->cons, ring->prod); in mlx4_en_free_tx_buf()
321 if ((u32) (ring->prod - ring->cons) > ring->size) { in mlx4_en_free_tx_buf()
326 while (ring->cons != ring->prod) { in mlx4_en_free_tx_buf()
328 ring->cons & ring->size_mask); in mlx4_en_free_tx_buf()
329 ring->cons += ring->last_nr_txbb; in mlx4_en_free_tx_buf()
343 wqs = ring->size - (ring->prod - ring->cons); in mlx4_en_tx_ring_is_full()
369 ring_index = ring->cons & size_mask; in mlx4_en_process_tx_cq()
399 !!((ring->cons + txbbs_stamp) & in mlx4_en_process_tx_cq()
418 ring->cons += txbbs_skipped; in mlx4_en_process_tx_cq()
452 inflight = (u32) (ring->prod - ring->cons - ring->last_nr_txbb); in mlx4_en_poll_tx_cq()
676 (u32) (ring->prod - ring->cons - 1)); in mlx4_en_xmit()