Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/
Doffload.c44 struct bpf_offload_dev *offdev; member
111 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 …]
/Linux-v5.15/include/linux/
Dbpf.h535 struct bpf_offload_dev *offdev; member
1932 void bpf_offload_dev_destroy(struct bpf_offload_dev *offdev);
1933 void *bpf_offload_dev_priv(struct bpf_offload_dev *offdev);
1934 int bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev,
1936 void bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev,
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()
/Linux-v5.15/drivers/net/netdevsim/
Dbpf.c257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()