Searched refs:ecmp_size (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 2792 u16 ecmp_size; member 2872 *p_adj_size = nh_grp->ecmp_size; in mlxsw_sp_nexthop_indexes() 3135 u32 adj_index, u16 ecmp_size, in mlxsw_sp_adj_index_mass_update_vr() argument 3143 fib->vr->id, adj_index, ecmp_size, new_adj_index, in mlxsw_sp_adj_index_mass_update_vr() 3164 nh_grp->ecmp_size); in mlxsw_sp_adj_index_mass_update() 3375 u16 ecmp_size = nh_grp->ecmp_size; in mlxsw_sp_nexthop_group_rebalance() local 3385 upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total); in mlxsw_sp_nexthop_group_rebalance() 3462 u16 ecmp_size, old_ecmp_size; in mlxsw_sp_nexthop_group_refresh() local 3503 ecmp_size = nh_grp->sum_norm_weight; in mlxsw_sp_nexthop_group_refresh() 3504 err = mlxsw_sp_fix_adj_grp_size(mlxsw_sp, &ecmp_size); in mlxsw_sp_nexthop_group_refresh() [all …]
|
D | reg.h | 7235 MLXSW_ITEM32(reg, ralue, ecmp_size, 0x28, 0, 13); 7302 u16 trap_id, u32 adjacency_index, u16 ecmp_size) in mlxsw_reg_ralue_act_remote_pack() argument 7309 mlxsw_reg_ralue_ecmp_size_set(payload, ecmp_size); in mlxsw_reg_ralue_act_remote_pack() 7527 MLXSW_ITEM32(reg, raleu, ecmp_size, 0x14, 0, 13); 7544 u32 adjacency_index, u16 ecmp_size, in mlxsw_reg_raleu_pack() argument 7552 mlxsw_reg_raleu_ecmp_size_set(payload, ecmp_size); in mlxsw_reg_raleu_pack()
|