Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c209 u16 nta = rx_ring->next_to_alloc; in ixgbe_reuse_rx_buffer_zc()
212 nbi = &rx_ring->rx_buffer_info[rx_ring->next_to_alloc]; in ixgbe_reuse_rx_buffer_zc()
215 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ixgbe_reuse_rx_buffer_zc()
237 nta = rx_ring->next_to_alloc; in ixgbe_zca_free()
241 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ixgbe_zca_free()
367 rx_ring->next_to_alloc = i; in __ixgbe_alloc_rx_buffers_zc()
565 while (i != rx_ring->next_to_alloc) { in ixgbe_xsk_clean_rx_ring()
Dixgbe.h338 u16 next_to_alloc; member
Dixgbe_main.c1632 rx_ring->next_to_alloc = i; in ixgbe_alloc_rx_buffers()
1927 u16 nta = rx_ring->next_to_alloc; in ixgbe_reuse_rx_page()
1933 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ixgbe_reuse_rx_page()
5282 while (i != rx_ring->next_to_alloc) { in ixgbe_clean_rx_ring()
5320 rx_ring->next_to_alloc = 0; in ixgbe_clean_rx_ring()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c427 struct i40e_rx_buffer *new_bi = &rx_ring->rx_bi[rx_ring->next_to_alloc]; in i40e_reuse_rx_buffer_zc()
428 u16 nta = rx_ring->next_to_alloc; in i40e_reuse_rx_buffer_zc()
432 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in i40e_reuse_rx_buffer_zc()
458 nta = rx_ring->next_to_alloc; in i40e_zca_free()
462 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in i40e_zca_free()
Di40e_txrx.h409 u16 next_to_alloc; member
Di40e_txrx.c1209 u16 nta = rx_ring->next_to_alloc; in i40e_reuse_rx_page()
1215 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in i40e_reuse_rx_page()
1397 rx_ring->next_to_alloc = 0; in i40e_clean_rx_ring()
1457 rx_ring->next_to_alloc = 0; in i40e_setup_rx_descriptors()
1488 rx_ring->next_to_alloc = val; in i40e_release_rx_desc()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_txrx.h190 u16 next_to_alloc; member
Dice_txrx.c308 rx_ring->next_to_alloc = 0; in ice_clean_rx_ring()
386 rx_ring->next_to_alloc = val; in ice_release_rx_desc()
630 u16 nta = rx_ring->next_to_alloc; in ice_reuse_rx_page()
637 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ice_reuse_rx_page()
Dice_ethtool.c2734 rx_rings[i].next_to_alloc = 0; in ice_set_ringparam()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc.h68 int next_to_alloc; /* Rx */ member
Denetc.c470 rx_ring->next_to_alloc = i; /* keep track from page reuse */ in enetc_refill_rx_ring()
547 new = &rx_ring->rx_swbd[rx_ring->next_to_alloc]; in enetc_reuse_page()
550 enetc_bdr_idx_inc(rx_ring, &rx_ring->next_to_alloc); in enetc_reuse_page()
847 rxr->next_to_alloc = 0; in enetc_alloc_rxbdr()
931 rx_ring->next_to_alloc = 0; in enetc_free_rx_ring()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c703 rx_ring->next_to_alloc = 0; in iavf_clean_rx_ring()
759 rx_ring->next_to_alloc = 0; in iavf_setup_rx_descriptors()
780 rx_ring->next_to_alloc = val; in iavf_release_rx_desc()
1129 u16 nta = rx_ring->next_to_alloc; in iavf_reuse_rx_page()
1135 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in iavf_reuse_rx_page()
Diavf_txrx.h381 u16 next_to_alloc; member
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc.h265 u16 next_to_alloc; member
Digc_main.c364 while (i != rx_ring->next_to_alloc) { in igc_clean_rx_ring()
390 rx_ring->next_to_alloc = 0; in igc_clean_rx_ring()
473 rx_ring->next_to_alloc = 0; in igc_setup_rx_resources()
1347 u16 nta = rx_ring->next_to_alloc; in igc_reuse_rx_page()
1354 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in igc_reuse_rx_page()
1545 rx_ring->next_to_alloc = i; in igc_alloc_rx_buffers()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h102 u16 next_to_alloc; member
Dixgbevf_main.c704 rx_ring->next_to_alloc = i; in ixgbevf_alloc_rx_buffers()
771 u16 nta = rx_ring->next_to_alloc; in ixgbevf_reuse_rx_page()
777 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ixgbevf_reuse_rx_page()
1941 ring->next_to_alloc = 0; in ixgbevf_configure_rx_ring()
2343 while (i != rx_ring->next_to_alloc) { in ixgbevf_clean_rx_ring()
2372 rx_ring->next_to_alloc = 0; in ixgbevf_clean_rx_ring()
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c157 rx_ring->next_to_alloc = i; in fm10k_alloc_rx_buffers()
182 u16 nta = rx_ring->next_to_alloc; in fm10k_reuse_rx_page()
188 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in fm10k_reuse_rx_page()
Dfm10k.h128 u16 next_to_alloc; member
Dfm10k_netdev.c279 rx_ring->next_to_alloc = 0; in fm10k_clean_rx_ring()
Dfm10k_pci.c1012 ring->next_to_alloc = 0; in fm10k_configure_rx_ring()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb.h275 u16 next_to_alloc; member
Digb_main.c4207 rx_ring->next_to_alloc = 0; in igb_setup_rx_resources()
4740 while (i != rx_ring->next_to_alloc) { in igb_clean_rx_ring()
4766 rx_ring->next_to_alloc = 0; in igb_clean_rx_ring()
7920 u16 nta = rx_ring->next_to_alloc; in igb_reuse_rx_page()
7926 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in igb_reuse_rx_page()
8497 rx_ring->next_to_alloc = i; in igb_alloc_rx_buffers()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar.c1303 rx_queue->next_to_alloc = i; in gfar_alloc_rx_buffs()
1345 rx_queue->next_to_alloc = 0; in gfar_init_bds()
2414 u16 nta = rxq->next_to_alloc; in gfar_reuse_rx_page()
2420 rxq->next_to_alloc = (nta < rxq->rx_ring_size) ? nta : 0; in gfar_reuse_rx_page()
Dgianfar.h1017 u16 next_to_alloc; member

12