Lines Matching refs:rx_pg
2731 struct bnx2_sw_pg *rx_pg = &rxr->rx_pg_ring[index]; in bnx2_alloc_rx_page() local
2745 rx_pg->page = page; in bnx2_alloc_rx_page()
2746 dma_unmap_addr_set(rx_pg, mapping, mapping); in bnx2_alloc_rx_page()
2755 struct bnx2_sw_pg *rx_pg = &rxr->rx_pg_ring[index]; in bnx2_free_rx_page() local
2756 struct page *page = rx_pg->page; in bnx2_free_rx_page()
2761 dma_unmap_page(&bp->pdev->dev, dma_unmap_addr(rx_pg, mapping), in bnx2_free_rx_page()
2765 rx_pg->page = NULL; in bnx2_free_rx_page()
3065 struct bnx2_sw_pg *rx_pg; in bnx2_rx_skb() local
3095 rx_pg = &rxr->rx_pg_ring[pg_cons]; in bnx2_rx_skb()
3100 mapping_old = dma_unmap_addr(rx_pg, mapping); in bnx2_rx_skb()
3104 skb_fill_page_desc(skb, i, rx_pg->page, 0, frag_len); in bnx2_rx_skb()
3105 rx_pg->page = NULL; in bnx2_rx_skb()