Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dumr.c456 ((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()
/linux-6.12.1/include/linux/mlx5/
Ddevice.h295 #define MLX5_UMR_FLEX_ALIGNMENT 0x40 macro
296 #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))
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c112 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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den.h109 MLX5_UMR_FLEX_ALIGNMENT))
Den_main.c305 sz = ALIGN(entries * umr_entry_size, MLX5_UMR_FLEX_ALIGNMENT); in mlx5e_mpwrq_umr_octowords()