Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/linux/
Dbpf.h541 struct bpf_offload_dev *offdev; member
1805 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,
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dbpf.c257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()