/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.h | 158 int next_to_alloc; /* Rx */ member 192 if (bdr->next_to_clean > bdr->next_to_alloc) in enetc_swbd_unused() 193 return bdr->next_to_clean - bdr->next_to_alloc - 1; in enetc_swbd_unused() 195 return bdr->bd_count + bdr->next_to_clean - bdr->next_to_alloc - 1; in enetc_swbd_unused()
|
H A D | enetc.c | 1099 new = &rx_ring->rx_swbd[rx_ring->next_to_alloc]; in enetc_reuse_page() 1102 enetc_bdr_idx_inc(rx_ring, &rx_ring->next_to_alloc); in enetc_reuse_page() 1330 rx_ring->next_to_alloc = i; /* keep track from page reuse */ in enetc_refill_rx_ring() 2590 rx_ring->next_to_alloc = 0; in enetc_setup_rxbdr()
|
/linux/drivers/net/ethernet/huawei/hinic3/ |
H A D | hinic3_rx.h | 78 u16 next_to_alloc; member
|
H A D | hinic3_rx.c | 99 rxq->next_to_alloc = rxq->next_to_update; in hinic3_rx_fill_buffers()
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.h | 122 * @next_to_alloc: Next buffer that needs to be allocated (page reuse or alloc) 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() 339 /* Reuse the free half of the page for the next_to_alloc DCB*/ in ocelot_fdma_get_skb()
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.h | 500 * @next_to_alloc: RX buffer to allocate at 547 u16 next_to_alloc; member 710 * @next_to_alloc: RX buffer to allocate at 737 u32 next_to_alloc; member
|
H A D | idpf_txrx.c | 485 rxq->next_to_alloc = 0; in idpf_rx_desc_rel() 508 bufq->next_to_alloc = 0; in idpf_rx_desc_rel_bufq() 641 u16 nta = bufq->next_to_alloc; in idpf_rx_post_buf_desc() 672 bufq->next_to_alloc = nta; in idpf_rx_post_buf_desc() 694 idpf_rx_buf_hw_update(bufq, ALIGN_DOWN(bufq->next_to_alloc, in idpf_rx_post_init_bufs() 880 rxq->next_to_alloc = 0; in idpf_rx_desc_alloc() 907 bufq->next_to_alloc = 0; in idpf_bufq_desc_alloc() 3571 u16 bufq_nta = bufq->next_to_alloc; in idpf_rx_clean_refillq() 3620 bufq->next_to_alloc = bufq_nta; in idpf_rx_clean_refillq()
|
H A D | idpf_lib.c | 1356 writel(q->next_to_alloc, q->tail); in idpf_rx_init_buf_tail() 1363 writel(q->next_to_alloc, q->tail); in idpf_rx_init_buf_tail()
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_vf_lib.c | 261 ring->next_to_alloc = 0; in wx_configure_rx_ring_vf()
|
H A D | wx_lib.c | 371 rx_ring->next_to_alloc = i; in wx_alloc_rx_buffers() 2421 while (i != rx_ring->next_to_alloc) { in wx_clean_rx_ring() 2451 rx_ring->next_to_alloc = 0; in wx_clean_rx_ring()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.h | 325 u16 next_to_alloc; member
|
H A D | ice_txrx.c | 438 rx_ring->next_to_alloc = 0; in ice_clean_rx_ring() 830 * which will assign the current buffer to the buffer that next_to_alloc is 918 u16 nta = rx_ring->next_to_alloc; in ice_reuse_rx_page() 925 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ice_reuse_rx_page()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 397 u16 next_to_alloc; member
|
H A D | i40e_txrx.c | 1369 u16 nta = rx_ring->next_to_alloc; in i40e_reuse_rx_page() 1375 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in i40e_reuse_rx_page() 1518 rx_ring->next_to_alloc = 0; in i40e_clean_rx_ring() 1570 rx_ring->next_to_alloc = 0; in i40e_setup_rx_descriptors() 1595 rx_ring->next_to_alloc = val; in i40e_release_rx_desc() 1915 * which will assign the current buffer to the buffer that next_to_alloc is
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 161 rx_ring->next_to_alloc = i; in fm10k_alloc_rx_buffers() 186 u16 nta = rx_ring->next_to_alloc; in fm10k_reuse_rx_page() 192 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()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 706 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() 1950 ring->next_to_alloc = 0; in ixgbevf_configure_rx_ring() 2369 while (i != rx_ring->next_to_alloc) { in ixgbevf_clean_rx_ring() 2398 rx_ring->next_to_alloc = 0; in ixgbevf_clean_rx_ring()
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc.h | 185 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() 2055 u16 nta = rx_ring->next_to_alloc; in igc_reuse_rx_page() 2062 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in igc_reuse_rx_page() 2305 rx_ring->next_to_alloc = i; in igc_alloc_rx_buffers()
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 348 u16 next_to_alloc; member
|
/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 1272 rx_queue->next_to_alloc = i; in gfar_alloc_rx_buffs() 1314 rx_queue->next_to_alloc = 0; in gfar_init_bds() 2348 u16 nta = rxq->next_to_alloc; in gfar_reuse_rx_page() 2354 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
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe.h | 386 u16 next_to_alloc; member
|