/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | cmsg.c | 18 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 D | main.c | 27 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 D | offload.c | 31 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 D | verifier.c | 48 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 D | main.h | 21 #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 D | bpf_devel_QA.rst | 660 .. _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 D | lwt_bpf.c | 118 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 D | xdp.c | 462 struct netdev_bpf *bpf) in xdp_attachment_setup()
|
/linux/drivers/net/netdevsim/ |
A D | bpf.c | 180 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 D | netdevsim.h | 146 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
|
/linux/arch/um/drivers/ |
A D | vector_user.c | 754 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 D | vector_kern.h | 130 struct sock_fprog *bpf; member
|
/linux/drivers/net/hyperv/ |
A D | netvsc_bpf.c | 168 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
|
/linux/net/xdp/ |
A D | xsk_buff_pool.c | 111 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 D | nfp_app.h | 134 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member 320 struct netdev_bpf *bpf) in nfp_app_bpf()
|
A D | nfp_net_common.c | 3668 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 D | tool.h | 61 bpf, member
|
A D | evsel.h | 173 bool bpf; member
|
/linux/tools/ |
A D | Makefile | 68 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 D | cpsw_priv.c | 1261 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 D | bttv-risc.c | 708 int bpf = bpl * (buf->vb.height >> 1); in bttv_buffer_risc() local
|
/linux/include/net/ |
A D | net_namespace.h | 148 struct netns_bpf bpf; member
|
/linux/tools/testing/selftests/bpf/ |
A D | test_offload.py | 477 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 D | gro.c | 135 struct sock_fprog bpf = { in setup_sock_filter() local
|
/linux/tools/bpf/ |
A D | bpf_dbg.c | 501 struct sock_fprog bpf = { in bpf_runnable() local
|