Lines Matching refs:env_value
289 char *env_value; in mlx5_local_cpu_set() local
293 env_value = getenv("MLX5_LOCAL_CPUS"); in mlx5_local_cpu_set()
294 if (env_value) in mlx5_local_cpu_set()
295 strncpy(buf, env_value, sizeof(buf)); in mlx5_local_cpu_set()
386 char *env_value; in mlx5_read_env() local
388 env_value = getenv("MLX5_STALL_CQ_POLL"); in mlx5_read_env()
389 if (env_value) in mlx5_read_env()
391 ctx->stall_enable = (strcmp(env_value, "0")) ? 1 : 0; in mlx5_read_env()
396 env_value = getenv("MLX5_STALL_NUM_LOOP"); in mlx5_read_env()
397 if (env_value) in mlx5_read_env()
398 mlx5_stall_num_loop = atoi(env_value); in mlx5_read_env()
400 env_value = getenv("MLX5_STALL_CQ_POLL_MIN"); in mlx5_read_env()
401 if (env_value) in mlx5_read_env()
402 mlx5_stall_cq_poll_min = atoi(env_value); in mlx5_read_env()
404 env_value = getenv("MLX5_STALL_CQ_POLL_MAX"); in mlx5_read_env()
405 if (env_value) in mlx5_read_env()
406 mlx5_stall_cq_poll_max = atoi(env_value); in mlx5_read_env()
408 env_value = getenv("MLX5_STALL_CQ_INC_STEP"); in mlx5_read_env()
409 if (env_value) in mlx5_read_env()
410 mlx5_stall_cq_inc_step = atoi(env_value); in mlx5_read_env()
412 env_value = getenv("MLX5_STALL_CQ_DEC_STEP"); in mlx5_read_env()
413 if (env_value) in mlx5_read_env()
414 mlx5_stall_cq_dec_step = atoi(env_value); in mlx5_read_env()