Searched refs:RX_RING (Results 1 – 3 of 3) sorted by relevance
30 #define RX_RING 1 macro206 (ring_type == RX_RING) ? &q->rx_ring : &q->tx_ring; in hns_rcb_ring_init()209 if (ring_type == RX_RING) { in hns_rcb_ring_init()242 hns_rcb_ring_init(ring, RX_RING); in hns_rcb_init_hw()389 if (ring_type == RX_RING) { in hns_rcb_ring_get_cfg()426 hns_rcb_ring_get_cfg(&ring_pair_cb->q, RX_RING); in hns_rcb_ring_pair_get_cfg()
455 #define RX_RING(x) (((x) & ~(RX_DESC_CNT - 1)) >> (BNXT_PAGE_SHIFT - 4)) macro
607 struct rx_bd *rxbd = &rxr->rx_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_alloc_rx_data()639 prod_bd = &rxr->rx_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_reuse_rx_data()640 cons_bd = &rxr->rx_desc_ring[RX_RING(cons)][RX_IDX(cons)]; in bnxt_reuse_rx_data()660 &rxr->rx_agg_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_alloc_rx_page()750 prod_bd = &rxr->rx_agg_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_reuse_rx_agg_bufs()965 prod_bd = &rxr->rx_desc_ring[RX_RING(prod)][RX_IDX(prod)]; in bnxt_tpa_start()