Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_xdp.c9 static int lan966x_xdp_setup(struct net_device *dev, struct netdev_bpf *xdp) in lan966x_xdp_setup()
43 int lan966x_xdp(struct net_device *dev, struct netdev_bpf *xdp) in lan966x_xdp()
H A Dlan966x_main.h650 int lan966x_xdp(struct net_device *dev, struct netdev_bpf *xdp);
/linux/drivers/net/netdevsim/
H A 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()
299 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks()
314 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks()
554 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
H A Dnetdevsim.h175 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf);
198 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_app.h17 struct netdev_bpf;
135 struct netdev_bpf *xdp);
330 struct netdev_bpf *bpf) in nfp_app_bpf()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.h26 int vmxnet3_xdp(struct net_device *netdev, struct netdev_bpf *bpf);
H A Dvmxnet3_xdp.c37 vmxnet3_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf, in vmxnet3_xdp_set()
102 vmxnet3_xdp(struct net_device *netdev, struct netdev_bpf *bpf) in vmxnet3_xdp()
/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c167 struct netdev_bpf xdp; in netvsc_vf_setxdp()
194 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h576 struct netdev_bpf;
581 struct netdev_bpf *bpf);
H A Doffload.c423 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_xdp.c288 static int ena_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp_set()
356 int ena_xdp(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp()
H A Dena_xdp.h44 int ena_xdp(struct net_device *netdev, struct netdev_bpf *bpf);
/linux/net/core/
H A Ddev_api.c343 int dev_xdp_propagate(struct net_device *dev, struct netdev_bpf *bpf) in dev_xdp_propagate()
H A Ddev.h136 typedef int (*bpf_op_t)(struct net_device *dev, struct netdev_bpf *bpf);
/linux/drivers/net/ethernet/intel/idpf/
H A Dxdp.c451 const struct netdev_bpf *xdp) in idpf_xdp_setup_prog()
502 int idpf_xdp(struct net_device *dev, struct netdev_bpf *xdp) in idpf_xdp()
H A Dxsk.c554 int idpf_xsk_pool_setup(struct idpf_vport *vport, struct netdev_bpf *bpf) in idpf_xsk_pool_setup()
/linux/net/xdp/
H A Dxsk_buff_pool.c140 struct netdev_bpf bpf; in xp_disable_drv_zc()
161 struct netdev_bpf bpf; in xp_assign_dev()
/linux/drivers/net/ethernet/sfc/siena/
H A Defx.c107 static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp);
655 static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp) in efx_xdp()
/linux/drivers/net/ethernet/sfc/
H A Defx.c106 static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp);
733 static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp) in efx_xdp()
/linux/drivers/net/ethernet/ti/
H A Dcpsw_priv.h448 int cpsw_ndo_bpf(struct net_device *ndev, struct netdev_bpf *bpf);
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c445 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bnxt_xdp()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede.h559 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp);
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.h529 int enetc_setup_bpf(struct net_device *ndev, struct netdev_bpf *bpf);
/linux/kernel/bpf/
H A Doffload.c114 struct netdev_bpf data = {}; in bpf_map_offload_ndo()
/linux/include/linux/
H A Dnetdevice.h1008 struct netdev_bpf { struct
1648 struct netdev_bpf *bpf);
4326 int netif_xdp_propagate(struct net_device *dev, struct netdev_bpf *bpf);
4327 int dev_xdp_propagate(struct net_device *dev, struct netdev_bpf *bpf);

123