Searched refs:ecmp_size (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 2604 u16 ecmp_size; member 2684 *p_adj_size = nh_grp->ecmp_size; in mlxsw_sp_nexthop_indexes() 2942 u32 adj_index, u16 ecmp_size, in mlxsw_sp_adj_index_mass_update_vr() argument 2950 fib->vr->id, adj_index, ecmp_size, new_adj_index, in mlxsw_sp_adj_index_mass_update_vr() 2971 nh_grp->ecmp_size); in mlxsw_sp_adj_index_mass_update() 3206 u16 ecmp_size = nh_grp->ecmp_size; in mlxsw_sp_nexthop_group_rebalance() local 3216 upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total); in mlxsw_sp_nexthop_group_rebalance() 3226 u16 ecmp_size, old_ecmp_size; in mlxsw_sp_nexthop_group_refresh() local 3267 ecmp_size = nh_grp->sum_norm_weight; in mlxsw_sp_nexthop_group_refresh() 3268 err = mlxsw_sp_fix_adj_grp_size(mlxsw_sp, &ecmp_size); in mlxsw_sp_nexthop_group_refresh() [all …]
|
D | reg.h | 6276 MLXSW_ITEM32(reg, ralue, ecmp_size, 0x28, 0, 13); 6343 u16 trap_id, u32 adjacency_index, u16 ecmp_size) in mlxsw_reg_ralue_act_remote_pack() argument 6350 mlxsw_reg_ralue_ecmp_size_set(payload, ecmp_size); in mlxsw_reg_ralue_act_remote_pack() 6568 MLXSW_ITEM32(reg, raleu, ecmp_size, 0x14, 0, 13); 6585 u32 adjacency_index, u16 ecmp_size, in mlxsw_reg_raleu_pack() argument 6593 mlxsw_reg_raleu_ecmp_size_set(payload, ecmp_size); in mlxsw_reg_raleu_pack()
|