Home
last modified time | relevance | path

Searched refs:tot_uuars (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.c512 static int get_num_low_lat_uuars(int tot_uuars) in get_num_low_lat_uuars() argument
524 num = max(num, tot_uuars - MLX5_MED_BFREGS_TSHOLD); in get_num_low_lat_uuars()
539 if (uuarn >= (ctx->tot_uuars - ctx->low_lat_uuars) * 2) in need_uuar_lock()
765 int tot_uuars; in mlx5_init_context() local
792 tot_uuars = get_total_uuars(page_size); in mlx5_init_context()
793 if (tot_uuars < 0) { in mlx5_init_context()
794 errno = -tot_uuars; in mlx5_init_context()
798 low_lat_uuars = get_num_low_lat_uuars(tot_uuars); in mlx5_init_context()
804 if (low_lat_uuars > tot_uuars - 1) { in mlx5_init_context()
812 req.total_num_uuars = tot_uuars; in mlx5_init_context()
[all …]
H A Dmlx5-abi.h86 __u32 tot_uuars; member
H A Dmlx5.h213 int tot_uuars; member