Lines Matching refs:ring_prod
1413 u16 ring_prod; in bnx2x_init_rx_rings() local
1451 for (i = 0, ring_prod = 0; in bnx2x_init_rx_rings()
1454 if (bnx2x_alloc_rx_sge(bp, fp, ring_prod, in bnx2x_init_rx_rings()
1462 ring_prod); in bnx2x_init_rx_rings()
1466 ring_prod = 0; in bnx2x_init_rx_rings()
1469 ring_prod = NEXT_SGE_IDX(ring_prod); in bnx2x_init_rx_rings()
1472 fp->rx_sge_prod = ring_prod; in bnx2x_init_rx_rings()
4466 u16 ring_prod, cqe_ring_prod; in bnx2x_alloc_rx_bds() local
4470 cqe_ring_prod = ring_prod = 0; in bnx2x_alloc_rx_bds()
4476 if (bnx2x_alloc_rx_data(bp, fp, ring_prod, GFP_KERNEL) < 0) { in bnx2x_alloc_rx_bds()
4480 ring_prod = NEXT_RX_IDX(ring_prod); in bnx2x_alloc_rx_bds()
4482 WARN_ON(ring_prod <= (i - failure_cnt)); in bnx2x_alloc_rx_bds()
4489 fp->rx_bd_prod = ring_prod; in bnx2x_alloc_rx_bds()