Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h87 struct mlxsw_sp_nexthop;
142 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router,
143 struct mlxsw_sp_nexthop *nh);
144 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh);
145 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh);
146 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index,
148 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh);
149 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh);
154 struct mlxsw_sp_nexthop *nh, u64 *p_counter);
156 struct mlxsw_sp_nexthop *nh, bool force,
[all …]
H A Dspectrum_router.c3058 struct mlxsw_sp_nexthop { struct
3094 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_dev() argument
3119 struct mlxsw_sp_nexthop nexthops[] __counted_by(count);
3199 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_get()
3228 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_put()
3245 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_enable()
3272 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_disable()
3285 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_update()
3294 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
3303 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, in mlxsw_sp_nexthop_next()
[all …]
H A Dspectrum_dpipe.c911 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_size()
1065 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_dpipe_table_adj_entry_fill()
1089 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_entries_get()
1183 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_counters_update()