Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3585 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local
3619 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register()
3620 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp1_resources_kvd_register()
3621 double_size /= profile->kvd_hash_double_parts + in mlxsw_sp1_resources_kvd_register()
3623 double_size = rounddown(double_size, MLXSW_SP_KVD_GRANULARITY); in mlxsw_sp1_resources_kvd_register()
3625 double_size, in mlxsw_sp1_resources_kvd_register()
3632 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register()
3810 u32 double_size; in mlxsw_sp_kvd_sizes_get() local
3834 double_size = MLXSW_CORE_RES_GET(mlxsw_core, KVD_SIZE) - in mlxsw_sp_kvd_sizes_get()
3836 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp_kvd_sizes_get()
[all …]
Dpci.c1159 u64 single_size, double_size, linear_size; in mlxsw_pci_profile_get_kvd_sizes() local
1163 &single_size, &double_size, in mlxsw_pci_profile_get_kvd_sizes()
1169 MLXSW_RES_SET(res, KVD_DOUBLE_SIZE, double_size); in mlxsw_pci_profile_get_kvd_sizes()