Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c37 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_create()
48 BIT(MLX5_CAP_DEV_MEM(dev, log_header_modify_sw_icm_size) - in mlx5_dm_create()
63 BIT(MLX5_CAP_DEV_MEM(dev, log_header_modify_pattern_sw_icm_size) - in mlx5_dm_create()
95 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_cleanup()
102 BIT(MLX5_CAP_DEV_MEM(dev, in mlx5_dm_cleanup()
110 BIT(MLX5_CAP_DEV_MEM(dev, in mlx5_dm_cleanup()
151 log_icm_size = MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size); in mlx5_dm_sw_icm_alloc()
156 log_icm_size = MLX5_CAP_DEV_MEM(dev, in mlx5_dm_sw_icm_alloc()
163 log_icm_size = MLX5_CAP_DEV_MEM(dev, in mlx5_dm_sw_icm_alloc()
/linux-6.1.9/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.c939 if (MLX5_CAP_DEV_MEM(mdev, memic)) { in mlx5_ib_query_device()
941 MLX5_CAP_DEV_MEM(mdev, max_memic_size); in mlx5_ib_query_device()
3829 if (MLX5_CAP_DEV_MEM(mdev, memic) || in mlx5_ib_stage_caps_init()
/linux-6.1.9/include/linux/mlx5/
Ddevice.h1196 MLX5_CAP_DEV_MEM, enumerator
1435 #define MLX5_CAP_DEV_MEM(mdev, cap)\ macro
1436 MLX5_GET(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
1439 MLX5_GET64(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
Ddriver.h729 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity))
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c240 err = mlx5_core_get_caps(dev, MLX5_CAP_DEV_MEM); in mlx5_query_hca_caps()
Dmain.c1542 MLX5_CAP_DEV_MEM,
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c199 caps->log_icm_size = MLX5_CAP_DEV_MEM(mdev, log_steering_sw_icm_size); in mlx5dr_cmd_query_device()