Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/sched/
A Dcls_bpf.c156 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 …]
/linux-6.3-rc2/drivers/net/netdevsim/
A Dbpf.c104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload() argument
108 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() local
156 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()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/bpf/
A Dmain.c110 struct bpf_prog *oldprog; in nfp_bpf_setup_tc_block_cb() local
144 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()
/linux-6.3-rc2/include/net/
A Dpkt_cls.h800 struct bpf_prog *oldprog; member

Completed in 13 milliseconds