Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c477 unsigned long prefix_ref_count[MLXSW_SP_PREFIX_COUNT]; member
626 memset(&lpm_tree->prefix_ref_count, 0, in mlxsw_sp_lpm_tree_create()
627 sizeof(lpm_tree->prefix_ref_count)); in mlxsw_sp_lpm_tree_create()
979 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace()
980 sizeof(new_tree->prefix_ref_count)); in mlxsw_sp_vrs_lpm_tree_replace()
6154 if (lpm_tree->prefix_ref_count[fib_node->key.prefix_len] != 0) in mlxsw_sp_fib_lpm_tree_link()
6169 lpm_tree->prefix_ref_count[fib_node->key.prefix_len]++; in mlxsw_sp_fib_lpm_tree_link()
6185 if (--lpm_tree->prefix_ref_count[fib_node->key.prefix_len] != 0) in mlxsw_sp_fib_lpm_tree_unlink()