Lines Matching refs:sw_prod
798 u16 sw_prod = rxr->rx_sw_agg_prod; in bnxt_alloc_rx_page() local
830 if (unlikely(test_bit(sw_prod, rxr->rx_agg_bmap))) in bnxt_alloc_rx_page()
831 sw_prod = bnxt_find_next_agg_idx(rxr, sw_prod); in bnxt_alloc_rx_page()
833 __set_bit(sw_prod, rxr->rx_agg_bmap); in bnxt_alloc_rx_page()
834 rx_agg_buf = &rxr->rx_agg_ring[sw_prod]; in bnxt_alloc_rx_page()
835 rxr->rx_sw_agg_prod = NEXT_RX_AGG(sw_prod); in bnxt_alloc_rx_page()
841 rxbd->rx_bd_opaque = sw_prod; in bnxt_alloc_rx_page()
873 u16 sw_prod = rxr->rx_sw_agg_prod; in bnxt_reuse_rx_agg_bufs() local
894 if (unlikely(test_bit(sw_prod, rxr->rx_agg_bmap))) in bnxt_reuse_rx_agg_bufs()
895 sw_prod = bnxt_find_next_agg_idx(rxr, sw_prod); in bnxt_reuse_rx_agg_bufs()
897 __set_bit(sw_prod, rxr->rx_agg_bmap); in bnxt_reuse_rx_agg_bufs()
898 prod_rx_buf = &rxr->rx_agg_ring[sw_prod]; in bnxt_reuse_rx_agg_bufs()
914 prod_bd->rx_bd_opaque = sw_prod; in bnxt_reuse_rx_agg_bufs()
917 sw_prod = NEXT_RX_AGG(sw_prod); in bnxt_reuse_rx_agg_bufs()
920 rxr->rx_sw_agg_prod = sw_prod; in bnxt_reuse_rx_agg_bufs()