Home
last modified time | relevance | path

Searched refs:xdp_q (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/fungible/funeth/
Dfuneth_rx.c142 int ref_ok, struct funeth_txq *xdp_q) in fun_run_xdp() argument
169 if (!xdpf || !fun_xdp_tx(xdp_q, xdpf)) in fun_run_xdp()
365 static void fun_handle_cqe_pkt(struct funeth_rxq *q, struct funeth_txq *xdp_q) in fun_handle_cqe_pkt() argument
394 if (xdp_q && headroom == FUN_XDP_HEADROOM) { in fun_handle_cqe_pkt()
395 va = fun_run_xdp(q, frags, va, ref_ok, xdp_q); in fun_handle_cqe_pkt()
482 struct funeth_txq **xdpqs, *xdp_q = NULL; in fun_process_cqes() local
486 xdp_q = xdpqs[smp_processor_id()]; in fun_process_cqes()
492 fun_handle_cqe_pkt(q, xdp_q); in fun_process_cqes()
498 fun_txq_wr_db(xdp_q); in fun_process_cqes()
/Linux-v6.6/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1689 struct xdp_rxq_info *xdp_q, in mtk_create_page_pool() argument
1710 err = __xdp_rxq_info_reg(xdp_q, &eth->dummy_dev, id, in mtk_create_page_pool()
1715 err = xdp_rxq_info_reg_mem_model(xdp_q, MEM_TYPE_PAGE_POOL, pp); in mtk_create_page_pool()
1722 xdp_rxq_info_unreg(xdp_q); in mtk_create_page_pool()
2076 xdp_init_buff(&xdp, PAGE_SIZE, &ring->xdp_q); in mtk_poll_rx()
2623 pp = mtk_create_page_pool(eth, &ring->xdp_q, ring_no, in mtk_rx_alloc()
2767 if (xdp_rxq_info_is_reg(&ring->xdp_q)) in mtk_rx_clean()
2768 xdp_rxq_info_unreg(&ring->xdp_q); in mtk_rx_clean()
Dmtk_eth_soc.h940 struct xdp_rxq_info xdp_q; member