Home
last modified time | relevance | path

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

123

/kernel/linux/linux-4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c48 static bool nfp_bpf_all_tags_busy(struct nfp_app_bpf *bpf) in nfp_bpf_all_tags_busy()
57 static int nfp_bpf_alloc_tag(struct nfp_app_bpf *bpf) in nfp_bpf_alloc_tag()
72 static void nfp_bpf_free_tag(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_free_tag()
82 nfp_bpf_cmsg_alloc(struct nfp_app_bpf *bpf, unsigned int size) in nfp_bpf_cmsg_alloc()
93 nfp_bpf_cmsg_map_req_alloc(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_req_alloc()
121 static struct sk_buff *__nfp_bpf_reply(struct nfp_app_bpf *bpf, u16 tag) in __nfp_bpf_reply()
138 static struct sk_buff *nfp_bpf_reply(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_reply()
149 static struct sk_buff *nfp_bpf_reply_drop_tag(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_reply_drop_tag()
163 nfp_bpf_cmsg_wait_reply(struct nfp_app_bpf *bpf, enum nfp_bpf_cmsg_type type, in nfp_bpf_cmsg_wait_reply()
200 nfp_bpf_cmsg_communicate(struct nfp_app_bpf *bpf, struct sk_buff *skb, in nfp_bpf_cmsg_communicate()
[all …]
Dmain.c243 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_head()
275 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_func()
303 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_maps()
323 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random()
331 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_qsel()
338 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail()
419 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_init() local
426 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_uninit() local
433 struct nfp_app_bpf *bpf; in nfp_bpf_init() local
475 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_clean() local
Doffload.c60 nfp_map_ptr_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptr_record()
112 nfp_map_ptrs_forget(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog) in nfp_map_ptrs_forget()
147 nfp_map_ptrs_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptrs_record()
220 struct netdev_bpf *bpf) in nfp_bpf_verifier_prep()
369 nfp_bpf_map_alloc(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_alloc()
446 nfp_bpf_map_free(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_free()
459 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf()
485 int nfp_bpf_event_output(struct nfp_app_bpf *bpf, const void *data, in nfp_bpf_event_output()
Dverifier.c76 nfp_record_adjust_head(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_record_adjust_head()
204 struct nfp_app_bpf *bpf = nfp_prog->bpf; in nfp_bpf_check_call() local
Dmain.h50 #define cmsg_warn(bpf, msg...) nn_dp_warn(&(bpf)->app->ctrl->dp, msg) argument
224 struct nfp_app_bpf *bpf; member
441 struct nfp_app_bpf *bpf; member
/kernel/linux/linux-5.10/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
200 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_head()
232 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_func()
260 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_maps()
280 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random()
288 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_qsel()
295 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail()
303 nfp_bpf_parse_cap_cmsg_multi_ent(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_cmsg_multi_ent()
311 nfp_bpf_parse_cap_abi_version(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_abi_version()
412 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
/kernel/linux/linux-5.10/Documentation/bpf/
Dbpf_devel_QA.rst644 .. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/
645 .. _MAINTAINERS: ../../MAINTAINERS
646 .. _netdev-FAQ: ../networking/netdev-FAQ.rst
647 .. _samples/bpf/: ../../samples/bpf/
648 .. _selftests: ../../tools/testing/selftests/bpf/
649 .. _Documentation/dev-tools/kselftest.rst:
651 .. _Documentation/bpf/btf.rst: btf.rst
/kernel/linux/linux-4.19/Documentation/bpf/
Dbpf_devel_QA.rst629 .. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/
630 .. _MAINTAINERS: ../../MAINTAINERS
631 .. _netdev-FAQ: ../networking/netdev-FAQ.rst
632 .. _samples/bpf/: ../../samples/bpf/
633 .. _selftests: ../../tools/testing/selftests/bpf/
634 .. _Documentation/dev-tools/kselftest.rst:
/kernel/linux/linux-4.19/net/core/
Dlwt_bpf.c93 struct bpf_lwt *bpf; in bpf_input() local
116 struct bpf_lwt *bpf; in bpf_output() local
153 struct bpf_lwt *bpf; in bpf_xmit() local
190 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_destroy_state() local
247 struct bpf_lwt *bpf; in bpf_build_state() local
334 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_fill_encap_info() local
Dxdp.c372 struct netdev_bpf *bpf) in xdp_attachment_query()
381 struct netdev_bpf *bpf) in xdp_attachment_flags_ok()
393 struct netdev_bpf *bpf) in xdp_attachment_setup()
/kernel/linux/linux-5.10/net/core/
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
/kernel/linux/linux-4.19/net/xdp/
Dxdp_umem.c48 struct netdev_bpf bpf; in xdp_umem_query() local
65 struct netdev_bpf bpf; in xdp_umem_assign_dev() local
111 struct netdev_bpf bpf; in xdp_umem_clear_dev() local
/kernel/linux/linux-5.10/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()
549 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/kernel/linux/linux-4.19/drivers/net/netdevsim/
Dbpf.c186 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog()
199 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog()
272 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks()
286 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks()
527 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_user.c753 int uml_vector_attach_bpf(int fd, void *bpf) in uml_vector_attach_bpf()
764 int uml_vector_detach_bpf(int fd, void *bpf) in uml_vector_detach_bpf()
775 struct sock_filter *bpf; in uml_vector_default_bpf() local
814 struct sock_filter *bpf; in uml_vector_user_bpf() local
/kernel/linux/linux-4.19/arch/um/drivers/
Dvector_user.c546 int uml_vector_attach_bpf(int fd, void *bpf, int bpf_len) in uml_vector_attach_bpf()
559 struct sock_filter *bpf; in uml_vector_default_bpf() local
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc_bpf.c166 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
/kernel/linux/linux-5.10/net/xdp/
Dxsk_buff_pool.c105 struct netdev_bpf bpf; in xp_disable_drv_zc() local
126 struct netdev_bpf bpf; in __xp_assign_dev() local
/kernel/linux/linux-4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h159 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member
352 struct netdev_bpf *bpf) in nfp_app_bpf()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-4.19/tools/
DMakefile62 cgroup firewire hv guest spi usb virtio vm bpf iio gpio objtool leds wmi: FORCE target

123