Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.c958 if (MLX5_CAP_DEV_MEM(mdev, memic)) { in mlx5_ib_query_device()
960 MLX5_CAP_DEV_MEM(mdev, max_memic_size); in mlx5_ib_query_device()
3901 if (MLX5_CAP_DEV_MEM(mdev, memic) || in mlx5_ib_stage_caps_init()
/linux-6.6.21/include/linux/mlx5/ !
Ddevice.h1218 MLX5_CAP_DEV_MEM, enumerator
1402 #define MLX5_CAP_DEV_MEM(mdev, cap)\ macro
1403 MLX5_GET(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
1406 MLX5_GET64(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
Ddriver.h731 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity))
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/ !
Ddr_cmd.c214 caps->log_icm_size = MLX5_CAP_DEV_MEM(mdev, log_steering_sw_icm_size); in mlx5dr_cmd_query_device()
219 MLX5_CAP_DEV_MEM(mdev, log_header_modify_pattern_sw_icm_size); in mlx5dr_cmd_query_device()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ !
Dfw.c233 err = mlx5_core_get_caps_mode(dev, MLX5_CAP_DEV_MEM, HCA_CAP_OPMOD_GET_CUR); in mlx5_query_hca_caps()
Dmain.c1727 MLX5_CAP_DEV_MEM,