Home
last modified time | relevance | path

Searched refs:bpf_offloaded (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/netdevsim/
Dbpf.c106 nsim_prog_set_loaded(ns->bpf_offloaded, false); in nsim_bpf_offload()
108 WARN(!!ns->bpf_offloaded != oldprog, in nsim_bpf_offload()
111 ns->bpf_offloaded = prog; in nsim_bpf_offload()
159 if (ns->bpf_offloaded != oldprog) { in nsim_bpf_setup_tc_block_cb()
163 if (ns->bpf_offloaded) { in nsim_bpf_setup_tc_block_cb()
175 if (ns->bpf_offloaded && !nsim_xdp_offload_active(ns)) in nsim_bpf_disable_tc()
184 if (!nsim_xdp_offload_active(ns) && bpf->prog && ns->bpf_offloaded) { in nsim_xdp_offload_prog()
651 WARN_ON(ns->bpf_offloaded); in nsim_bpf_uninit()
Dnetdevsim.h113 struct bpf_prog *bpf_offloaded; member