Home
last modified time | relevance | path

Searched refs:next_to_alloc (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/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()
H A Denetc.c786 new = &rx_ring->rx_swbd[rx_ring->next_to_alloc]; in enetc_reuse_page()
789 enetc_bdr_idx_inc(rx_ring, &rx_ring->next_to_alloc); in enetc_reuse_page()
1016 rx_ring->next_to_alloc = i; /* keep track from page reuse */ in enetc_refill_rx_ring()
2240 rx_ring->next_to_alloc = 0; in enetc_setup_rxbdr()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.h131 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()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c738 rx_ring->next_to_alloc = 0; in iavf_clean_rx_ring()
794 rx_ring->next_to_alloc = 0; in iavf_setup_rx_descriptors()
815 rx_ring->next_to_alloc = val; in iavf_release_rx_desc()
1167 u16 nta = rx_ring->next_to_alloc; in iavf_reuse_rx_page()
1173 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
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h396 u16 next_to_alloc; member
H A Di40e_txrx.c1371 u16 nta = rx_ring->next_to_alloc; in i40e_reuse_rx_page()
1377 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in i40e_reuse_rx_page()
1521 rx_ring->next_to_alloc = 0; in i40e_clean_rx_ring()
1573 rx_ring->next_to_alloc = 0; in i40e_setup_rx_descriptors()
1598 rx_ring->next_to_alloc = val; in i40e_release_rx_desc()
/openbmc/linux/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()
H A Dice_txrx.c439 rx_ring->next_to_alloc = 0; in ice_clean_rx_ring()
889 u16 nta = rx_ring->next_to_alloc; in ice_reuse_rx_page()
896 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ice_reuse_rx_page()
/openbmc/linux/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
H A Dfm10k_netdev.c279 rx_ring->next_to_alloc = 0; in fm10k_clean_rx_ring()
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h102 u16 next_to_alloc; member
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()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc.h130 u16 next_to_alloc; member
H A Digc_main.c416 while (i != rx_ring->next_to_alloc) { in igc_clean_rx_ring_page_shared()
471 ring->next_to_alloc = 0; in igc_clean_rx_ring()
569 rx_ring->next_to_alloc = 0; in igc_setup_rx_resources()
2023 u16 nta = rx_ring->next_to_alloc; in igc_reuse_rx_page()
2030 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in igc_reuse_rx_page()
2275 rx_ring->next_to_alloc = i; in igc_alloc_rx_buffers()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb.h343 u16 next_to_alloc; member
H A Digb_main.c4474 rx_ring->next_to_alloc = 0; in igb_setup_rx_resources()
5043 while (i != rx_ring->next_to_alloc) { in igb_clean_rx_ring()
5069 rx_ring->next_to_alloc = 0; in igb_clean_rx_ring()
8439 u16 nta = rx_ring->next_to_alloc; in igb_reuse_rx_page()
8445 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in igb_reuse_rx_page()
9154 rx_ring->next_to_alloc = i; in igb_alloc_rx_buffers()
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_type.h810 u16 next_to_alloc; member
H A Dwx_lib.c376 rx_ring->next_to_alloc = i; in wx_alloc_rx_buffers()
2156 while (i != rx_ring->next_to_alloc) { in wx_clean_rx_ring()
2186 rx_ring->next_to_alloc = 0; in wx_clean_rx_ring()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar.c1279 rx_queue->next_to_alloc = i; in gfar_alloc_rx_buffs()
1321 rx_queue->next_to_alloc = 0; in gfar_init_bds()
2387 u16 nta = rxq->next_to_alloc; in gfar_reuse_rx_page()
2393 rxq->next_to_alloc = (nta < rxq->rx_ring_size) ? nta : 0; in gfar_reuse_rx_page()
H A Dgianfar.h1060 u16 next_to_alloc; member
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h382 u16 next_to_alloc; member

12