Home
last modified time | relevance | path

Searched refs:rx_bi (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c696 if (!rx_ring->rx_bi) in iavf_clean_rx_ring()
706 struct iavf_rx_buffer *rx_bi = &rx_ring->rx_bi[i]; in iavf_clean_rx_ring() local
708 if (!rx_bi->page) in iavf_clean_rx_ring()
715 rx_bi->dma, in iavf_clean_rx_ring()
716 rx_bi->page_offset, in iavf_clean_rx_ring()
721 dma_unmap_page_attrs(rx_ring->dev, rx_bi->dma, in iavf_clean_rx_ring()
726 __page_frag_cache_drain(rx_bi->page, rx_bi->pagecnt_bias); in iavf_clean_rx_ring()
728 rx_bi->page = NULL; in iavf_clean_rx_ring()
729 rx_bi->page_offset = 0; in iavf_clean_rx_ring()
733 memset(rx_ring->rx_bi, 0, bi_size); in iavf_clean_rx_ring()
[all …]
Diavf_txrx.h334 struct iavf_rx_buffer *rx_bi; member
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c36 sizeof(*rx_ring->rx_bi); in i40e_realloc_rx_xdp_bi()
43 kfree(rx_ring->rx_bi); in i40e_realloc_rx_xdp_bi()
44 rx_ring->rx_bi = NULL; in i40e_realloc_rx_xdp_bi()
49 rx_ring->rx_bi = sw_ring; in i40e_realloc_rx_xdp_bi()
691 struct xdp_buff *rx_bi = *i40e_rx_bi(rx_ring, ntc); in i40e_xsk_clean_rx_ring() local
693 xsk_buff_free(rx_bi); in i40e_xsk_clean_rx_ring()
Di40e_txrx.c1355 return &rx_ring->rx_bi[idx]; in i40e_rx_bi()
1462 memset(rx_ring->rx_bi, 0, sizeof(*rx_ring->rx_bi) * rx_ring->count); in i40e_clear_rx_bi()
1474 if (!rx_ring->rx_bi) in i40e_clean_rx_ring()
1487 struct i40e_rx_buffer *rx_bi = i40e_rx_bi(rx_ring, i); in i40e_clean_rx_ring() local
1489 if (!rx_bi->page) in i40e_clean_rx_ring()
1496 rx_bi->dma, in i40e_clean_rx_ring()
1497 rx_bi->page_offset, in i40e_clean_rx_ring()
1502 dma_unmap_page_attrs(rx_ring->dev, rx_bi->dma, in i40e_clean_rx_ring()
1507 __page_frag_cache_drain(rx_bi->page, rx_bi->pagecnt_bias); in i40e_clean_rx_ring()
1509 rx_bi->page = NULL; in i40e_clean_rx_ring()
[all …]
Di40e_txrx.h331 struct i40e_rx_buffer *rx_bi; member
Di40e_ethtool.c2137 tx_rings[i].rx_bi = NULL; in i40e_set_ringparam()
2176 rx_rings[i].rx_bi = NULL; in i40e_set_ringparam()