• Home
  • Raw
  • Download

Lines Matching refs:rx_buffer

783 				struct ixgbevf_rx_buffer *rx_buffer,  in ixgbevf_add_rx_frag()  argument
787 struct page *page = rx_buffer->page; in ixgbevf_add_rx_frag()
788 unsigned char *va = page_address(page) + rx_buffer->page_offset; in ixgbevf_add_rx_frag()
838 rx_buffer->page_offset ^= IXGBEVF_RX_BUFSZ; in ixgbevf_add_rx_frag()
842 rx_buffer->page_offset += truesize; in ixgbevf_add_rx_frag()
844 if (rx_buffer->page_offset > (PAGE_SIZE - IXGBEVF_RX_BUFSZ)) in ixgbevf_add_rx_frag()
860 struct ixgbevf_rx_buffer *rx_buffer; in ixgbevf_fetch_rx_buffer() local
863 rx_buffer = &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; in ixgbevf_fetch_rx_buffer()
864 page = rx_buffer->page; in ixgbevf_fetch_rx_buffer()
869 rx_buffer->page_offset; in ixgbevf_fetch_rx_buffer()
894 rx_buffer->dma, in ixgbevf_fetch_rx_buffer()
895 rx_buffer->page_offset, in ixgbevf_fetch_rx_buffer()
900 if (ixgbevf_add_rx_frag(rx_ring, rx_buffer, rx_desc, skb)) { in ixgbevf_fetch_rx_buffer()
902 ixgbevf_reuse_rx_page(rx_ring, rx_buffer); in ixgbevf_fetch_rx_buffer()
905 dma_unmap_page(rx_ring->dev, rx_buffer->dma, in ixgbevf_fetch_rx_buffer()
910 rx_buffer->dma = 0; in ixgbevf_fetch_rx_buffer()
911 rx_buffer->page = NULL; in ixgbevf_fetch_rx_buffer()
2152 struct ixgbevf_rx_buffer *rx_buffer; in ixgbevf_clean_rx_ring() local
2154 rx_buffer = &rx_ring->rx_buffer_info[i]; in ixgbevf_clean_rx_ring()
2155 if (rx_buffer->dma) in ixgbevf_clean_rx_ring()
2156 dma_unmap_page(dev, rx_buffer->dma, in ixgbevf_clean_rx_ring()
2158 rx_buffer->dma = 0; in ixgbevf_clean_rx_ring()
2159 if (rx_buffer->page) in ixgbevf_clean_rx_ring()
2160 __free_page(rx_buffer->page); in ixgbevf_clean_rx_ring()
2161 rx_buffer->page = NULL; in ixgbevf_clean_rx_ring()