| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.h | 169 int next_to_alloc; /* Rx */ 203 if (bdr->next_to_clean > bdr->next_to_alloc) in enetc_swbd_unused() 204 return bdr->next_to_clean - bdr->next_to_alloc - 1; in enetc_swbd_unused() 206 return bdr->bd_count + bdr->next_to_clean - bdr->next_to_alloc - 1; in enetc_swbd_unused() 168 int next_to_alloc; /* Rx */ global() member
|
| H A D | enetc.c | 1168 new = &rx_ring->rx_swbd[rx_ring->next_to_alloc]; in enetc_reuse_page() 1171 enetc_bdr_idx_inc(rx_ring, &rx_ring->next_to_alloc); in enetc_reuse_page() 1401 rx_ring->next_to_alloc = i; /* keep track from page reuse */ in enetc_refill_rx_ring() 2691 rx_ring->next_to_alloc = 0; in enetc_setup_rxbdr()
|
| /linux/drivers/net/ethernet/mscc/ |
| 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()
|
| H A D | ocelot_fdma.h | 131 u16 next_to_alloc; member
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.h | 503 * @next_to_alloc: RX buffer to allocate at 560 u32 next_to_alloc; 749 * @next_to_alloc: RX buffer to allocate at 787 u32 next_to_alloc; 558 u32 next_to_alloc; global() member 781 u32 next_to_alloc; global() member
|
| H A D | idpf_txrx.c | 453 rxq->next_to_alloc = 0; in idpf_rx_desc_rel() 477 bufq->next_to_alloc = 0; in idpf_rx_desc_rel_bufq() 610 u16 nta = bufq->next_to_alloc; in idpf_rx_post_buf_desc() 641 bufq->next_to_alloc = nta; in idpf_rx_post_buf_desc() 663 idpf_rx_buf_hw_update(bufq, ALIGN_DOWN(bufq->next_to_alloc, in idpf_rx_post_init_bufs() 859 rxq->next_to_alloc = 0; in idpf_rx_desc_alloc() 888 bufq->next_to_alloc = 0; in idpf_bufq_desc_alloc() 3767 u16 bufq_nta = bufq->next_to_alloc; in idpf_rx_clean_refillq_all() 3816 bufq->next_to_alloc = bufq_nta;
|
| H A D | xsk.c | 418 bufq->next_to_alloc = bufq->next_to_use; in idpf_xskfq_init()
|
| H A D | idpf_lib.c | 1501 writel(q->next_to_alloc, q->tail); in idpf_vport_open() 1508 writel(q->next_to_alloc, q->tail); in idpf_vport_open()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_vf_lib.c | 281 ring->next_to_alloc = 0; in wx_configure_rx_ring_vf()
|
| H A D | wx_lib.c | 365 rx_ring->next_to_alloc = i; in wx_alloc_rx_buffers() 2639 while (i != rx_ring->next_to_alloc) { in wx_clean_rx_ring() 2669 rx_ring->next_to_alloc = 0; in wx_clean_rx_ring()
|
| H A D | wx_type.h | 1109 u16 next_to_alloc; member
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_txrx.h | 402 u16 next_to_alloc; 397 u16 next_to_alloc; global() member
|
| H A D | i40e_txrx.c | 1366 u16 nta = rx_ring->next_to_alloc; in i40e_reuse_rx_page() 1372 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() 1568 rx_ring->next_to_alloc = 0; in i40e_setup_rx_descriptors() 1593 rx_ring->next_to_alloc = val; in i40e_release_rx_desc() 1913 * which will assign the current buffer to the buffer that next_to_alloc is
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf.h | 102 u16 next_to_alloc; member
|
| /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/igc/ |
| H A D | igc.h | 186 u16 next_to_alloc; member
|
| H A D | igc_main.c | 423 while (i != rx_ring->next_to_alloc) { in igc_clean_rx_ring_page_shared() 478 ring->next_to_alloc = 0; in igc_clean_rx_ring() 576 rx_ring->next_to_alloc = 0; in igc_setup_rx_resources() 2056 u16 nta = rx_ring->next_to_alloc; in igc_reuse_rx_page() 2063 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in igc_reuse_rx_page() 2306 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
|
| H A D | igb_main.c | 4476 rx_ring->next_to_alloc = 0; in igb_setup_rx_resources() 5078 while (i != rx_ring->next_to_alloc) { in igb_clean_rx_ring() 5105 rx_ring->next_to_alloc = 0; in igb_clean_rx_ring() 8529 u16 nta = rx_ring->next_to_alloc; in igb_reuse_rx_page() 8535 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in igb_reuse_rx_page() 9266 rx_ring->next_to_alloc = i; in igb_alloc_rx_buffers()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar.c | 1276 rx_queue->next_to_alloc = i; in gfar_alloc_rx_buffs() 1318 rx_queue->next_to_alloc = 0; in gfar_init_bds() 2350 u16 nta = rxq->next_to_alloc; in gfar_reuse_rx_page() 2356 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 | 387 u16 next_to_alloc; member
|
| H A D | ixgbe_main.c | 1840 rx_ring->next_to_alloc = i; in ixgbe_alloc_rx_buffers() 2132 u16 nta = rx_ring->next_to_alloc; in ixgbe_reuse_rx_page() 2138 rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0; in ixgbe_reuse_rx_page() 5752 while (i != rx_ring->next_to_alloc) { in ixgbe_clean_rx_ring() 5790 rx_ring->next_to_alloc = 0; in ixgbe_clean_rx_ring()
|