Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A Doffload.c111 offload->offdev = ondev->offdev; in bpf_prog_offload_init()
188 ops = offload->offdev->ops; in bpf_prog_offload_replace_insn()
564 return ondev1 && ondev2 && ondev1->offdev == ondev2->offdev; in __bpf_offload_dev_match()
606 ondev->offdev = offdev; in bpf_offload_dev_netdev_register()
689 offdev = kzalloc(sizeof(*offdev), GFP_KERNEL); in bpf_offload_dev_create()
690 if (!offdev) in bpf_offload_dev_create()
693 offdev->ops = ops; in bpf_offload_dev_create()
694 offdev->priv = priv; in bpf_offload_dev_create()
697 return offdev; in bpf_offload_dev_create()
704 kfree(offdev); in bpf_offload_dev_destroy()
[all …]
/linux/include/linux/
A Dbpf.h544 struct bpf_offload_dev *offdev; member
1978 void bpf_offload_dev_destroy(struct bpf_offload_dev *offdev);
1979 void *bpf_offload_dev_priv(struct bpf_offload_dev *offdev);
1980 int bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev,
1982 void bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev,
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Doffload.c203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()
/linux/drivers/net/netdevsim/
A Dbpf.c257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()

Completed in 31 milliseconds