Home
last modified time | relevance | path

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

/net/core/
A Dxdp.c433 void __xdp_return(netmem_ref netmem, enum xdp_mem_type mem_type, in __xdp_return() argument
436 switch (mem_type) { in __xdp_return()
459 WARN(1, "Incorrect XDP memory type (%d) usage", mem_type); in __xdp_return()
473 __xdp_return(skb_frag_netmem(&sinfo->frags[i]), xdpf->mem_type, in xdp_return_frame()
477 __xdp_return(virt_to_netmem(xdpf->data), xdpf->mem_type, false, NULL); in xdp_return_frame()
490 __xdp_return(skb_frag_netmem(&sinfo->frags[i]), xdpf->mem_type, in xdp_return_frame_rx_napi()
494 __xdp_return(virt_to_netmem(xdpf->data), xdpf->mem_type, true, NULL); in xdp_return_frame_rx_napi()
513 if (xdpf->mem_type != MEM_TYPE_PAGE_POOL) { in xdp_return_frame_bulk()
608 xdpf->mem_type = MEM_TYPE_PAGE_ORDER0; in xdp_convert_zc_to_xdp_frame()
840 if (xdpf->mem_type == MEM_TYPE_PAGE_POOL) in __xdp_build_skb_from_frame()
[all …]
A Dfilter.c4157 enum xdp_mem_type mem_type, bool release) in bpf_xdp_shrink_data_zc() argument
4163 __xdp_return(0, mem_type, false, zc_frag); in bpf_xdp_shrink_data_zc()
4172 enum xdp_mem_type mem_type = xdp->rxq->mem.type; in bpf_xdp_shrink_data() local
4175 if (mem_type == MEM_TYPE_XSK_BUFF_POOL) { in bpf_xdp_shrink_data()
4176 bpf_xdp_shrink_data_zc(xdp, shrink, mem_type, release); in bpf_xdp_shrink_data()
4181 __xdp_return(skb_frag_netmem(frag), mem_type, false, NULL); in bpf_xdp_shrink_data()
/net/bpf/
A Dtest_run.c156 frm->mem_type = new_ctx->rxq->mem.type; in xdp_test_run_init_page()
249 head->frame->mem_type = head->orig_ctx.rxq->mem.type; in reset_ctx()

Completed in 31 milliseconds