Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A 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()
203 struct nfp_app_bpf *bpf = nfp_map->bpf; in nfp_bpf_ctrl_op_cache_get() local
297 struct nfp_app_bpf *bpf = nfp_map->bpf; in nfp_bpf_ctrl_entry_op() local
417 unsigned int nfp_bpf_ctrl_cmsg_min_mtu(struct nfp_app_bpf *bpf) in nfp_bpf_ctrl_cmsg_min_mtu()
423 unsigned int nfp_bpf_ctrl_cmsg_mtu(struct nfp_app_bpf *bpf) in nfp_bpf_ctrl_cmsg_mtu()
444 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ctrl_msg_rx() local
[all …]
H A 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()
286 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random()
301 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail()
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()
425 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_init() local
432 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_uninit() local
439 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_start() local
458 struct nfp_app_bpf *bpf; in nfp_bpf_init() local
[all …]
H A 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()
H A 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
H A 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
/openbmc/linux/net/core/
H A Dlwt_bpf.c118 struct bpf_lwt *bpf; in bpf_input() local
141 struct bpf_lwt *bpf; in bpf_output() local
270 struct bpf_lwt *bpf; in bpf_xmit() local
319 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_destroy_state() local
376 struct bpf_lwt *bpf; in bpf_build_state() local
464 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_fill_encap_info() local
H A Dxdp.c535 struct netdev_bpf *bpf) in xdp_attachment_setup()
/openbmc/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()
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()
547 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/openbmc/linux/arch/um/drivers/
H A Dvector_user.c754 int uml_vector_attach_bpf(int fd, void *bpf) in uml_vector_attach_bpf()
765 int uml_vector_detach_bpf(int fd, void *bpf) in uml_vector_detach_bpf()
776 struct sock_filter *bpf; in uml_vector_default_bpf() local
815 struct sock_filter *bpf; in uml_vector_user_bpf() local
H A Dvector_kern.h131 struct sock_fprog *bpf; member
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lookup_key.c26 int BPF_PROG(bpf, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
H A Dtest_verify_pkcs7_sig.c45 int BPF_PROG(bpf, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
/openbmc/linux/drivers/net/vmxnet3/
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()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_xdp.c285 static int ena_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp_set()
349 int ena_xdp(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp()
/openbmc/linux/Documentation/bpf/
H A Dbpf_devel_QA.rst692 .. _selftests:
/openbmc/linux/net/xdp/
H A Dxsk_buff_pool.c128 struct netdev_bpf bpf; in xp_disable_drv_zc() local
153 struct netdev_bpf bpf; in xp_assign_dev() local
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_bpf.c212 int mana_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in mana_bpf()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c194 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_app.h134 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member
330 struct netdev_bpf *bpf) in nfp_app_bpf()
H A Dnfp_net_common.c1994 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
2024 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
/openbmc/linux/tools/perf/util/
H A Dtool.h62 bpf, member
/openbmc/linux/tools/
H A DMakefile72 cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci fir… target
/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c671 int bpf = bpl * (btv->height >> 1); in bttv_buffer_risc() local
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw_priv.c1264 static int cpsw_xdp_prog_setup(struct cpsw_priv *priv, struct netdev_bpf *bpf) in cpsw_xdp_prog_setup()
1278 int cpsw_ndo_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in cpsw_ndo_bpf()
/openbmc/qemu/
H A Dmeson_options.txt143 option('bpf', type : 'feature', value : 'auto', feature

12