Searched refs:oldprog (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/net/sched/ |
D | cls_bpf.c | 142 struct cls_bpf_prog *oldprog, in cls_bpf_offload_cmd() argument 152 obj = prog ?: oldprog; in cls_bpf_offload_cmd() 158 cls_bpf.oldprog = oldprog ? oldprog->filter : NULL; in cls_bpf_offload_cmd() 162 if (oldprog && prog) in cls_bpf_offload_cmd() 164 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd() 165 &oldprog->in_hw_count, in cls_bpf_offload_cmd() 174 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd() 175 &oldprog->in_hw_count, true); in cls_bpf_offload_cmd() 178 cls_bpf_offload_cmd(tp, oldprog, prog, extack); in cls_bpf_offload_cmd() 194 struct cls_bpf_prog *oldprog, in cls_bpf_offload() argument [all …]
|
/Linux-v5.15/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.15/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.15/include/net/ |
D | pkt_cls.h | 743 struct bpf_prog *oldprog; member
|