Lines Matching refs:ring_prod
1401 u16 ring_prod; in bnx2x_init_rx_rings() local
1439 for (i = 0, ring_prod = 0; in bnx2x_init_rx_rings()
1442 if (bnx2x_alloc_rx_sge(bp, fp, ring_prod, in bnx2x_init_rx_rings()
1450 ring_prod); in bnx2x_init_rx_rings()
1454 ring_prod = 0; in bnx2x_init_rx_rings()
1457 ring_prod = NEXT_SGE_IDX(ring_prod); in bnx2x_init_rx_rings()
1460 fp->rx_sge_prod = ring_prod; in bnx2x_init_rx_rings()
4450 u16 ring_prod, cqe_ring_prod; in bnx2x_alloc_rx_bds() local
4454 cqe_ring_prod = ring_prod = 0; in bnx2x_alloc_rx_bds()
4460 if (bnx2x_alloc_rx_data(bp, fp, ring_prod, GFP_KERNEL) < 0) { in bnx2x_alloc_rx_bds()
4464 ring_prod = NEXT_RX_IDX(ring_prod); in bnx2x_alloc_rx_bds()
4466 WARN_ON(ring_prod <= (i - failure_cnt)); in bnx2x_alloc_rx_bds()
4473 fp->rx_bd_prod = ring_prod; in bnx2x_alloc_rx_bds()