Lines Matching refs:pr_vlog
16 #define pr_vlog(env, fmt, ...) \ macro
113 …pr_vlog(env, "value at offset %d/%d may be non-zero, bpf_map_update_elem() is required to initiali… in nfp_bpf_map_update_value_ok()
131 pr_vlog(env, "%s: unsupported ptr type %d\n", in nfp_bpf_stack_arg_ok()
136 pr_vlog(env, "%s: variable pointer\n", fname); in nfp_bpf_stack_arg_ok()
142 pr_vlog(env, "%s: unaligned stack pointer %lld\n", fname, -off); in nfp_bpf_stack_arg_ok()
162 pr_vlog(env, "%s: not supported by FW\n", fname); in nfp_bpf_map_call_ok()
183 pr_vlog(env, "adjust_head not supported by FW\n"); in nfp_bpf_check_helper_call()
187 pr_vlog(env, "adjust_head: FW requires shifting metadata, not supported by the driver\n"); in nfp_bpf_check_helper_call()
196 pr_vlog(env, "adjust_tail not supported by FW\n"); in nfp_bpf_check_helper_call()
230 pr_vlog(env, "bpf_get_prandom_u32(): FW doesn't support random number generation\n"); in nfp_bpf_check_helper_call()
240 pr_vlog(env, "event_output: not supported by FW\n"); in nfp_bpf_check_helper_call()
253 pr_vlog(env, "event_output: must use BPF_F_CURRENT_CPU, var_off: %s\n", in nfp_bpf_check_helper_call()
267 pr_vlog(env, "event_output: unsupported ptr type: %d\n", in nfp_bpf_check_helper_call()
286 pr_vlog(env, "warning: return codes and behavior of event_output helper differ for offload!\n"); in nfp_bpf_check_helper_call()
292 pr_vlog(env, "event_output: ptr type changed: %d %d\n", in nfp_bpf_check_helper_call()
299 pr_vlog(env, "unsupported function id: %d\n", func_id); in nfp_bpf_check_helper_call()
324 pr_vlog(env, "unsupported exit state: %d, var_off: %s\n", in nfp_bpf_check_exit()
334 pr_vlog(env, "unsupported exit state: %d, imm: %llx\n", in nfp_bpf_check_exit()
354 pr_vlog(env, "variable ptr stack access\n"); in nfp_bpf_check_stack_access()
372 pr_vlog(env, "stack access changed location was:%d is:%d\n", in nfp_bpf_check_stack_access()
398 pr_vlog(env, "map value use type conflict %s vs %s off: %u\n", in nfp_bpf_map_mark_used_one()
406 pr_vlog(env, "atomic counter in map value may already be initialized to non-zero value off: %u\n", in nfp_bpf_map_mark_used_one()
427 pr_vlog(env, "map value offset is variable\n"); in nfp_bpf_map_mark_used()
437 pr_vlog(env, "map value access out-of-bounds\n"); in nfp_bpf_map_mark_used()
461 pr_vlog(env, "unsupported ptr type: %d\n", reg->type); in nfp_bpf_check_ptr()
479 pr_vlog(env, "map writes not supported\n"); in nfp_bpf_check_ptr()
491 pr_vlog(env, "ptr type changed for instruction %d -> %d\n", in nfp_bpf_check_ptr()
514 pr_vlog(env, "queue selection not supported by FW\n"); in nfp_bpf_check_store()
518 pr_vlog(env, "unsupported store to context field\n"); in nfp_bpf_check_store()
533 pr_vlog(env, "atomic op not implemented: %d\n", meta->insn.imm); in nfp_bpf_check_atomic()
538 pr_vlog(env, "atomic add not to a map value pointer: %d\n", in nfp_bpf_check_atomic()
543 pr_vlog(env, "atomic add not of a scalar: %d\n", sreg->type); in nfp_bpf_check_atomic()
583 pr_vlog(env, "multiplier is not within u32 value range\n"); in nfp_bpf_check_alu()
587 pr_vlog(env, "multiplicand is not within u32 value range\n"); in nfp_bpf_check_alu()
592 pr_vlog(env, "sign extended multiplicand won't be within u32 value range\n"); in nfp_bpf_check_alu()
609 pr_vlog(env, "dividend is not within u32 value range\n"); in nfp_bpf_check_alu()
614 pr_vlog(env, "divisor is not constant\n"); in nfp_bpf_check_alu()
618 pr_vlog(env, "divisor is not within u32 value range\n"); in nfp_bpf_check_alu()
623 pr_vlog(env, "divide by negative constant is not supported\n"); in nfp_bpf_check_alu()
641 pr_vlog(env, "instruction %#02x not supported\n", in nfp_verify_insn()
648 pr_vlog(env, "program uses extended registers - jit hardening?\n"); in nfp_verify_insn()
690 …pr_vlog(env, "BUG: number of processed BPF functions is not consistent (processed %d, expected %d)… in nfp_assign_subprog_idx_and_regs()
798 pr_vlog(env, "stack too large: program %dB > FW stack %dB\n", in nfp_bpf_finalize()
828 pr_vlog(env, "branch hard wire at %d changes target %d -> %d\n", in nfp_bpf_opt_replace_insn()
836 pr_vlog(env, "unsupported instruction replacement %hhx -> %hhx\n", in nfp_bpf_opt_replace_insn()