/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 242 u16 cleaned_count = ixgbe_desc_unused(rx_ring); in ixgbe_clean_rx_irq_zc() local 253 if (cleaned_count >= IXGBE_RX_BUFFER_WRITE) { in ixgbe_clean_rx_irq_zc() 256 cleaned_count); in ixgbe_clean_rx_irq_zc() 257 cleaned_count = 0; in ixgbe_clean_rx_irq_zc() 308 cleaned_count++; in ixgbe_clean_rx_irq_zc() 320 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 | 1577 void ixgbe_alloc_rx_buffers(struct ixgbe_ring *rx_ring, u16 cleaned_count) in ixgbe_alloc_rx_buffers() argument 1585 if (!cleaned_count) in ixgbe_alloc_rx_buffers() 1621 cleaned_count--; in ixgbe_alloc_rx_buffers() 1622 } while (cleaned_count); in ixgbe_alloc_rx_buffers() 2294 u16 cleaned_count = ixgbe_desc_unused(rx_ring); in ixgbe_clean_rx_irq() local 2313 if (cleaned_count >= IXGBE_RX_BUFFER_WRITE) { in ixgbe_clean_rx_irq() 2314 ixgbe_alloc_rx_buffers(rx_ring, cleaned_count); in ixgbe_clean_rx_irq() 2315 cleaned_count = 0; in ixgbe_clean_rx_irq() 2374 cleaned_count++; in ixgbe_clean_rx_irq()
|
/Linux-v5.15/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.h | 31 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 cleaned_count);
|
D | i40e_xsk.c | 329 u16 cleaned_count = I40E_DESC_UNUSED(rx_ring); in i40e_clean_rx_irq_zc() local 381 cleaned_count = (next_to_clean - rx_ring->next_to_use - 1) & count_mask; in i40e_clean_rx_irq_zc() 383 if (cleaned_count >= I40E_RX_BUFFER_WRITE) in i40e_clean_rx_irq_zc() 384 failure = !i40e_alloc_rx_buffers_zc(rx_ring, cleaned_count); in i40e_clean_rx_irq_zc()
|
D | i40e_txrx.c | 1709 bool i40e_alloc_rx_buffers(struct i40e_ring *rx_ring, u16 cleaned_count) in i40e_alloc_rx_buffers() argument 1716 if (!rx_ring->netdev || !cleaned_count) in i40e_alloc_rx_buffers() 1749 cleaned_count--; in i40e_alloc_rx_buffers() 1750 } while (cleaned_count); in i40e_alloc_rx_buffers() 2443 u16 cleaned_count = I40E_DESC_UNUSED(rx_ring); in i40e_clean_rx_irq() local 2464 if (cleaned_count >= I40E_RX_BUFFER_WRITE) { in i40e_clean_rx_irq() 2466 i40e_alloc_rx_buffers(rx_ring, cleaned_count); in i40e_clean_rx_irq() 2467 cleaned_count = 0; in i40e_clean_rx_irq() 2492 cleaned_count++; in i40e_clean_rx_irq() 2543 cleaned_count++; in i40e_clean_rx_irq()
|
D | i40e_txrx.h | 452 bool i40e_alloc_rx_buffers(struct i40e_ring *rxr, u16 cleaned_count);
|
/Linux-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 517 u16 cleaned_count = ICE_DESC_UNUSED(rx_ring); in ice_clean_rx_irq_zc() local 561 cleaned_count++; in ice_clean_rx_irq_zc() 574 cleaned_count++; in ice_clean_rx_irq_zc() 596 if (cleaned_count >= ICE_RX_BUF_WRITE) in ice_clean_rx_irq_zc() 597 failure = !ice_alloc_rx_bufs_zc(rx_ring, cleaned_count); in ice_clean_rx_irq_zc()
|
D | ice_txrx.c | 668 bool ice_alloc_rx_bufs(struct ice_ring *rx_ring, u16 cleaned_count) in ice_alloc_rx_bufs() argument 676 !cleaned_count) in ice_alloc_rx_bufs() 711 cleaned_count--; in ice_alloc_rx_bufs() 712 } while (cleaned_count); in ice_alloc_rx_bufs() 717 return !!cleaned_count; in ice_alloc_rx_bufs() 1066 u16 cleaned_count = ICE_DESC_UNUSED(rx_ring); in ice_clean_rx_irq() local 1117 cleaned_count++; in ice_clean_rx_irq() 1159 cleaned_count++; in ice_clean_rx_irq() 1180 cleaned_count++; in ice_clean_rx_irq() 1221 failure = ice_alloc_rx_bufs(rx_ring, cleaned_count); in ice_clean_rx_irq()
|
D | ice_txrx.h | 379 bool ice_alloc_rx_bufs(struct ice_ring *rxr, u16 cleaned_count);
|
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 109 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers() argument 116 if (!cleaned_count) in fm10k_alloc_rx_buffers() 144 cleaned_count--; in fm10k_alloc_rx_buffers() 145 } while (cleaned_count); in fm10k_alloc_rx_buffers() 560 u16 cleaned_count = fm10k_desc_unused(rx_ring); in fm10k_clean_rx_irq() local 566 if (cleaned_count >= FM10K_RX_BUFFER_WRITE) { in fm10k_clean_rx_irq() 567 fm10k_alloc_rx_buffers(rx_ring, cleaned_count); in fm10k_clean_rx_irq() 568 cleaned_count = 0; in fm10k_clean_rx_irq() 589 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-v5.15/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1329 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers() argument 1343 while ((cleaned_count--)) { in pch_gbe_alloc_rx_buffers() 1392 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers_pool() argument 1462 unsigned int cleaned_count = 0; in pch_gbe_clean_tx() local 1553 if (cleaned_count++ == PCH_GBE_TX_WEIGHT) { in pch_gbe_clean_tx() 1560 cleaned_count); in pch_gbe_clean_tx() 1561 if (cleaned_count > 0) { /*skip this if nothing cleaned*/ in pch_gbe_clean_tx() 1601 unsigned int cleaned_count = 0; in pch_gbe_clean_rx() local 1616 cleaned_count++; in pch_gbe_clean_rx() 1682 if (unlikely(cleaned_count >= PCH_GBE_RX_BUFFER_WRITE)) { in pch_gbe_clean_rx() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 879 bool iavf_alloc_rx_buffers(struct iavf_ring *rx_ring, u16 cleaned_count) in iavf_alloc_rx_buffers() argument 886 if (!rx_ring->netdev || !cleaned_count) in iavf_alloc_rx_buffers() 919 cleaned_count--; in iavf_alloc_rx_buffers() 920 } while (cleaned_count); in iavf_alloc_rx_buffers() 1464 u16 cleaned_count = IAVF_DESC_UNUSED(rx_ring); in iavf_clean_rx_irq() local 1476 if (cleaned_count >= IAVF_RX_BUFFER_WRITE) { in iavf_clean_rx_irq() 1478 iavf_alloc_rx_buffers(rx_ring, cleaned_count); in iavf_clean_rx_irq() 1479 cleaned_count = 0; in iavf_clean_rx_irq() 1523 cleaned_count++; in iavf_clean_rx_irq()
|
D | iavf_txrx.h | 439 bool iavf_alloc_rx_buffers(struct iavf_ring *rxr, u16 cleaned_count);
|
/Linux-v5.15/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); 4137 int cleaned_count = 0; in e1000_clean_jumbo_rx_irq() local 4165 cleaned_count++; in e1000_clean_jumbo_rx_irq() 4295 if (unlikely(cleaned_count >= E1000_RX_BUFFER_WRITE)) { in e1000_clean_jumbo_rx_irq() 4296 adapter->alloc_rx_buf(adapter, rx_ring, cleaned_count); in e1000_clean_jumbo_rx_irq() 4297 cleaned_count = 0; in e1000_clean_jumbo_rx_irq() 4306 cleaned_count = E1000_DESC_UNUSED(rx_ring); in e1000_clean_jumbo_rx_irq() 4307 if (cleaned_count) in e1000_clean_jumbo_rx_irq() [all …]
|
D | e1000.h | 253 int cleaned_count);
|
/Linux-v5.15/drivers/net/ |
D | thunderbolt.c | 759 unsigned int cleaned_count = tbnet_available_buffers(&net->rx_ring); in tbnet_poll() local 777 if (cleaned_count >= MAX_SKB_FRAGS) { in tbnet_poll() 778 tbnet_alloc_rx_buffers(net, cleaned_count); in tbnet_poll() 779 cleaned_count = 0; in tbnet_poll() 794 cleaned_count++; in tbnet_poll() 844 if (cleaned_count) in tbnet_poll() 845 tbnet_alloc_rx_buffers(net, cleaned_count); in tbnet_poll()
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 1942 int cleaned_count = 0; in ixgb_clean_rx_irq() local 1978 cleaned_count++; in ixgb_clean_rx_irq() 2027 if (unlikely(cleaned_count >= IXGB_RX_BUFFER_WRITE)) { in ixgb_clean_rx_irq() 2028 ixgb_alloc_rx_buffers(adapter, cleaned_count); in ixgb_clean_rx_irq() 2029 cleaned_count = 0; in ixgb_clean_rx_irq() 2039 cleaned_count = IXGB_DESC_UNUSED(rx_ring); in ixgb_clean_rx_irq() 2040 if (cleaned_count) in ixgb_clean_rx_irq() 2041 ixgb_alloc_rx_buffers(adapter, cleaned_count); in ixgb_clean_rx_irq() 2053 ixgb_alloc_rx_buffers(struct ixgb_adapter *adapter, int cleaned_count) in ixgb_alloc_rx_buffers() argument 2070 while (--cleancount > 2 && cleaned_count--) { in ixgb_alloc_rx_buffers()
|
/Linux-v5.15/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 644 int cleaned_count, gfp_t gfp) in e1000_alloc_rx_buffers() argument 658 while (cleaned_count--) { in e1000_alloc_rx_buffers() 714 int cleaned_count, gfp_t gfp) in e1000_alloc_rx_buffers_ps() argument 728 while (cleaned_count--) { in e1000_alloc_rx_buffers_ps() 819 int cleaned_count, gfp_t gfp) in e1000_alloc_jumbo_rx_buffers() argument 833 while (cleaned_count--) { in e1000_alloc_jumbo_rx_buffers() 922 int cleaned_count = 0; in e1000_clean_rx_irq() local 953 cleaned_count++; in e1000_clean_rx_irq() 1036 if (cleaned_count >= E1000_RX_BUFFER_WRITE) { in e1000_clean_rx_irq() 1037 adapter->alloc_rx_buf(rx_ring, cleaned_count, in e1000_clean_rx_irq() [all …]
|
D | e1000.h | 254 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
|
/Linux-v5.15/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-v5.15/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1996 static void igc_alloc_rx_buffers(struct igc_ring *rx_ring, u16 cleaned_count) in igc_alloc_rx_buffers() argument 2004 if (!cleaned_count) in igc_alloc_rx_buffers() 2039 cleaned_count--; in igc_alloc_rx_buffers() 2040 } while (cleaned_count); in igc_alloc_rx_buffers() 2312 u16 cleaned_count = igc_desc_unused(rx_ring); in igc_clean_rx_irq() local 2325 if (cleaned_count >= IGC_RX_BUFFER_WRITE) { in igc_clean_rx_irq() 2326 igc_alloc_rx_buffers(rx_ring, cleaned_count); in igc_clean_rx_irq() 2327 cleaned_count = 0; in igc_clean_rx_irq() 2393 cleaned_count++; in igc_clean_rx_irq() 2428 if (cleaned_count) in igc_clean_rx_irq() [all …]
|
/Linux-v5.15/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-v5.15/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 8675 u16 cleaned_count = igb_desc_unused(rx_ring); in igb_clean_rx_irq() local 8696 if (cleaned_count >= IGB_RX_BUFFER_WRITE) { in igb_clean_rx_irq() 8697 igb_alloc_rx_buffers(rx_ring, cleaned_count); in igb_clean_rx_irq() 8698 cleaned_count = 0; in igb_clean_rx_irq() 8767 cleaned_count++; in igb_clean_rx_irq() 8813 if (cleaned_count) in igb_clean_rx_irq() 8814 igb_alloc_rx_buffers(rx_ring, cleaned_count); in igb_clean_rx_irq() 8866 void igb_alloc_rx_buffers(struct igb_ring *rx_ring, u16 cleaned_count) in igb_alloc_rx_buffers() argument 8874 if (!cleaned_count) in igb_alloc_rx_buffers() 8909 cleaned_count--; in igb_alloc_rx_buffers() [all …]
|