Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/net/
Dxdp.h176 struct netdev_bpf;
178 struct netdev_bpf *bpf);
180 struct netdev_bpf *bpf);
182 struct netdev_bpf *bpf);
/Linux-v5.4/drivers/net/netdevsim/
Dnetdevsim.h86 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf);
109 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
Dbpf.c175 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog()
188 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog()
289 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks()
303 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks()
544 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h20 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp);
Dbnxt_xdp.c323 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bnxt_xdp()
/Linux-v5.4/net/core/
Dxdp.c470 struct netdev_bpf *bpf) in xdp_attachment_query()
479 struct netdev_bpf *bpf) in xdp_attachment_flags_ok()
491 struct netdev_bpf *bpf) in xdp_attachment_setup()
Ddev.c5078 static int generic_xdp_install(struct net_device *dev, struct netdev_bpf *xdp) in generic_xdp_install()
8305 struct netdev_bpf xdp; in __dev_xdp_query()
8323 struct netdev_bpf xdp; in dev_xdp_install()
8339 struct netdev_bpf xdp; in dev_xdp_uninstall()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h17 struct netdev_bpf;
136 struct netdev_bpf *xdp);
321 struct netdev_bpf *bpf) in nfp_app_bpf()
Dnfp_net_common.c3644 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
3677 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
3692 static int nfp_net_xdp(struct net_device *netdev, struct netdev_bpf *xdp) in nfp_net_xdp()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h574 struct netdev_bpf;
579 struct netdev_bpf *bpf);
Doffload.c421 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf()
/Linux-v5.4/net/xdp/
Dxdp_umem.c94 struct netdev_bpf bpf; in xdp_umem_assign_dev()
156 struct netdev_bpf bpf; in xdp_umem_clear_dev()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede.h550 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-v5.4/kernel/bpf/
Doffload.c349 struct netdev_bpf data = {}; in bpf_map_offload_ndo()
/Linux-v5.4/include/linux/
Dnetdevice.h878 struct netdev_bpf { struct
1436 struct netdev_bpf *bpf);
3687 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
/Linux-v5.4/drivers/net/
Dveth.c1149 static int veth_xdp(struct net_device *dev, struct netdev_bpf *xdp) in veth_xdp()
Dvirtio_net.c2530 static int virtnet_xdp(struct net_device *dev, struct netdev_bpf *xdp) in virtnet_xdp()
Dtun.c1233 static int tun_xdp(struct net_device *dev, struct netdev_bpf *xdp) in tun_xdp()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw.c2341 static int cpsw_xdp_prog_setup(struct cpsw_priv *priv, struct netdev_bpf *bpf) in cpsw_xdp_prog_setup()
2358 static int cpsw_ndo_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in cpsw_ndo_bpf()
/Linux-v5.4/drivers/net/ethernet/socionext/
Dnetsec.c1799 static int netsec_xdp(struct net_device *ndev, struct netdev_bpf *xdp) in netsec_xdp()
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c1900 static int nicvf_xdp(struct net_device *netdev, struct netdev_bpf *xdp) in nicvf_xdp()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1829 static int dpaa2_eth_xdp(struct net_device *dev, struct netdev_bpf *xdp) in dpaa2_eth_xdp()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c4491 static int ixgbevf_xdp(struct net_device *dev, struct netdev_bpf *xdp) in ixgbevf_xdp()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2900 static int mlx4_xdp(struct net_device *dev, struct netdev_bpf *xdp) in mlx4_xdp()

12