Searched refs:rx_page (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 698 if (rx_page_desc[i].rx_page[j].addr != NULL) { in atl1e_clean_rx_ring() 699 memset(rx_page_desc[i].rx_page[j].addr, 0, in atl1e_clean_rx_ring() 758 *rx_page_desc[i].rx_page[j].write_offset_addr = 0; in atl1e_init_ring_ptrs() 759 rx_page_desc[i].rx_page[j].read_offset = 0; in atl1e_init_ring_ptrs() 842 rx_page_desc[i].rx_page[j].dma = in atl1e_setup_ring_resources() 844 rx_page_desc[i].rx_page[j].addr = in atl1e_setup_ring_resources() 857 rx_page_desc[i].rx_page[j].write_offset_dma = in atl1e_setup_ring_resources() 859 rx_page_desc[i].rx_page[j].write_offset_addr = in atl1e_setup_ring_resources() 909 page_phy_addr = rx_page_desc[i].rx_page[j].dma; in atl1e_configure_des_ring() 911 rx_page_desc[i].rx_page[j].write_offset_dma; in atl1e_configure_des_ring() [all …]
|
D | atl1e.h | 390 struct atl1e_rx_page rx_page[AT_PAGE_NUM_PER_QUEUE]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | dma.c | 446 buf = page_frag_alloc(&q->rx_page, q->buf_size, GFP_ATOMIC); in mt76_dma_rx_fill() 488 if (!q->rx_page.va) in mt76_dma_rx_cleanup() 491 page = virt_to_page(q->rx_page.va); in mt76_dma_rx_cleanup() 492 __page_frag_cache_drain(page, q->rx_page.pagecnt_bias); in mt76_dma_rx_cleanup() 493 memset(&q->rx_page, 0, sizeof(q->rx_page)); in mt76_dma_rx_cleanup()
|
D | usb.c | 384 data = page_frag_alloc(&q->rx_page, q->buf_size, gfp); in mt76u_fill_rx_sg() 418 urb->transfer_buffer = page_frag_alloc(&q->rx_page, q->buf_size, gfp); in mt76u_refill_rx() 743 if (!q->rx_page.va) in mt76u_free_rx_queue() 746 page = virt_to_page(q->rx_page.va); in mt76u_free_rx_queue() 747 __page_frag_cache_drain(page, q->rx_page.pagecnt_bias); in mt76u_free_rx_queue() 748 memset(&q->rx_page, 0, sizeof(q->rx_page)); in mt76u_free_rx_queue()
|
D | mt76.h | 140 struct page_frag_cache rx_page; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 947 if (adapter->rx_page) { in atl1c_free_ring_resources() 948 put_page(adapter->rx_page); in atl1c_free_ring_resources() 949 adapter->rx_page = NULL; in atl1c_free_ring_resources() 1662 page = adapter->rx_page; in atl1c_alloc_skb() 1664 adapter->rx_page = page = alloc_page(GFP_ATOMIC); in atl1c_alloc_skb() 1676 adapter->rx_page = NULL; in atl1c_alloc_skb()
|
D | atl1c.h | 509 struct page *rx_page; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 900 struct page *rx_page; member
|
D | bnxt.c | 842 page = rxr->rx_page; in bnxt_alloc_rx_page() 847 rxr->rx_page = page; in bnxt_alloc_rx_page() 853 rxr->rx_page = NULL; in bnxt_alloc_rx_page() 2747 if (rxr->rx_page) { in bnxt_free_one_rx_ring_skbs() 2748 __free_page(rxr->rx_page); in bnxt_free_one_rx_ring_skbs() 2749 rxr->rx_page = NULL; in bnxt_free_one_rx_ring_skbs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 857 u64 rx_page, rx_buf; in i40e_update_vsi_stats() local 881 rx_page = 0; in i40e_update_vsi_stats() 915 rx_page += p->rx_stats.alloc_page_failed; in i40e_update_vsi_stats() 941 vsi->rx_page_failed = rx_page; in i40e_update_vsi_stats()
|