Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Doffload.c89 ondev->offdev = offdev; in __bpf_offload_dev_netdev_register()
99 if (offdev) in __bpf_offload_dev_netdev_register()
161 if (offdev) { in __bpf_offload_dev_netdev_unregister()
218 offload->offdev = ondev->offdev; in __bpf_prog_dev_bound_init()
712 return ondev1 && ondev2 && ondev1->offdev == ondev2->offdev; in __bpf_offload_dev_match()
785 offdev = kzalloc(sizeof(*offdev), GFP_KERNEL); in bpf_offload_dev_create()
786 if (!offdev) in bpf_offload_dev_create()
789 offdev->ops = ops; in bpf_offload_dev_create()
790 offdev->priv = priv; in bpf_offload_dev_create()
793 return offdev; in bpf_offload_dev_create()
[all …]
/linux/include/linux/
H A Dbpf.h1019 struct bpf_offload_dev *offdev; member
3005 void bpf_offload_dev_destroy(struct bpf_offload_dev *offdev);
3006 void *bpf_offload_dev_priv(struct bpf_offload_dev *offdev);
3007 int bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev,
3009 void bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev,
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Doffload.c203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()
/linux/drivers/net/netdevsim/
H A Dbpf.c257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()