Lines Matching refs:xdp
673 struct xdp_buff xdp; in mlx4_en_process_rx_cq() local
685 xdp.rxq = &ring->xdp_rxq; in mlx4_en_process_rx_cq()
779 xdp.data_hard_start = va - frags[0].page_offset; in mlx4_en_process_rx_cq()
780 xdp.data = va; in mlx4_en_process_rx_cq()
781 xdp_set_data_meta_invalid(&xdp); in mlx4_en_process_rx_cq()
782 xdp.data_end = xdp.data + length; in mlx4_en_process_rx_cq()
783 orig_data = xdp.data; in mlx4_en_process_rx_cq()
785 act = bpf_prog_run_xdp(xdp_prog, &xdp); in mlx4_en_process_rx_cq()
787 length = xdp.data_end - xdp.data; in mlx4_en_process_rx_cq()
788 if (xdp.data != orig_data) { in mlx4_en_process_rx_cq()
789 frags[0].page_offset = xdp.data - in mlx4_en_process_rx_cq()
790 xdp.data_hard_start; in mlx4_en_process_rx_cq()
791 va = xdp.data; in mlx4_en_process_rx_cq()