| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | action_ste_pool.c | 24 enum mlx5hws_pool_optimize opt, size_t log_sz) in hws_action_ste_table_create_pool() argument 32 pool_attr.alloc_log_sz = log_sz; in hws_action_ste_table_create_pool() 46 enum mlx5hws_pool_optimize opt, size_t log_sz, bool tx) in hws_action_ste_table_create_single_rtc() argument 67 opt == MLX5HWS_POOL_OPTIMIZE_ORIG ? 0 : log_sz; in hws_action_ste_table_create_single_rtc() 74 opt == MLX5HWS_POOL_OPTIMIZE_MIRROR ? 0 : log_sz; in hws_action_ste_table_create_single_rtc() 84 enum mlx5hws_pool_optimize opt, size_t log_sz) in hws_action_ste_table_create_rtcs() argument 89 log_sz, false); in hws_action_ste_table_create_rtcs() 94 log_sz, true); in hws_action_ste_table_create_rtcs() 135 size_t log_sz; in hws_action_ste_table_alloc() local 138 log_sz = min(parent_elem->log_sz ? in hws_action_ste_table_alloc() [all …]
|
| /linux/include/linux/mlx5/ |
| H A D | driver.h | 303 u8 log_sz; member 365 u8 log_sz; member 920 static inline u32 wq_get_byte_sz(u8 log_sz, u8 log_stride) in wq_get_byte_sz() argument 922 return ((u32)1 << log_sz) << log_stride; in wq_get_byte_sz() 926 u8 log_stride, u8 log_sz, in mlx5_init_fbc_offset() argument 932 fbc->log_sz = log_sz; in mlx5_init_fbc_offset() 933 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset() 940 u8 log_stride, u8 log_sz, in mlx5_init_fbc() argument 943 mlx5_init_fbc_offset(frags, log_stride, log_sz, 0, fbc); in mlx5_init_fbc()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | reg_bounds.c | 961 char *log_buf, size_t log_sz, in load_range_cmp_prog() 977 .log_size = log_sz, in load_range_cmp_prog() 1547 size_t log_sz = sizeof(log_buf); in verify_case_op() 1565 log_buf, log_sz, &false_pos, &true_pos); in verify_case_opt() 926 load_range_cmp_prog(struct range x,struct range y,enum op op,int branch_taken,struct case_spec spec,char * log_buf,size_t log_sz,int * false_pos,int * true_pos) load_range_cmp_prog() argument 1492 size_t log_sz = sizeof(log_buf); verify_case_op() local
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_internal.h | 438 char *log_buf, size_t log_sz, __u32 log_level,
|
| H A D | libbpf.c | 8155 static void patch_log(char *buf, size_t buf_sz, size_t log_sz, in patch_log() argument 8159 size_t rem_sz = (buf + log_sz) - (orig + orig_sz); in patch_log() 8180 } else if (patch_sz - orig_sz > buf_sz - log_sz) { in patch_log() 8182 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz); in patch_log() 8193 char *buf, size_t buf_sz, size_t log_sz, in fixup_log_failed_core_relo() argument 8228 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_failed_core_relo() 8232 char *buf, size_t buf_sz, size_t log_sz, in fixup_log_missing_map_load() argument 8261 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_missing_map_load() 8265 char *buf, size_t buf_sz, size_t log_sz, in fixup_log_missing_kfunc_call() argument 8294 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_missing_kfunc_call() [all …]
|
| H A D | btf.c | 1693 char *log_buf, size_t log_sz, __u32 log_level, in btf_load_into_kernel() argument 1704 if (log_sz && !log_buf) in btf_load_into_kernel() 1740 opts.log_size = log_buf ? log_sz : buf_sz; in btf_load_into_kernel()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rx.c | 165 title->op_own |= 0x01 & (cqcc >> wq->fbc.log_sz); in mlx5e_decompress_cqe()
|