Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/net/hyperv/
Dnetvsc_bpf.c139 struct netdev_bpf xdp; in netvsc_vf_setxdp()
168 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
Dhyperv_net.h247 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf);
/Linux-v5.15/drivers/net/netdevsim/
Dbpf.c180 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog()
193 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog()
293 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks()
307 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks()
548 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
Dnetdevsim.h122 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf);
145 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h20 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp);
Dbnxt_xdp.c315 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bnxt_xdp()
/Linux-v5.15/include/net/
Dxdp.h289 struct netdev_bpf;
291 struct netdev_bpf *bpf);
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h17 struct netdev_bpf;
135 struct netdev_bpf *xdp);
320 struct netdev_bpf *bpf) in nfp_app_bpf()
Dnfp_net_common.c3672 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
3702 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
3714 static int nfp_net_xdp(struct net_device *netdev, struct netdev_bpf *xdp) in nfp_net_xdp()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h576 struct netdev_bpf;
581 struct netdev_bpf *bpf);
Doffload.c425 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf()
/Linux-v5.15/net/xdp/
Dxsk_buff_pool.c105 struct netdev_bpf bpf; in xp_disable_drv_zc()
126 struct netdev_bpf bpf; in xp_assign_dev()
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc.h393 int enetc_setup_bpf(struct net_device *dev, struct netdev_bpf *xdp);
/Linux-v5.15/drivers/net/ethernet/sfc/
Defx.c104 static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp);
646 static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp) in efx_xdp()
/Linux-v5.15/drivers/net/ethernet/ti/
Dcpsw_priv.h439 int cpsw_ndo_bpf(struct net_device *ndev, struct netdev_bpf *bpf);
Dcpsw_priv.c1261 static int cpsw_xdp_prog_setup(struct cpsw_priv *priv, struct netdev_bpf *bpf) in cpsw_xdp_prog_setup()
1275 int cpsw_ndo_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in cpsw_ndo_bpf()
/Linux-v5.15/net/core/
Dxdp.c464 struct netdev_bpf *bpf) in xdp_attachment_setup()
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede.h560 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp);
Dqede_filter.c1044 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp) in qede_xdp()
/Linux-v5.15/kernel/bpf/
Doffload.c349 struct netdev_bpf data = {}; in bpf_map_offload_ndo()
/Linux-v5.15/drivers/net/bonding/
Dbond_main.c2173 struct netdev_bpf xdp = { in bond_enslave()
2317 struct netdev_bpf xdp = { in __bond_release_one()
5183 struct netdev_bpf xdp = { in bond_xdp_set()
5259 static int bond_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bond_xdp()
/Linux-v5.15/include/linux/
Dnetdevice.h958 struct netdev_bpf { struct
1552 struct netdev_bpf *bpf);
4089 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c3031 static int dpaa_setup_xdp(struct net_device *net_dev, struct netdev_bpf *bpf) in dpaa_setup_xdp()
3064 static int dpaa_xdp(struct net_device *net_dev, struct netdev_bpf *xdp) in dpaa_xdp()
/Linux-v5.15/drivers/net/
Dveth.c1519 static int veth_xdp(struct net_device *dev, struct netdev_bpf *xdp) in veth_xdp()
/Linux-v5.15/drivers/net/ethernet/amazon/ena/
Dena_netdev.c570 static int ena_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp_set()
632 static int ena_xdp(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp()

12