Searched refs:offdev (Results 1 – 4 of 4) sorted by relevance
45 struct bpf_offload_dev *offdev; /* NULL when bound-only */ member78 static int __bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev, in __bpf_offload_dev_netdev_register() argument89 ondev->offdev = offdev; in __bpf_offload_dev_netdev_register()99 if (offdev) in __bpf_offload_dev_netdev_register()100 list_add(&ondev->offdev_netdevs, &offdev->netdevs); in __bpf_offload_dev_netdev_register()113 offload->offdev->ops->destroy(prog); in __bpf_prog_offload_destroy()145 static void __bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev, in __bpf_offload_dev_netdev_unregister() argument161 if (offdev) { in __bpf_offload_dev_netdev_unregister()163 altdev = list_first_entry_or_null(&offdev->netdevs, in __bpf_offload_dev_netdev_unregister()205 if (bpf_prog_is_offloaded(prog->aux) && (!ondev || !ondev->offdev)) { in __bpf_prog_dev_bound_init()[all …]
974 struct bpf_offload_dev *offdev; member2778 void bpf_offload_dev_destroy(struct bpf_offload_dev *offdev);2779 void *bpf_offload_dev_priv(struct bpf_offload_dev *offdev);2780 int bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev,2782 void bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev,
257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()
203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()