Home
last modified time | relevance | path

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

12

/linux-6.6.21/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
/linux-6.6.21/net/core/
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
Dxdp.c535 struct netdev_bpf *bpf) in xdp_attachment_setup()
/linux-6.6.21/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()
547 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/linux-6.6.21/arch/um/drivers/
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
Dvector_kern.h131 struct sock_fprog *bpf; member
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_lookup_key.c26 int BPF_PROG(bpf, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
Dtest_verify_pkcs7_sig.c45 int BPF_PROG(bpf, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
/linux-6.6.21/drivers/net/vmxnet3/
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()
/linux-6.6.21/Documentation/bpf/
Dbpf_devel_QA.rst692 .. _selftests:
/linux-6.6.21/net/xdp/
Dxsk_buff_pool.c128 struct netdev_bpf bpf; in xp_disable_drv_zc() local
153 struct netdev_bpf bpf; in xp_assign_dev() local
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/
Dmana_bpf.c212 int mana_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in mana_bpf()
/linux-6.6.21/drivers/net/hyperv/
Dnetvsc_bpf.c194 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h134 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member
330 struct netdev_bpf *bpf) in nfp_app_bpf()
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()
/linux-6.6.21/tools/perf/util/
Dtool.h62 bpf, member
/linux-6.6.21/tools/
DMakefile72 cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci fir… target
/linux-6.6.21/drivers/media/pci/bt8xx/
Dbttv-risc.c671 int bpf = bpl * (btv->height >> 1); in bttv_buffer_risc() local
/linux-6.6.21/drivers/net/ethernet/ti/
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()
/linux-6.6.21/tools/testing/selftests/bpf/
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-6.6.21/include/net/
Dnet_namespace.h162 struct netns_bpf bpf; member

12