Home
last modified time | relevance | path

Searched refs:netdev_bpf (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/include/net/
Dxdp.h159 struct netdev_bpf;
161 struct netdev_bpf *bpf);
163 struct netdev_bpf *bpf);
165 struct netdev_bpf *bpf);
/Linux-v4.19/drivers/net/netdevsim/
Dnetdevsim.h109 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf);
123 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
Dbpf.c186 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog()
199 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog()
272 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks()
286 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks()
527 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/Linux-v4.19/net/core/
Dxdp.c372 struct netdev_bpf *bpf) in xdp_attachment_query()
381 struct netdev_bpf *bpf) in xdp_attachment_flags_ok()
393 struct netdev_bpf *bpf) in xdp_attachment_setup()
Ddev.c5058 static int generic_xdp_install(struct net_device *dev, struct netdev_bpf *xdp) in generic_xdp_install()
7777 struct netdev_bpf xdp; in __dev_xdp_query()
7795 struct netdev_bpf xdp; in dev_xdp_install()
7811 struct netdev_bpf xdp; in dev_xdp_uninstall()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h19 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp);
Dbnxt_xdp.c212 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bnxt_xdp()
/Linux-v4.19/net/xdp/
Dxdp_umem.c47 struct netdev_bpf bpf; in xdp_umem_query()
64 struct netdev_bpf bpf; in xdp_umem_assign_dev()
110 struct netdev_bpf bpf; in xdp_umem_clear_dev()
/Linux-v4.19/kernel/bpf/
Doffload.c125 struct netdev_bpf *data) in __bpf_offload_ndo()
143 struct netdev_bpf data = {}; in bpf_prog_offload_verifier_prep()
178 struct netdev_bpf data = {}; in __bpf_prog_offload_destroy()
205 struct netdev_bpf data = {}; in bpf_prog_offload_translate()
317 struct netdev_bpf data = {}; in bpf_map_offload_ndo()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h45 struct netdev_bpf;
160 struct netdev_bpf *xdp);
352 struct netdev_bpf *bpf) in nfp_app_bpf()
Dnfp_net_common.c3418 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
3451 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
3466 static int nfp_net_xdp(struct net_device *netdev, struct netdev_bpf *xdp) in nfp_net_xdp()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h480 struct netdev_bpf;
485 struct netdev_bpf *bpf);
Doffload.c220 struct netdev_bpf *bpf) in nfp_bpf_verifier_prep()
443 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede.h523 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp);
Dqede_filter.c1114 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp) in qede_xdp()
/Linux-v4.19/include/linux/
Dnetdevice.h847 struct netdev_bpf { struct
1407 struct netdev_bpf *bpf);
3583 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
/Linux-v4.19/drivers/net/
Dveth.c990 static int veth_xdp(struct net_device *dev, struct netdev_bpf *xdp) in veth_xdp()
Dvirtio_net.c2403 static int virtnet_xdp(struct net_device *dev, struct netdev_bpf *xdp) in virtnet_xdp()
Dtun.c1230 static int tun_xdp(struct net_device *dev, struct netdev_bpf *xdp) in tun_xdp()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c1836 static int nicvf_xdp(struct net_device *netdev, struct netdev_bpf *xdp) in nicvf_xdp()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c4439 static int ixgbevf_xdp(struct net_device *dev, struct netdev_bpf *xdp) in ixgbevf_xdp()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2908 static int mlx4_xdp(struct net_device *dev, struct netdev_bpf *xdp) in mlx4_xdp()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4305 static int mlx5e_xdp(struct net_device *dev, struct netdev_bpf *xdp) in mlx5e_xdp()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c10149 static int ixgbe_xdp(struct net_device *dev, struct netdev_bpf *xdp) in ixgbe_xdp()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_main.c11836 struct netdev_bpf *xdp) in i40e_xdp()