Searched refs:bpf_dev (Results 1 – 4 of 4) sorted by relevance
427 return bpf_offload_dev_netdev_register(bpf->bpf_dev, netdev); in nfp_bpf_ndo_init()434 bpf_offload_dev_netdev_unregister(bpf->bpf_dev, netdev); in nfp_bpf_ndo_uninit()492 bpf->bpf_dev = bpf_offload_dev_create(&nfp_bpf_dev_ops, bpf); in nfp_bpf_init()493 err = PTR_ERR_OR_ZERO(bpf->bpf_dev); in nfp_bpf_init()512 bpf_offload_dev_destroy(bpf->bpf_dev); in nfp_bpf_clean()
134 struct bpf_offload_dev *bpf_dev; member
596 nsim_dev->bpf_dev = bpf_offload_dev_create(&nsim_bpf_dev_ops, nsim_dev); in nsim_bpf_dev_init()597 err = PTR_ERR_OR_ZERO(nsim_dev->bpf_dev); in nsim_bpf_dev_init()616 bpf_offload_dev_destroy(nsim_dev->bpf_dev); in nsim_bpf_dev_exit()624 err = bpf_offload_dev_netdev_register(ns->nsim_dev->bpf_dev, in nsim_bpf_init()656 bpf_offload_dev_netdev_unregister(ns->nsim_dev->bpf_dev, ns->netdev); in nsim_bpf_uninit()
266 struct bpf_offload_dev *bpf_dev; member