Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/netronome/nfp/bpf/
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 …]
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 …]
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()
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
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
/linux/Documentation/bpf/
A Dbpf_devel_QA.rst660 .. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/
661 .. _netdev-FAQ: ../networking/netdev-FAQ.rst
662 .. _selftests:
664 .. _Documentation/dev-tools/kselftest.rst:
666 .. _Documentation/bpf/btf.rst: btf.rst
/linux/net/core/
A Dlwt_bpf.c118 struct bpf_lwt *bpf; in bpf_input() local
141 struct bpf_lwt *bpf; in bpf_output() local
272 struct bpf_lwt *bpf; in bpf_xmit() local
320 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_destroy_state() local
377 struct bpf_lwt *bpf; in bpf_build_state() local
465 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_fill_encap_info() local
A Dxdp.c462 struct netdev_bpf *bpf) in xdp_attachment_setup()
/linux/drivers/net/netdevsim/
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()
549 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
A Dnetdevsim.h146 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/linux/arch/um/drivers/
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
A Dvector_kern.h130 struct sock_fprog *bpf; member
/linux/drivers/net/hyperv/
A Dnetvsc_bpf.c168 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
/linux/net/xdp/
A Dxsk_buff_pool.c111 struct netdev_bpf bpf; in xp_disable_drv_zc() local
132 struct netdev_bpf bpf; in xp_assign_dev() local
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_app.h134 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member
320 struct netdev_bpf *bpf) in nfp_app_bpf()
A Dnfp_net_common.c3668 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
3698 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
/linux/tools/perf/util/
A Dtool.h61 bpf, member
A Devsel.h173 bool bpf; member
/linux/tools/
A DMakefile68 cgroup counter firewire hv guest bootconfig spi usb virtio vm bpf iio gpio objtool leds wmi pci fir… target
/linux/drivers/net/ethernet/ti/
A 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/drivers/media/pci/bt8xx/
A Dbttv-risc.c708 int bpf = bpl * (buf->vb.height >> 1); in bttv_buffer_risc() local
/linux/include/net/
A Dnet_namespace.h148 struct netns_bpf bpf; member
/linux/tools/testing/selftests/bpf/
A Dtest_offload.py477 def set_xdp(self, bpf, mode, force=False, JSON=True, verbose=False, argument
560 def cls_bpf_add_filter(self, bpf, op="add", prio=None, handle=None, argument
/linux/tools/testing/selftests/net/
A Dgro.c135 struct sock_fprog bpf = { in setup_sock_filter() local
/linux/tools/bpf/
A Dbpf_dbg.c501 struct sock_fprog bpf = { in bpf_runnable() local

Completed in 76 milliseconds

12