Lines Matching refs:xdp_ring
560 struct bpf_prog *xdp_prog, struct ice_tx_ring *xdp_ring, in ice_run_xdp() argument
575 spin_lock(&xdp_ring->tx_lock); in ice_run_xdp()
576 ret = __ice_xmit_xdp_ring(xdp, xdp_ring, false); in ice_run_xdp()
578 spin_unlock(&xdp_ring->tx_lock); in ice_run_xdp()
607 struct ice_tx_ring *xdp_ring) in ice_xmit_xdp_ring() argument
617 return __ice_xmit_xdp_ring(&xdp, xdp_ring, true); in ice_xmit_xdp_ring()
639 struct ice_tx_ring *xdp_ring; in ice_xdp_xmit() local
654 xdp_ring = vsi->xdp_rings[queue_index]; in ice_xdp_xmit()
655 spin_lock(&xdp_ring->tx_lock); in ice_xdp_xmit()
660 xdp_ring = vsi->xdp_rings[queue_index]; in ice_xdp_xmit()
663 tx_buf = &xdp_ring->tx_buf[xdp_ring->next_to_use]; in ice_xdp_xmit()
668 err = ice_xmit_xdp_ring(xdpf, xdp_ring); in ice_xdp_xmit()
674 tx_buf->rs_idx = ice_set_rs_bit(xdp_ring); in ice_xdp_xmit()
676 ice_xdp_ring_update_tail(xdp_ring); in ice_xdp_xmit()
679 spin_unlock(&xdp_ring->tx_lock); in ice_xdp_xmit()
1152 struct ice_tx_ring *xdp_ring = NULL; in ice_clean_rx_irq() local
1168 xdp_ring = rx_ring->xdp_ring; in ice_clean_rx_irq()
1169 cached_ntu = xdp_ring->next_to_use; in ice_clean_rx_irq()
1240 ice_run_xdp(rx_ring, xdp, xdp_prog, xdp_ring, rx_buf); in ice_clean_rx_irq()
1323 ice_finalize_xdp_rx(xdp_ring, xdp_xmit, cached_ntu); in ice_clean_rx_irq()