Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/netdevsim/
Dbpf.c87 static bool nsim_xdp_offload_active(struct netdevsim *ns) in nsim_xdp_offload_active() function
175 if (ns->bpf_offloaded && !nsim_xdp_offload_active(ns)) in nsim_bpf_disable_tc()
182 if (!nsim_xdp_offload_active(ns) && !bpf->prog) in nsim_xdp_offload_prog()
184 if (!nsim_xdp_offload_active(ns) && bpf->prog && ns->bpf_offloaded) { in nsim_xdp_offload_prog()
189 return nsim_bpf_offload(ns, bpf->prog, nsim_xdp_offload_active(ns)); in nsim_xdp_offload_prog()