Lines Matching defs:xdp
232 /* Don't init RX queues for xdp queues */
805 is_xdp ? "xdp frame" : "skb", ring->qid, req_id);
1171 static int ena_xdp_handle_buff(struct ena_ring *rx_ring, struct xdp_buff *xdp, u16 num_descs)
1179 "xdp: dropped unsupported multi-buffer packets\n");
1185 xdp_prepare_buff(xdp, page_address(rx_info->page),
1189 ret = ena_xdp_execute(rx_ring, xdp);
1191 /* The xdp program might expand the headers */
1193 rx_info->buf_offset = xdp->data - xdp->data_hard_start;
1194 rx_ring->ena_bufs[0].len = xdp->data_end - xdp->data;
1219 struct xdp_buff xdp;
1230 xdp_init_buff(&xdp, ENA_PAGE_SIZE, &rx_ring->xdp_rxq);
1264 xdp_verdict = ena_xdp_handle_buff(rx_ring, &xdp, ena_rx_ctx.descs);