Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c427 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()
Dmain.h134 struct bpf_offload_dev *bpf_dev; member
/linux-6.6.21/drivers/net/netdevsim/
Dbpf.c592 nsim_dev->bpf_dev = bpf_offload_dev_create(&nsim_bpf_dev_ops, nsim_dev); in nsim_bpf_dev_init()
593 err = PTR_ERR_OR_ZERO(nsim_dev->bpf_dev); in nsim_bpf_dev_init()
612 bpf_offload_dev_destroy(nsim_dev->bpf_dev); in nsim_bpf_dev_exit()
620 err = bpf_offload_dev_netdev_register(ns->nsim_dev->bpf_dev, in nsim_bpf_init()
652 bpf_offload_dev_netdev_unregister(ns->nsim_dev->bpf_dev, ns->netdev); in nsim_bpf_uninit()
Dnetdevsim.h289 struct bpf_offload_dev *bpf_dev; member