Searched refs:rx_bi (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 661 if (!rx_ring->rx_bi) in iavf_clean_rx_ring() 671 struct iavf_rx_buffer *rx_bi = &rx_ring->rx_bi[i]; in iavf_clean_rx_ring() local 673 if (!rx_bi->page) in iavf_clean_rx_ring() 680 rx_bi->dma, in iavf_clean_rx_ring() 681 rx_bi->page_offset, in iavf_clean_rx_ring() 686 dma_unmap_page_attrs(rx_ring->dev, rx_bi->dma, in iavf_clean_rx_ring() 691 __page_frag_cache_drain(rx_bi->page, rx_bi->pagecnt_bias); in iavf_clean_rx_ring() 693 rx_bi->page = NULL; in iavf_clean_rx_ring() 694 rx_bi->page_offset = 0; in iavf_clean_rx_ring() 698 memset(rx_ring->rx_bi, 0, bi_size); in iavf_clean_rx_ring() [all …]
|
D | iavf_txrx.h | 333 struct iavf_rx_buffer *rx_bi; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 573 struct xdp_buff *rx_bi = *i40e_rx_bi(rx_ring, i); in i40e_xsk_clean_rx_ring() local 575 if (!rx_bi) in i40e_xsk_clean_rx_ring() 578 xsk_buff_free(rx_bi); in i40e_xsk_clean_rx_ring() 579 rx_bi = NULL; in i40e_xsk_clean_rx_ring()
|
D | i40e_txrx.c | 1201 return &rx_ring->rx_bi[idx]; in i40e_rx_bi() 1310 unsigned long sz = sizeof(*rx_ring->rx_bi) * rx_ring->count; in i40e_alloc_rx_bi() 1312 rx_ring->rx_bi = kzalloc(sz, GFP_KERNEL); in i40e_alloc_rx_bi() 1313 return rx_ring->rx_bi ? 0 : -ENOMEM; in i40e_alloc_rx_bi() 1318 memset(rx_ring->rx_bi, 0, sizeof(*rx_ring->rx_bi) * rx_ring->count); in i40e_clear_rx_bi() 1330 if (!rx_ring->rx_bi) in i40e_clean_rx_ring() 1345 struct i40e_rx_buffer *rx_bi = i40e_rx_bi(rx_ring, i); in i40e_clean_rx_ring() local 1347 if (!rx_bi->page) in i40e_clean_rx_ring() 1354 rx_bi->dma, in i40e_clean_rx_ring() 1355 rx_bi->page_offset, in i40e_clean_rx_ring() [all …]
|
D | i40e_txrx.h | 328 struct i40e_rx_buffer *rx_bi; member
|
D | i40e_ethtool.c | 2037 tx_rings[i].rx_bi = NULL; in i40e_set_ringparam() 2076 rx_rings[i].rx_bi = NULL; in i40e_set_ringparam()
|
D | i40e_main.c | 3333 kfree(ring->rx_bi); in i40e_configure_rx_ring()
|