Searched refs:oldprog (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/net/sched/ |
D | cls_bpf.c | 145 struct cls_bpf_prog *oldprog, in cls_bpf_offload_cmd() argument 155 obj = prog ?: oldprog; in cls_bpf_offload_cmd() 161 cls_bpf.oldprog = oldprog ? oldprog->filter : NULL; in cls_bpf_offload_cmd() 165 if (oldprog && prog) in cls_bpf_offload_cmd() 167 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd() 168 &oldprog->in_hw_count, in cls_bpf_offload_cmd() 177 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd() 178 &oldprog->in_hw_count, true); in cls_bpf_offload_cmd() 181 cls_bpf_offload_cmd(tp, oldprog, prog, extack); in cls_bpf_offload_cmd() 197 struct cls_bpf_prog *oldprog, in cls_bpf_offload() argument [all …]
|
/Linux-v5.10/drivers/net/netdevsim/ |
D | bpf.c | 104 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-v5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 110 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-v5.10/include/net/ |
D | pkt_cls.h | 736 struct bpf_prog *oldprog; member
|