/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 347 u16 cleaned_count = I40E_DESC_UNUSED(rx_ring); in i40e_clean_rx_irq_zc() local 374 cleaned_count++; in i40e_clean_rx_irq_zc() 400 cleaned_count++; in i40e_clean_rx_irq_zc() 419 cleaned_count++; in i40e_clean_rx_irq_zc() 432 if (cleaned_count >= I40E_RX_BUFFER_WRITE) in i40e_clean_rx_irq_zc() 433 failure = !i40e_alloc_rx_buffers_zc(rx_ring, cleaned_count); in i40e_clean_rx_irq_zc()
|
D | i40e_xsk.h | 15 bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 cleaned_count);
|
D | i40e_txrx.c | 1552 bool i40e_alloc_rx_buffers(struct i40e_ring *rx_ring, u16 cleaned_count) in i40e_alloc_rx_buffers() argument 1559 if (!rx_ring->netdev || !cleaned_count) in i40e_alloc_rx_buffers() 1592 cleaned_count--; in i40e_alloc_rx_buffers() 1593 } while (cleaned_count); in i40e_alloc_rx_buffers() 2335 u16 cleaned_count = I40E_DESC_UNUSED(rx_ring); in i40e_clean_rx_irq() local 2354 if (cleaned_count >= I40E_RX_BUFFER_WRITE) { in i40e_clean_rx_irq() 2356 i40e_alloc_rx_buffers(rx_ring, cleaned_count); in i40e_clean_rx_irq() 2357 cleaned_count = 0; in i40e_clean_rx_irq() 2382 cleaned_count++; in i40e_clean_rx_irq() 2434 cleaned_count++; in i40e_clean_rx_irq()
|
D | i40e_txrx.h | 450 bool i40e_alloc_rx_buffers(struct i40e_ring *rxr, u16 cleaned_count);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 245 u16 cleaned_count = ixgbe_desc_unused(rx_ring); in ixgbe_clean_rx_irq_zc() local 256 if (cleaned_count >= IXGBE_RX_BUFFER_WRITE) { in ixgbe_clean_rx_irq_zc() 259 cleaned_count); in ixgbe_clean_rx_irq_zc() 260 cleaned_count = 0; in ixgbe_clean_rx_irq_zc() 311 cleaned_count++; in ixgbe_clean_rx_irq_zc() 323 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() 2301 u16 cleaned_count = ixgbe_desc_unused(rx_ring); in ixgbe_clean_rx_irq() local 2320 if (cleaned_count >= IXGBE_RX_BUFFER_WRITE) { in ixgbe_clean_rx_irq() 2321 ixgbe_alloc_rx_buffers(rx_ring, cleaned_count); in ixgbe_clean_rx_irq() 2322 cleaned_count = 0; in ixgbe_clean_rx_irq() 2382 cleaned_count++; in ixgbe_clean_rx_irq()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 587 u16 cleaned_count = ICE_DESC_UNUSED(rx_ring); in ice_clean_rx_irq_zc() local 600 if (cleaned_count >= ICE_RX_BUF_WRITE) { in ice_clean_rx_irq_zc() 602 cleaned_count); in ice_clean_rx_irq_zc() 603 cleaned_count = 0; in ice_clean_rx_irq_zc() 637 cleaned_count++; in ice_clean_rx_irq_zc() 650 cleaned_count++; in ice_clean_rx_irq_zc()
|
D | ice_txrx.c | 680 bool ice_alloc_rx_bufs(struct ice_ring *rx_ring, u16 cleaned_count) in ice_alloc_rx_bufs() argument 688 !cleaned_count) in ice_alloc_rx_bufs() 723 cleaned_count--; in ice_alloc_rx_bufs() 724 } while (cleaned_count); in ice_alloc_rx_bufs() 729 return !!cleaned_count; in ice_alloc_rx_bufs() 1094 u16 cleaned_count = ICE_DESC_UNUSED(rx_ring); in ice_clean_rx_irq() local 1137 cleaned_count++; in ice_clean_rx_irq() 1184 cleaned_count++; in ice_clean_rx_irq() 1205 cleaned_count++; in ice_clean_rx_irq() 1244 failure = ice_alloc_rx_bufs(rx_ring, cleaned_count); in ice_clean_rx_irq()
|
D | ice_txrx.h | 375 bool ice_alloc_rx_bufs(struct ice_ring *rxr, u16 cleaned_count);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1348 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers() argument 1362 while ((cleaned_count--)) { in pch_gbe_alloc_rx_buffers() 1411 struct pch_gbe_rx_ring *rx_ring, int cleaned_count) in pch_gbe_alloc_rx_buffers_pool() argument 1481 unsigned int cleaned_count = 0; in pch_gbe_clean_tx() local 1572 if (cleaned_count++ == PCH_GBE_TX_WEIGHT) { in pch_gbe_clean_tx() 1579 cleaned_count); in pch_gbe_clean_tx() 1580 if (cleaned_count > 0) { /*skip this if nothing cleaned*/ in pch_gbe_clean_tx() 1620 unsigned int cleaned_count = 0; in pch_gbe_clean_rx() local 1635 cleaned_count++; in pch_gbe_clean_rx() 1701 if (unlikely(cleaned_count >= PCH_GBE_RX_BUFFER_WRITE)) { in pch_gbe_clean_rx() [all …]
|
/kernel/linux/linux-5.10/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() 573 u16 cleaned_count = fm10k_desc_unused(rx_ring); in fm10k_clean_rx_irq() local 579 if (cleaned_count >= FM10K_RX_BUFFER_WRITE) { in fm10k_clean_rx_irq() 580 fm10k_alloc_rx_buffers(rx_ring, cleaned_count); in fm10k_clean_rx_irq() 581 cleaned_count = 0; in fm10k_clean_rx_irq() 602 cleaned_count++; in fm10k_clean_rx_irq()
|
D | fm10k.h | 481 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count);
|
/kernel/linux/linux-5.10/drivers/net/ |
D | thunderbolt.c | 743 unsigned int cleaned_count = tbnet_available_buffers(&net->rx_ring); in tbnet_poll() local 761 if (cleaned_count >= MAX_SKB_FRAGS) { in tbnet_poll() 762 tbnet_alloc_rx_buffers(net, cleaned_count); in tbnet_poll() 763 cleaned_count = 0; in tbnet_poll() 778 cleaned_count++; in tbnet_poll() 828 if (cleaned_count) in tbnet_poll() 829 tbnet_alloc_rx_buffers(net, cleaned_count); in tbnet_poll()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 882 bool iavf_alloc_rx_buffers(struct iavf_ring *rx_ring, u16 cleaned_count) in iavf_alloc_rx_buffers() argument 889 if (!rx_ring->netdev || !cleaned_count) in iavf_alloc_rx_buffers() 922 cleaned_count--; in iavf_alloc_rx_buffers() 923 } while (cleaned_count); in iavf_alloc_rx_buffers() 1479 u16 cleaned_count = IAVF_DESC_UNUSED(rx_ring); in iavf_clean_rx_irq() local 1491 if (cleaned_count >= IAVF_RX_BUFFER_WRITE) { in iavf_clean_rx_irq() 1493 iavf_alloc_rx_buffers(rx_ring, cleaned_count); in iavf_clean_rx_irq() 1494 cleaned_count = 0; in iavf_clean_rx_irq() 1538 cleaned_count++; in iavf_clean_rx_irq()
|
D | iavf_txrx.h | 439 bool iavf_alloc_rx_buffers(struct iavf_ring *rxr, u16 cleaned_count);
|
/kernel/linux/linux-5.10/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); 4138 int cleaned_count = 0; in e1000_clean_jumbo_rx_irq() local 4166 cleaned_count++; in e1000_clean_jumbo_rx_irq() 4296 if (unlikely(cleaned_count >= E1000_RX_BUFFER_WRITE)) { in e1000_clean_jumbo_rx_irq() 4297 adapter->alloc_rx_buf(adapter, rx_ring, cleaned_count); in e1000_clean_jumbo_rx_irq() 4298 cleaned_count = 0; in e1000_clean_jumbo_rx_irq() 4307 cleaned_count = E1000_DESC_UNUSED(rx_ring); in e1000_clean_jumbo_rx_irq() 4308 if (cleaned_count) in e1000_clean_jumbo_rx_irq() [all …]
|
D | e1000.h | 253 int cleaned_count);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 643 int cleaned_count, gfp_t gfp) in e1000_alloc_rx_buffers() argument 657 while (cleaned_count--) { in e1000_alloc_rx_buffers() 713 int cleaned_count, gfp_t gfp) in e1000_alloc_rx_buffers_ps() argument 727 while (cleaned_count--) { in e1000_alloc_rx_buffers_ps() 818 int cleaned_count, gfp_t gfp) in e1000_alloc_jumbo_rx_buffers() argument 832 while (cleaned_count--) { in e1000_alloc_jumbo_rx_buffers() 921 int cleaned_count = 0; in e1000_clean_rx_irq() local 952 cleaned_count++; in e1000_clean_rx_irq() 1035 if (cleaned_count >= E1000_RX_BUFFER_WRITE) { in e1000_clean_rx_irq() 1036 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,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 1129 u16 cleaned_count = ixgbevf_desc_unused(rx_ring); in ixgbevf_clean_rx_irq() local 1147 if (cleaned_count >= IXGBEVF_RX_BUFFER_WRITE) { in ixgbevf_clean_rx_irq() 1148 ixgbevf_alloc_rx_buffers(rx_ring, cleaned_count); in ixgbevf_clean_rx_irq() 1149 cleaned_count = 0; in ixgbevf_clean_rx_irq() 1208 cleaned_count++; in ixgbevf_clean_rx_irq()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1945 static void igc_alloc_rx_buffers(struct igc_ring *rx_ring, u16 cleaned_count) in igc_alloc_rx_buffers() argument 1953 if (!cleaned_count) in igc_alloc_rx_buffers() 1988 cleaned_count--; in igc_alloc_rx_buffers() 1989 } while (cleaned_count); in igc_alloc_rx_buffers() 2015 u16 cleaned_count = igc_desc_unused(rx_ring); in igc_clean_rx_irq() local 2023 if (cleaned_count >= IGC_RX_BUFFER_WRITE) { in igc_clean_rx_irq() 2024 igc_alloc_rx_buffers(rx_ring, cleaned_count); in igc_clean_rx_irq() 2025 cleaned_count = 0; in igc_clean_rx_irq() 2058 cleaned_count++; in igc_clean_rx_irq() 2095 if (cleaned_count) in igc_clean_rx_irq() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 8720 u16 cleaned_count = igb_desc_unused(rx_ring); in igb_clean_rx_irq() local 8738 if (cleaned_count >= IGB_RX_BUFFER_WRITE) { in igb_clean_rx_irq() 8739 igb_alloc_rx_buffers(rx_ring, cleaned_count); in igb_clean_rx_irq() 8740 cleaned_count = 0; in igb_clean_rx_irq() 8798 cleaned_count++; in igb_clean_rx_irq() 8844 if (cleaned_count) in igb_clean_rx_irq() 8845 igb_alloc_rx_buffers(rx_ring, cleaned_count); in igb_clean_rx_irq() 8897 void igb_alloc_rx_buffers(struct igb_ring *rx_ring, u16 cleaned_count) in igb_alloc_rx_buffers() argument 8905 if (!cleaned_count) in igb_alloc_rx_buffers() 8940 cleaned_count--; in igb_alloc_rx_buffers() [all …]
|