Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/include/linux/
Dbpf.h754 struct bpf_offload_dev *offdev; member
2366 void bpf_offload_dev_destroy(struct bpf_offload_dev *offdev);
2367 void *bpf_offload_dev_priv(struct bpf_offload_dev *offdev);
2368 int bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev,
2370 void bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev,
/linux-6.1.9/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-6.1.9/drivers/net/netdevsim/
Dbpf.c257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()