Home
last modified time | relevance | path

Searched refs:next_to_alloc (Results 1 - 25 of 54) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
H A Denetc.h125 int next_to_alloc; /* Rx */ member
159 if (bdr->next_to_clean > bdr->next_to_alloc) in enetc_swbd_unused()
160 return bdr->next_to_clean - bdr->next_to_alloc - 1; in enetc_swbd_unused()
162 return bdr->bd_count + bdr->next_to_clean - bdr->next_to_alloc - 1; in enetc_swbd_unused()
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_fdma.h122 * @next_to_alloc: Next buffer that needs to be allocated (page reuse or alloc)
131 u16 next_to_alloc; member
H A Docelot_fdma.c181 rx_ring->next_to_alloc = idx; in ocelot_fdma_alloc_rx_buffs()
301 new_rxb = &rx_ring->bufs[rx_ring->next_to_alloc]; in ocelot_fdma_reuse_rx_page()
302 rx_ring->next_to_alloc = ocelot_fdma_idx_next(rx_ring->next_to_alloc, in ocelot_fdma_reuse_rx_page()
339 /* Reuse the free half of the page for the next_to_alloc DCB*/ in ocelot_fdma_get_skb()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_txrx.h286 u16 next_to_alloc; member
H A Dice_txrx_lib.c18 rx_ring->next_to_alloc = val; in ice_release_rx_desc()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c706 rx_ring->next_to_alloc = 0; in iavf_clean_rx_ring()
762 rx_ring->next_to_alloc = 0; in iavf_setup_rx_descriptors()
783 rx_ring->next_to_alloc = val; in iavf_release_rx_desc()
1132 u16 nta = rx_ring->next_to_alloc; in iavf_reuse_rx_page()
1138 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in iavf_reuse_rx_page()
H A Diavf_txrx.h381 u16 next_to_alloc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
H A Denetc.c532 rx_ring->next_to_alloc = i; /* keep track from page reuse */ in enetc_refill_rx_ring()
626 new = &rx_ring->rx_swbd[rx_ring->next_to_alloc]; in enetc_reuse_page()
629 enetc_bdr_idx_inc(rx_ring, &rx_ring->next_to_alloc); in enetc_reuse_page()
934 rxr->next_to_alloc = 0; in enetc_alloc_rxbdr()
1020 rx_ring->next_to_alloc = 0; in enetc_free_rx_ring()
H A Denetc.h71 int next_to_alloc; /* Rx */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c737 rx_ring->next_to_alloc = 0; in iavf_clean_rx_ring()
793 rx_ring->next_to_alloc = 0; in iavf_setup_rx_descriptors()
814 rx_ring->next_to_alloc = val; in iavf_release_rx_desc()
1166 u16 nta = rx_ring->next_to_alloc; in iavf_reuse_rx_page()
1172 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in iavf_reuse_rx_page()
H A Diavf_txrx.h384 u16 next_to_alloc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h379 u16 next_to_alloc; member
H A Di40e_txrx.c1215 u16 nta = rx_ring->next_to_alloc; in i40e_reuse_rx_page()
1221 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in i40e_reuse_rx_page()
1372 rx_ring->next_to_alloc = 0; in i40e_clean_rx_ring()
1424 rx_ring->next_to_alloc = 0; in i40e_setup_rx_descriptors()
1456 rx_ring->next_to_alloc = val; in i40e_release_rx_desc()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h394 u16 next_to_alloc; member
H A Di40e_txrx.c1372 u16 nta = rx_ring->next_to_alloc; in i40e_reuse_rx_page()
1378 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in i40e_reuse_rx_page()
1522 rx_ring->next_to_alloc = 0; in i40e_clean_rx_ring()
1574 rx_ring->next_to_alloc = 0; in i40e_setup_rx_descriptors()
1599 rx_ring->next_to_alloc = val; in i40e_release_rx_desc()
1963 * which will assign the current buffer to the buffer that next_to_alloc is
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_txrx.h312 u16 next_to_alloc; member
H A Dice_txrx_lib.c22 rx_ring->next_to_alloc = val; in ice_release_rx_desc()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c162 rx_ring->next_to_alloc = i; in fm10k_alloc_rx_buffers()
187 u16 nta = rx_ring->next_to_alloc; in fm10k_reuse_rx_page()
193 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in fm10k_reuse_rx_page()
H A Dfm10k.h128 u16 next_to_alloc; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c162 rx_ring->next_to_alloc = i; in fm10k_alloc_rx_buffers()
187 u16 nta = rx_ring->next_to_alloc; in fm10k_reuse_rx_page()
193 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in fm10k_reuse_rx_page()
H A Dfm10k.h128 u16 next_to_alloc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c702 rx_ring->next_to_alloc = i; in ixgbevf_alloc_rx_buffers()
769 u16 nta = rx_ring->next_to_alloc; in ixgbevf_reuse_rx_page()
775 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ixgbevf_reuse_rx_page()
1957 ring->next_to_alloc = 0; in ixgbevf_configure_rx_ring()
2362 while (i != rx_ring->next_to_alloc) { in ixgbevf_clean_rx_ring()
2391 rx_ring->next_to_alloc = 0; in ixgbevf_clean_rx_ring()
H A Dixgbevf.h102 u16 next_to_alloc; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c702 rx_ring->next_to_alloc = i; in ixgbevf_alloc_rx_buffers()
769 u16 nta = rx_ring->next_to_alloc; in ixgbevf_reuse_rx_page()
775 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ixgbevf_reuse_rx_page()
1949 ring->next_to_alloc = 0; in ixgbevf_configure_rx_ring()
2368 while (i != rx_ring->next_to_alloc) { in ixgbevf_clean_rx_ring()
2397 rx_ring->next_to_alloc = 0; in ixgbevf_clean_rx_ring()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc.h100 u16 next_to_alloc; member

Completed in 50 milliseconds

123