Searched refs:MLX5_UMR_FLEX_ALIGNMENT (Results 1 – 5 of 5) sorted by relevance
456 ((1 << (MLX5_MAX_UMR_SHIFT + 4)) - MLX5_UMR_FLEX_ALIGNMENT)466 const size_t xlt_chunk_align = MLX5_UMR_FLEX_ALIGNMENT / ent_size; in mlx5r_umr_alloc_xlt()470 static_assert(PAGE_SIZE % MLX5_UMR_FLEX_ALIGNMENT == 0); in mlx5r_umr_alloc_xlt()713 sg.length = ALIGN(final_size, MLX5_UMR_FLEX_ALIGNMENT); in _mlx5r_umr_update_mr_pas()759 const int page_align = MLX5_UMR_FLEX_ALIGNMENT / desc_size; in mlx5r_umr_update_xlt()817 sg.length = ALIGN(size_to_map, MLX5_UMR_FLEX_ALIGNMENT); in mlx5r_umr_update_xlt()
295 #define MLX5_UMR_FLEX_ALIGNMENT 0x40 macro296 #define MLX5_UMR_MTT_NUM_ENTRIES_ALIGNMENT (MLX5_UMR_FLEX_ALIGNMENT / sizeof(struct mlx5_mtt))297 #define MLX5_UMR_KLM_NUM_ENTRIES_ALIGNMENT (MLX5_UMR_FLEX_ALIGNMENT / sizeof(struct mlx5_klm))298 #define MLX5_UMR_KSM_NUM_ENTRIES_ALIGNMENT (MLX5_UMR_FLEX_ALIGNMENT / sizeof(struct mlx5_ksm))
112 MLX5_UMR_FLEX_ALIGNMENT) / umr_entry_size; in mlx5e_mpwrq_log_wqe_sz()151 ALIGN(pages_per_wqe * umr_entry_size, MLX5_UMR_FLEX_ALIGNMENT); in mlx5e_mpwrq_umr_wqe_sz()
109 MLX5_UMR_FLEX_ALIGNMENT))
305 sz = ALIGN(entries * umr_entry_size, MLX5_UMR_FLEX_ALIGNMENT); in mlx5e_mpwrq_umr_octowords()