Searched refs:completed_frames (Results 1 – 2 of 2) sorted by relevance
661 u32 i, completed_frames, xsk_frames = 0; in i40e_clean_xdp_tx_irq() local668 completed_frames = head_idx - tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()670 if (completed_frames == 0) in i40e_clean_xdp_tx_irq()674 xsk_frames = completed_frames; in i40e_clean_xdp_tx_irq()680 for (i = 0; i < completed_frames; i++) { in i40e_clean_xdp_tx_irq()695 tx_ring->next_to_clean += completed_frames; in i40e_clean_xdp_tx_irq()702 i40e_arm_wb(tx_ring, vsi, completed_frames); in i40e_clean_xdp_tx_irq()
622 u16 completed_frames = 0; in ice_clean_xdp_irq_zc() local632 completed_frames = last_rs - ntc + 1; in ice_clean_xdp_irq_zc()634 completed_frames = last_rs + cnt - ntc + 1; in ice_clean_xdp_irq_zc()637 if (!completed_frames) in ice_clean_xdp_irq_zc()641 xsk_frames = completed_frames; in ice_clean_xdp_irq_zc()646 for (i = 0; i < completed_frames; i++) { in ice_clean_xdp_irq_zc()663 xdp_ring->next_to_clean += completed_frames; in ice_clean_xdp_irq_zc()669 return completed_frames; in ice_clean_xdp_irq_zc()