Home
last modified time | relevance | path

Searched refs:cleaned_count (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c254 u16 cleaned_count = ixgbe_desc_unused(rx_ring); in ixgbe_clean_rx_irq_zc() local
265 if (cleaned_count >= IXGBE_RX_BUFFER_WRITE) { in ixgbe_clean_rx_irq_zc()
268 cleaned_count); in ixgbe_clean_rx_irq_zc()
269 cleaned_count = 0; in ixgbe_clean_rx_irq_zc()
325 cleaned_count++; in ixgbe_clean_rx_irq_zc()
340 cleaned_count++; in ixgbe_clean_rx_irq_zc()
Dixgbe_txrx_common.h39 bool ixgbe_alloc_rx_buffers_zc(struct ixgbe_ring *rx_ring, u16 cleaned_count);
Dixgbe_main.c1572 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *rx_ring, u16 cleaned_count) in ixgbe_alloc_rx_buffers() argument
1580 if (!cleaned_count) in ixgbe_alloc_rx_buffers()
1616 cleaned_count--; in ixgbe_alloc_rx_buffers()
1617 } while (cleaned_count); in ixgbe_alloc_rx_buffers()
2295 u16 cleaned_count = ixgbe_desc_unused(rx_ring); in ixgbe_clean_rx_irq() local
2314 if (cleaned_count >= IXGBE_RX_BUFFER_WRITE) { in ixgbe_clean_rx_irq()
2315 ixgbe_alloc_rx_buffers(rx_ring, cleaned_count); in ixgbe_clean_rx_irq()
2316 cleaned_count = 0; in ixgbe_clean_rx_irq()
2376 cleaned_count++; in ixgbe_clean_rx_irq()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_xsk.h30 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 cleaned_count);
Di40e_txrx.c1684 bool i40e_alloc_rx_buffers(struct i40e_ring *rx_ring, u16 cleaned_count) in i40e_alloc_rx_buffers() argument
1691 if (!rx_ring->netdev || !cleaned_count) in i40e_alloc_rx_buffers()
1724 cleaned_count--; in i40e_alloc_rx_buffers()
1725 } while (cleaned_count); in i40e_alloc_rx_buffers()
2494 u16 cleaned_count = I40E_DESC_UNUSED(rx_ring); in i40e_clean_rx_irq() local
2516 if (cleaned_count >= clean_threshold) { in i40e_clean_rx_irq()
2518 i40e_alloc_rx_buffers(rx_ring, cleaned_count); in i40e_clean_rx_irq()
2519 cleaned_count = 0; in i40e_clean_rx_irq()
2550 cleaned_count++; in i40e_clean_rx_irq()
2630 cleaned_count += nfrags + 1; in i40e_clean_rx_irq()
Di40e_txrx.h458 bool i40e_alloc_rx_buffers(struct i40e_ring *rxr, u16 cleaned_count);
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c117 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers() argument
124 if (!cleaned_count) in fm10k_alloc_rx_buffers()
152 cleaned_count--; in fm10k_alloc_rx_buffers()
153 } while (cleaned_count); in fm10k_alloc_rx_buffers()
568 u16 cleaned_count = fm10k_desc_unused(rx_ring); in fm10k_clean_rx_irq() local
574 if (cleaned_count >= FM10K_RX_BUFFER_WRITE) { in fm10k_clean_rx_irq()
575 fm10k_alloc_rx_buffers(rx_ring, cleaned_count); in fm10k_clean_rx_irq()
576 cleaned_count = 0; in fm10k_clean_rx_irq()
597 cleaned_count++; in fm10k_clean_rx_irq()
Dfm10k.h481 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count);
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.h10 void wx_alloc_rx_buffers(struct wx_ring *rx_ring, u16 cleaned_count);
Dwx_lib.c329 void wx_alloc_rx_buffers(struct wx_ring *rx_ring, u16 cleaned_count) in wx_alloc_rx_buffers() argument
336 if (!cleaned_count) in wx_alloc_rx_buffers()
368 cleaned_count--; in wx_alloc_rx_buffers()
369 } while (cleaned_count); in wx_alloc_rx_buffers()
626 u16 cleaned_count = wx_desc_unused(rx_ring); in wx_clean_rx_irq() local
635 if (cleaned_count >= WX_RX_BUFFER_WRITE) { in wx_clean_rx_irq()
636 wx_alloc_rx_buffers(rx_ring, cleaned_count); in wx_clean_rx_irq()
637 cleaned_count = 0; in wx_clean_rx_irq()
661 cleaned_count++; in wx_clean_rx_irq()
/linux-6.6.21/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1325 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers() argument
1339 while ((cleaned_count--)) { in pch_gbe_alloc_rx_buffers()
1388 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers_pool() argument
1458 unsigned int cleaned_count = 0; in pch_gbe_clean_tx() local
1549 if (cleaned_count++ == NAPI_POLL_WEIGHT) { in pch_gbe_clean_tx()
1556 cleaned_count); in pch_gbe_clean_tx()
1557 if (cleaned_count > 0) { /*skip this if nothing cleaned*/ in pch_gbe_clean_tx()
1597 unsigned int cleaned_count = 0; in pch_gbe_clean_rx() local
1612 cleaned_count++; in pch_gbe_clean_rx()
1678 if (unlikely(cleaned_count >= PCH_GBE_RX_BUFFER_WRITE)) { in pch_gbe_clean_rx()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c916 bool iavf_alloc_rx_buffers(struct iavf_ring *rx_ring, u16 cleaned_count) in iavf_alloc_rx_buffers() argument
923 if (!rx_ring->netdev || !cleaned_count) in iavf_alloc_rx_buffers()
956 cleaned_count--; in iavf_alloc_rx_buffers()
957 } while (cleaned_count); in iavf_alloc_rx_buffers()
1500 u16 cleaned_count = IAVF_DESC_UNUSED(rx_ring); in iavf_clean_rx_irq() local
1512 if (cleaned_count >= IAVF_RX_BUFFER_WRITE) { in iavf_clean_rx_irq()
1514 iavf_alloc_rx_buffers(rx_ring, cleaned_count); in iavf_clean_rx_irq()
1515 cleaned_count = 0; in iavf_clean_rx_irq()
1559 cleaned_count++; in iavf_clean_rx_irq()
Diavf_txrx.h442 bool iavf_alloc_rx_buffers(struct iavf_ring *rxr, u16 cleaned_count);
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_main.c121 int cleaned_count) in e1000_alloc_dummy_rx_buffers() argument
126 int cleaned_count);
129 int cleaned_count);
4139 int cleaned_count = 0; in e1000_clean_jumbo_rx_irq() local
4167 cleaned_count++; in e1000_clean_jumbo_rx_irq()
4294 if (unlikely(cleaned_count >= E1000_RX_BUFFER_WRITE)) { in e1000_clean_jumbo_rx_irq()
4295 adapter->alloc_rx_buf(adapter, rx_ring, cleaned_count); in e1000_clean_jumbo_rx_irq()
4296 cleaned_count = 0; in e1000_clean_jumbo_rx_irq()
4305 cleaned_count = E1000_DESC_UNUSED(rx_ring); in e1000_clean_jumbo_rx_irq()
4306 if (cleaned_count) in e1000_clean_jumbo_rx_irq()
[all …]
De1000.h253 int cleaned_count);
/linux-6.6.21/drivers/net/thunderbolt/
Dmain.c805 unsigned int cleaned_count = tbnet_available_buffers(&net->rx_ring); in tbnet_poll() local
823 if (cleaned_count >= MAX_SKB_FRAGS) { in tbnet_poll()
824 tbnet_alloc_rx_buffers(net, cleaned_count); in tbnet_poll()
825 cleaned_count = 0; in tbnet_poll()
840 cleaned_count++; in tbnet_poll()
896 if (cleaned_count) in tbnet_poll()
897 tbnet_alloc_rx_buffers(net, cleaned_count); in tbnet_poll()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dnetdev.c647 int cleaned_count, gfp_t gfp) in e1000_alloc_rx_buffers() argument
661 while (cleaned_count--) { in e1000_alloc_rx_buffers()
717 int cleaned_count, gfp_t gfp) in e1000_alloc_rx_buffers_ps() argument
731 while (cleaned_count--) { in e1000_alloc_rx_buffers_ps()
822 int cleaned_count, gfp_t gfp) in e1000_alloc_jumbo_rx_buffers() argument
836 while (cleaned_count--) { in e1000_alloc_jumbo_rx_buffers()
925 int cleaned_count = 0; in e1000_clean_rx_irq() local
956 cleaned_count++; in e1000_clean_rx_irq()
1039 if (cleaned_count >= E1000_RX_BUFFER_WRITE) { in e1000_clean_rx_irq()
1040 adapter->alloc_rx_buf(rx_ring, cleaned_count, in e1000_clean_rx_irq()
[all …]
De1000.h257 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/
Dnetdev.c134 int cleaned_count) in igbvf_alloc_rx_buffers() argument
153 while (cleaned_count--) { in igbvf_alloc_rx_buffers()
254 int cleaned_count = 0; in igbvf_clean_rx_irq() local
284 cleaned_count++; in igbvf_clean_rx_irq()
362 if (cleaned_count >= IGBVF_RX_BUFFER_WRITE) { in igbvf_clean_rx_irq()
363 igbvf_alloc_rx_buffers(rx_ring, cleaned_count); in igbvf_clean_rx_irq()
364 cleaned_count = 0; in igbvf_clean_rx_irq()
375 cleaned_count = igbvf_desc_unused(rx_ring); in igbvf_clean_rx_irq()
377 if (cleaned_count) in igbvf_clean_rx_irq()
378 igbvf_alloc_rx_buffers(rx_ring, cleaned_count); in igbvf_clean_rx_irq()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_main.c2225 static void igc_alloc_rx_buffers(struct igc_ring *rx_ring, u16 cleaned_count) in igc_alloc_rx_buffers() argument
2233 if (!cleaned_count) in igc_alloc_rx_buffers()
2268 cleaned_count--; in igc_alloc_rx_buffers()
2269 } while (cleaned_count); in igc_alloc_rx_buffers()
2582 u16 cleaned_count = igc_desc_unused(rx_ring); in igc_clean_rx_irq() local
2595 if (cleaned_count >= IGC_RX_BUFFER_WRITE) { in igc_clean_rx_irq()
2596 igc_alloc_rx_buffers(rx_ring, cleaned_count); in igc_clean_rx_irq()
2597 cleaned_count = 0; in igc_clean_rx_irq()
2667 cleaned_count++; in igc_clean_rx_irq()
2702 if (cleaned_count) in igc_clean_rx_irq()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_txrx.c744 bool ice_alloc_rx_bufs(struct ice_rx_ring *rx_ring, unsigned int cleaned_count) in ice_alloc_rx_bufs() argument
752 !cleaned_count) in ice_alloc_rx_bufs()
787 cleaned_count--; in ice_alloc_rx_bufs()
788 } while (cleaned_count); in ice_alloc_rx_bufs()
793 return !!cleaned_count; in ice_alloc_rx_bufs()
Dice_txrx.h467 bool ice_alloc_rx_bufs(struct ice_rx_ring *rxr, unsigned int cleaned_count);
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c651 u16 cleaned_count) in ixgbevf_alloc_rx_buffers() argument
658 if (!cleaned_count || !rx_ring->netdev) in ixgbevf_alloc_rx_buffers()
692 cleaned_count--; in ixgbevf_alloc_rx_buffers()
693 } while (cleaned_count); in ixgbevf_alloc_rx_buffers()
1122 u16 cleaned_count = ixgbevf_desc_unused(rx_ring); in ixgbevf_clean_rx_irq() local
1139 if (cleaned_count >= IXGBEVF_RX_BUFFER_WRITE) { in ixgbevf_clean_rx_irq()
1140 ixgbevf_alloc_rx_buffers(rx_ring, cleaned_count); in ixgbevf_clean_rx_irq()
1141 cleaned_count = 0; in ixgbevf_clean_rx_irq()
1200 cleaned_count++; in ixgbevf_clean_rx_irq()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_main.c8898 u16 cleaned_count = igb_desc_unused(rx_ring); in igb_clean_rx_irq() local
8919 if (cleaned_count >= IGB_RX_BUFFER_WRITE) { in igb_clean_rx_irq()
8920 igb_alloc_rx_buffers(rx_ring, cleaned_count); in igb_clean_rx_irq()
8921 cleaned_count = 0; in igb_clean_rx_irq()
8991 cleaned_count++; in igb_clean_rx_irq()
9037 if (cleaned_count) in igb_clean_rx_irq()
9038 igb_alloc_rx_buffers(rx_ring, cleaned_count); in igb_clean_rx_irq()
9090 void igb_alloc_rx_buffers(struct igb_ring *rx_ring, u16 cleaned_count) in igb_alloc_rx_buffers() argument
9098 if (!cleaned_count) in igb_alloc_rx_buffers()
9133 cleaned_count--; in igb_alloc_rx_buffers()
[all …]