/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.h | 125 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 D | enetc.c | 786 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 D | ocelot_fdma.h | 131 u16 next_to_alloc; member
|
H A D | ocelot_fdma.c | 181 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 D | iavf_txrx.c | 738 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 D | iavf_txrx.h | 384 u16 next_to_alloc; member
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 396 u16 next_to_alloc; member
|
H A D | i40e_txrx.c | 1371 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 D | ice_txrx.h | 312 u16 next_to_alloc; member
|
H A D | ice_txrx_lib.c | 22 rx_ring->next_to_alloc = val; in ice_release_rx_desc()
|
H A D | ice_txrx.c | 439 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 D | fm10k_main.c | 162 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 D | fm10k.h | 128 u16 next_to_alloc; member
|
H A D | fm10k_netdev.c | 279 rx_ring->next_to_alloc = 0; in fm10k_clean_rx_ring()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 102 u16 next_to_alloc; member
|
H A D | ixgbevf_main.c | 702 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 D | igc.h | 130 u16 next_to_alloc; member
|
H A D | igc_main.c | 416 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 D | igb.h | 343 u16 next_to_alloc; member
|
H A D | igb_main.c | 4474 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 D | wx_type.h | 810 u16 next_to_alloc; member
|
H A D | wx_lib.c | 376 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 D | gianfar.c | 1279 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 D | gianfar.h | 1060 u16 next_to_alloc; member
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe.h | 382 u16 next_to_alloc; member
|