Searched refs:oldprog (Results 1 – 4 of 4) sorted by relevance
156 obj = prog ?: oldprog; in cls_bpf_offload_cmd()162 cls_bpf.oldprog = oldprog ? oldprog->filter : NULL; in cls_bpf_offload_cmd()166 if (oldprog && prog) in cls_bpf_offload_cmd()201 if (prog && oldprog && in cls_bpf_offload()208 if (oldprog && tc_skip_hw(oldprog->gen_flags)) in cls_bpf_offload()209 oldprog = NULL; in cls_bpf_offload()210 if (!prog && !oldprog) in cls_bpf_offload()487 if (oldprog) { in cls_bpf_change()498 } else if (!oldprog) { in cls_bpf_change()519 if (oldprog) { in cls_bpf_change()[all …]
104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload() argument108 WARN(!!ns->bpf_offloaded != oldprog, in nsim_bpf_offload()110 oldprog ? "" : "not "); in nsim_bpf_offload()124 struct bpf_prog *oldprog; in nsim_bpf_setup_tc_block_cb() local156 oldprog = cls_bpf->oldprog; in nsim_bpf_setup_tc_block_cb()159 if (ns->bpf_offloaded != oldprog) { in nsim_bpf_setup_tc_block_cb()160 oldprog = NULL; in nsim_bpf_setup_tc_block_cb()170 return nsim_bpf_offload(ns, cls_bpf->prog, oldprog); in nsim_bpf_setup_tc_block_cb()
110 struct bpf_prog *oldprog; in nfp_bpf_setup_tc_block_cb() local144 oldprog = cls_bpf->oldprog; in nfp_bpf_setup_tc_block_cb()147 if (bv->tc_prog != oldprog) { in nfp_bpf_setup_tc_block_cb()148 oldprog = NULL; in nfp_bpf_setup_tc_block_cb()153 err = nfp_net_bpf_offload(nn, cls_bpf->prog, oldprog, in nfp_bpf_setup_tc_block_cb()
800 struct bpf_prog *oldprog; member
Completed in 13 milliseconds