/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 254 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()
|
D | ixgbe_txrx_common.h | 39 bool ixgbe_alloc_rx_buffers_zc(struct ixgbe_ring *rx_ring, u16 cleaned_count);
|
D | ixgbe_main.c | 1572 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/ |
D | i40e_xsk.h | 30 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 cleaned_count);
|
D | i40e_txrx.c | 1684 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()
|
D | i40e_txrx.h | 458 bool i40e_alloc_rx_buffers(struct i40e_ring *rxr, u16 cleaned_count);
|
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 117 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()
|
D | fm10k.h | 481 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count);
|
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/ |
D | wx_lib.h | 10 void wx_alloc_rx_buffers(struct wx_ring *rx_ring, u16 cleaned_count);
|
D | wx_lib.c | 329 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/ |
D | pch_gbe_main.c | 1325 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/ |
D | iavf_txrx.c | 916 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()
|
D | iavf_txrx.h | 442 bool iavf_alloc_rx_buffers(struct iavf_ring *rxr, u16 cleaned_count);
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 121 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 …]
|
D | e1000.h | 253 int cleaned_count);
|
/linux-6.6.21/drivers/net/thunderbolt/ |
D | main.c | 805 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/ |
D | netdev.c | 647 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 …]
|
D | e1000.h | 257 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
|
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 134 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/ |
D | igc_main.c | 2225 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/ |
D | ice_txrx.c | 744 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()
|
D | ice_txrx.h | 467 bool ice_alloc_rx_bufs(struct ice_rx_ring *rxr, unsigned int cleaned_count);
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 651 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/ |
D | igb_main.c | 8898 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 …]
|