Lines Matching refs:ring_nr
3359 static void bnxt_free_one_rx_ring_skbs(struct bnxt *bp, int ring_nr) in bnxt_free_one_rx_ring_skbs() argument
3361 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[ring_nr]; in bnxt_free_one_rx_ring_skbs()
4133 int ring_nr) in bnxt_alloc_one_rx_ring_skb() argument
4142 ring_nr, i, bp->rx_ring_size); in bnxt_alloc_one_rx_ring_skb()
4152 int ring_nr) in bnxt_alloc_one_rx_ring_page() argument
4161 ring_nr, i, bp->rx_ring_size); in bnxt_alloc_one_rx_ring_page()
4169 static int bnxt_alloc_one_rx_ring(struct bnxt *bp, int ring_nr) in bnxt_alloc_one_rx_ring() argument
4171 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[ring_nr]; in bnxt_alloc_one_rx_ring()
4174 bnxt_alloc_one_rx_ring_skb(bp, rxr, ring_nr); in bnxt_alloc_one_rx_ring()
4179 bnxt_alloc_one_rx_ring_page(bp, rxr, ring_nr); in bnxt_alloc_one_rx_ring()
4231 static int bnxt_init_one_rx_ring(struct bnxt *bp, int ring_nr) in bnxt_init_one_rx_ring() argument
4235 rxr = &bp->rx_ring[ring_nr]; in bnxt_init_one_rx_ring()
4238 netif_queue_set_napi(bp->dev, ring_nr, NETDEV_QUEUE_TYPE_RX, in bnxt_init_one_rx_ring()
4248 return bnxt_alloc_one_rx_ring(bp, ring_nr); in bnxt_init_one_rx_ring()
13239 static int bnxt_hwrm_rx_ring_reset(struct bnxt *bp, int ring_nr) in bnxt_hwrm_rx_ring_reset() argument
13241 struct bnxt_rx_ring_info *rxr = &bp->rx_ring[ring_nr]; in bnxt_hwrm_rx_ring_reset()