Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A 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()

Completed in 2 milliseconds