Home
last modified time | relevance | path

Searched refs:MLX5_CAP_DEV_MEM (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c34 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_create()
46 BIT(MLX5_CAP_DEV_MEM(dev, log_header_modify_sw_icm_size) - in mlx5_dm_create()
76 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_cleanup()
83 BIT(MLX5_CAP_DEV_MEM(dev, in mlx5_dm_cleanup()
124 log_icm_size = MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size); in mlx5_dm_sw_icm_alloc()
129 log_icm_size = MLX5_CAP_DEV_MEM(dev, in mlx5_dm_sw_icm_alloc()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Ddm.c16 u64 num_memic_hw_pages = MLX5_CAP_DEV_MEM(dev, memic_bar_size) in mlx5_cmd_alloc_memic()
19 u32 max_alignment = MLX5_CAP_DEV_MEM(dev, log_max_memic_addr_alignment); in mlx5_cmd_alloc_memic()
223 if (!(MLX5_CAP_DEV_MEM(dev->mdev, memic_operations) & BIT(op))) in UVERBS_HANDLER()
285 if (!MLX5_CAP_DEV_MEM(dm_db->dev, memic)) in handle_alloc_dm_memic()
Dmain.c944 if (MLX5_CAP_DEV_MEM(mdev, memic)) { in mlx5_ib_query_device()
946 MLX5_CAP_DEV_MEM(mdev, max_memic_size); in mlx5_ib_query_device()
3854 if (MLX5_CAP_DEV_MEM(mdev, memic) || in mlx5_ib_stage_caps_init()
/Linux-v5.15/include/linux/mlx5/
Ddevice.h1179 MLX5_CAP_DEV_MEM, enumerator
1392 #define MLX5_CAP_DEV_MEM(mdev, cap)\ macro
1393 MLX5_GET(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
1396 MLX5_GET64(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
Ddriver.h708 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity))
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c235 err = mlx5_core_get_caps(dev, MLX5_CAP_DEV_MEM); in mlx5_query_hca_caps()
Dmain.c1379 MLX5_CAP_DEV_MEM,
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c192 caps->log_icm_size = MLX5_CAP_DEV_MEM(mdev, log_steering_sw_icm_size); in mlx5dr_cmd_query_device()