Home
last modified time | relevance | path

Searched defs:nfp_prog (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c22 #define nfp_for_each_insn_walk2(nfp_prog, pos, next) \ argument
30 #define nfp_for_each_insn_walk3(nfp_prog, pos, next, next2) \ argument
42 nfp_meta_has_prev(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta) in nfp_meta_has_prev()
47 static void nfp_prog_push(struct nfp_prog *nfp_prog, u64 insn) in nfp_prog_push()
60 static unsigned int nfp_prog_current_offset(struct nfp_prog *nfp_prog) in nfp_prog_current_offset()
66 nfp_prog_confirm_current_offset(struct nfp_prog *nfp_prog, unsigned int off) in nfp_prog_confirm_current_offset()
79 __emit_cmd(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, in __emit_cmd()
100 emit_cmd_any(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, u8 mode, u8 xfer, in emit_cmd_any()
127 emit_cmd(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, u8 mode, u8 xfer, in emit_cmd()
134 emit_cmd_indir(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, u8 mode, u8 xfer, in emit_cmd_indir()
[all …]
Dverifier.c20 nfp_bpf_goto_meta(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, in nfp_bpf_goto_meta()
48 nfp_record_adjust_head(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_record_adjust_head()
170 nfp_bpf_check_helper_call(struct nfp_prog *nfp_prog, in nfp_bpf_check_helper_call()
311 nfp_bpf_check_exit(struct nfp_prog *nfp_prog, in nfp_bpf_check_exit()
343 nfp_bpf_check_stack_access(struct nfp_prog *nfp_prog, in nfp_bpf_check_stack_access()
451 nfp_bpf_check_ptr(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, in nfp_bpf_check_ptr()
502 nfp_bpf_check_store(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, in nfp_bpf_check_store()
526 nfp_bpf_check_atomic(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, in nfp_bpf_check_atomic()
556 nfp_bpf_check_alu(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, in nfp_bpf_check_alu()
634 struct nfp_prog *nfp_prog = env->prog->aux->offload->dev_priv; in nfp_verify_insn() local
[all …]
Dmain.h237 #define nfp_prog_first_meta(nfp_prog) \ argument
239 #define nfp_prog_last_meta(nfp_prog) \ argument
513 struct nfp_prog { struct
514 struct nfp_app_bpf *bpf;
516 u64 *prog;
517 unsigned int prog_len;
518 unsigned int __prog_alloc_len;
520 unsigned int stack_size;
522 struct nfp_insn_meta *verifier_meta;
524 enum bpf_prog_type type;
[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()
151 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog, in nfp_prog_prepare()
178 static void nfp_prog_free(struct nfp_prog *nfp_prog) in nfp_prog_free()
193 struct nfp_prog *nfp_prog; in nfp_bpf_verifier_prep() local
222 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_translate() local
249 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_destroy() local
499 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_net_bpf_load() local