Home
last modified time | relevance | path

Searched refs:log_sz (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/linux/mlx5/
Ddriver.h292 u8 log_sz; member
344 u8 log_sz; member
917 static inline u32 wq_get_byte_sz(u8 log_sz, u8 log_stride) in wq_get_byte_sz() argument
919 return ((u32)1 << log_sz) << log_stride; in wq_get_byte_sz()
923 u8 log_stride, u8 log_sz, in mlx5_init_fbc_offset() argument
929 fbc->log_sz = log_sz; in mlx5_init_fbc_offset()
930 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset()
937 u8 log_stride, u8 log_sz, in mlx5_init_fbc() argument
940 mlx5_init_fbc_offset(frags, log_stride, log_sz, 0, fbc); in mlx5_init_fbc()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h65 return (eqe->owner ^ (eq->cons_index >> eq->fbc.log_sz)) & 1 ? NULL : eqe; in next_eqe_sw()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1644 for (i = 0; i < (1 << cmd->log_sz); i++) { in mlx5_cmd_comp_handler()
1733 vector = ~dev->cmd.bitmask & ((1ul << (1 << dev->cmd.log_sz)) - 1); in mlx5_cmd_trigger_completions()
1742 for_each_set_bit(i, &bitmask, (1 << cmd->log_sz)) in mlx5_cmd_trigger_completions()
1749 for_each_set_bit(i, &bitmask, (1 << cmd->log_sz)) in mlx5_cmd_trigger_completions()
2189 cmd->log_sz = cmd_l >> 4 & 0xf; in mlx5_cmd_init()
2191 if (1 << cmd->log_sz > MLX5_MAX_COMMANDS) { in mlx5_cmd_init()
2193 1 << cmd->log_sz); in mlx5_cmd_init()
2198 if (cmd->log_sz + cmd->log_stride > MLX5_ADAPTER_PAGE_SHIFT) { in mlx5_cmd_init()
2206 cmd->max_reg_cmds = (1 << cmd->log_sz) - 1; in mlx5_cmd_init()
Dwq.h212 return ctr >> wq->fbc.log_sz; in mlx5_cqwq_get_ctr_wrap_cnt()
Deq.c317 MLX5_SET(eqc, eqc, log_eq_size, eq->fbc.log_sz); in create_map_eq()
Den_rx.c148 title->op_own |= 0x01 & (cqcc >> wq->fbc.log_sz); in mlx5e_decompress_cqe()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf_internal.h368 int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level);
Dlibbpf.c6899 static void patch_log(char *buf, size_t buf_sz, size_t log_sz, in patch_log() argument
6903 size_t rem_sz = (buf + log_sz) - (orig + orig_sz); in patch_log()
6924 } else if (patch_sz - orig_sz > buf_sz - log_sz) { in patch_log()
6926 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz); in patch_log()
6937 char *buf, size_t buf_sz, size_t log_sz, in fixup_log_failed_core_relo() argument
6972 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_failed_core_relo()
6976 char *buf, size_t buf_sz, size_t log_sz, in fixup_log_missing_map_load() argument
7005 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_missing_map_load()
7013 size_t log_sz; in fixup_verifier_log() local
7019 log_sz = strlen(buf) + 1; in fixup_verifier_log()
[all …]
Dbtf.c1148 int btf_load_into_kernel(struct btf *btf, char *log_buf, size_t log_sz, __u32 log_level) in btf_load_into_kernel() argument
1158 if (log_sz && !log_buf) in btf_load_into_kernel()
1194 opts.log_size = log_buf ? log_sz : buf_sz; in btf_load_into_kernel()