Home
last modified time | relevance | path

Searched defs:bpf (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c18 nfp_bpf_cmsg_alloc(struct nfp_app_bpf *bpf, unsigned int size) in nfp_bpf_cmsg_alloc()
29 nfp_bpf_cmsg_map_req_size(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_req_size()
40 nfp_bpf_cmsg_map_req_alloc(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_req_alloc()
46 nfp_bpf_cmsg_map_reply_size(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_reply_size()
57 nfp_bpf_ctrl_rc_to_errno(struct nfp_app_bpf *bpf, in nfp_bpf_ctrl_rc_to_errno()
82 nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map) in nfp_bpf_ctrl_alloc_map()
120 void nfp_bpf_ctrl_free_map(struct nfp_app_bpf *bpf, struct nfp_bpf_map *nfp_map) in nfp_bpf_ctrl_free_map()
152 nfp_bpf_ctrl_req_key(struct nfp_app_bpf *bpf, struct cmsg_req_map_op *req, in nfp_bpf_ctrl_req_key()
159 nfp_bpf_ctrl_req_val(struct nfp_app_bpf *bpf, struct cmsg_req_map_op *req, in nfp_bpf_ctrl_req_val()
166 nfp_bpf_ctrl_reply_key(struct nfp_app_bpf *bpf, struct cmsg_reply_map_op *reply, in nfp_bpf_ctrl_reply_key()
[all …]
Dmain.c27 struct nfp_app_bpf *bpf = nn->app->priv; in nfp_net_ebpf_capable() local
206 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_head()
238 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_func()
266 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_maps()
286 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random()
294 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_qsel()
301 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail()
309 nfp_bpf_parse_cap_cmsg_multi_ent(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_cmsg_multi_ent()
317 nfp_bpf_parse_cap_abi_version(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_abi_version()
418 static void nfp_bpf_init_capabilities(struct nfp_app_bpf *bpf) in nfp_bpf_init_capabilities()
[all …]
Doffload.c31 nfp_map_ptr_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptr_record()
78 nfp_map_ptrs_forget(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog) in nfp_map_ptrs_forget()
111 nfp_map_ptrs_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptrs_record()
332 nfp_bpf_map_alloc(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_alloc()
410 nfp_bpf_map_free(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_free()
425 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf()
445 int nfp_bpf_event_output(struct nfp_app_bpf *bpf, const void *data, in nfp_bpf_event_output()
Dverifier.c48 nfp_record_adjust_head(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_record_adjust_head()
177 struct nfp_app_bpf *bpf = nfp_prog->bpf; in nfp_bpf_check_helper_call() local
Dmain.h21 #define cmsg_warn(bpf, msg...) nn_dp_warn(&(bpf)->app->ctrl->dp, msg) argument
211 struct nfp_app_bpf *bpf; member
514 struct nfp_app_bpf *bpf; member
/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()
551 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
Dnetdevsim.h135 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/drivers/net/hyperv/
Dnetvsc_bpf.c166 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h135 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member
321 struct netdev_bpf *bpf) in nfp_app_bpf()
Dnfp_net_common.c3559 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
3589 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
/drivers/net/ethernet/ti/
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()
/drivers/media/pci/bt8xx/
Dbttv-risc.c709 int bpf = bpl * (buf->vb.height >> 1); in bttv_buffer_risc() local
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c504 static int ena_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp_set()
566 static int ena_xdp(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c4966 static int mvpp2_xdp_setup(struct mvpp2_port *port, struct netdev_bpf *bpf) in mvpp2_xdp_setup()
/drivers/net/ethernet/intel/igb/
Digb_main.c2840 static int igb_xdp_setup(struct net_device *dev, struct netdev_bpf *bpf) in igb_xdp_setup()