Home
last modified time | relevance | path

Searched refs:num_uars_per_page (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.c746 if (!resp.log_uar_size && !resp.num_uars_per_page) { in adjust_uar_info()
749 context->num_uars_per_page = 1; in adjust_uar_info()
754 context->num_uars_per_page = resp.num_uars_per_page; in adjust_uar_info()
870 …num_sys_page_map = context->tot_uuars / (context->num_uars_per_page * MLX5_NUM_NON_FP_BFREGS_PER_U… in mlx5_init_context()
884 for (j = 0; j < context->num_uars_per_page; j++) { in mlx5_init_context()
886 bfi = (i * context->num_uars_per_page + j) * NUM_BFREGS_PER_UAR + k; in mlx5_init_context()
959 for (j = 0; j < context->num_uars_per_page; j++) { in mlx5_init_context()
961 bfi = (i * context->num_uars_per_page + j) * NUM_BFREGS_PER_UAR + k; in mlx5_init_context()
1002 …num_sys_page_map = context->tot_uuars / (context->num_uars_per_page * MLX5_NUM_NON_FP_BFREGS_PER_U… in mlx5_cleanup_context()
1004 for (j = 0; j < context->num_uars_per_page; j++) { in mlx5_cleanup_context()
[all …]
H A Dmlx5-abi.h102 __u32 num_uars_per_page; member
H A Dmlx5.h215 int num_uars_per_page; member
/freebsd/sys/ofed/include/uapi/rdma/
H A Dmlx5-abi.h124 __u32 num_uars_per_page; member
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1315 resp.num_uars_per_page = MLX5_CAP_GEN(dev->mdev, uar_4k) ? in mlx5_ib_alloc_ucontext()
1402 if (offsetofend(typeof(resp), num_uars_per_page) <= udata->outlen) in mlx5_ib_alloc_ucontext()
1403 resp.response_length += sizeof(resp.num_uars_per_page); in mlx5_ib_alloc_ucontext()