Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_atcam.c50 unsigned int max_lkey_id; member
122 u64 max_lkey_id; in mlxsw_sp_acl_atcam_region_12kb_init() local
128 max_lkey_id = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_LARGE_KEY_ID); in mlxsw_sp_acl_atcam_region_12kb_init()
133 region_12kb->used_lkey_id = bitmap_zalloc(max_lkey_id, GFP_KERNEL); in mlxsw_sp_acl_atcam_region_12kb_init()
144 region_12kb->max_lkey_id = max_lkey_id; in mlxsw_sp_acl_atcam_region_12kb_init()
176 region_12kb->max_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_create()
177 if (id < region_12kb->max_lkey_id) in mlxsw_sp_acl_atcam_lkey_id_create()