Searched refs:completed_frames (Results 1 – 2 of 2) sorted by relevance
655 u32 i, completed_frames, xsk_frames = 0; in i40e_clean_xdp_tx_irq() local662 completed_frames = head_idx - tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()664 if (completed_frames == 0) in i40e_clean_xdp_tx_irq()668 xsk_frames = completed_frames; in i40e_clean_xdp_tx_irq()674 for (i = 0; i < completed_frames; i++) { in i40e_clean_xdp_tx_irq()689 tx_ring->next_to_clean += completed_frames; in i40e_clean_xdp_tx_irq()696 i40e_arm_wb(tx_ring, vsi, completed_frames); in i40e_clean_xdp_tx_irq()
614 u16 completed_frames = 0; in ice_clean_xdp_irq_zc() local624 completed_frames = last_rs - ntc + 1; in ice_clean_xdp_irq_zc()626 completed_frames = last_rs + cnt - ntc + 1; in ice_clean_xdp_irq_zc()629 if (!completed_frames) in ice_clean_xdp_irq_zc()633 xsk_frames = completed_frames; in ice_clean_xdp_irq_zc()638 for (i = 0; i < completed_frames; i++) { in ice_clean_xdp_irq_zc()655 xdp_ring->next_to_clean += completed_frames; in ice_clean_xdp_irq_zc()661 return completed_frames; in ice_clean_xdp_irq_zc()