Searched refs:offdev (Results 1 – 4 of 4) sorted by relevance
44 struct bpf_offload_dev *offdev; member111 offload->offdev = ondev->offdev; in bpf_prog_offload_init()135 ret = offload->offdev->ops->prepare(prog); in bpf_prog_offload_verifier_prep()152 ret = offload->offdev->ops->insn_hook(env, insn_idx, in bpf_prog_offload_verify_insn()167 if (offload->offdev->ops->finalize) in bpf_prog_offload_finalize()168 ret = offload->offdev->ops->finalize(env); in bpf_prog_offload_finalize()188 ops = offload->offdev->ops; in bpf_prog_offload_replace_insn()205 if (!offload->opt_failed && offload->offdev->ops->remove_insns) in bpf_prog_offload_remove_insns()206 ret = offload->offdev->ops->remove_insns(env, off, cnt); in bpf_prog_offload_remove_insns()217 offload->offdev->ops->destroy(prog); in __bpf_prog_offload_destroy()[all …]
541 struct bpf_offload_dev *offdev; member1805 void bpf_offload_dev_destroy(struct bpf_offload_dev *offdev);1806 void *bpf_offload_dev_priv(struct bpf_offload_dev *offdev);1807 int bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev,1809 void bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev,
257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()
203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()