Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c5089 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local
5123 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register()
5124 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp1_resources_kvd_register()
5125 double_size /= profile->kvd_hash_double_parts + in mlxsw_sp1_resources_kvd_register()
5127 double_size = rounddown(double_size, MLXSW_SP_KVD_GRANULARITY); in mlxsw_sp1_resources_kvd_register()
5129 double_size, in mlxsw_sp1_resources_kvd_register()
5136 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register()
5184 u32 double_size; in mlxsw_sp_kvd_sizes_get() local
5208 double_size = MLXSW_CORE_RES_GET(mlxsw_core, KVD_SIZE) - in mlxsw_sp_kvd_sizes_get()
5210 double_size *= profile->kvd_hash_double_parts; in mlxsw_sp_kvd_sizes_get()
[all …]
Dpci.c1058 u64 single_size, double_size, linear_size; in mlxsw_pci_profile_get_kvd_sizes() local
1062 &single_size, &double_size, in mlxsw_pci_profile_get_kvd_sizes()
1068 MLXSW_RES_SET(res, KVD_DOUBLE_SIZE, double_size); in mlxsw_pci_profile_get_kvd_sizes()