Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h143 struct mlxsw_sp_nexthop;
200 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router,
201 struct mlxsw_sp_nexthop *nh);
202 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh);
203 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh);
204 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index,
206 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh);
207 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh);
212 struct mlxsw_sp_nexthop *nh, u64 *p_counter);
214 struct mlxsw_sp_nexthop *nh, bool force,
[all …]
Dspectrum_router.c2869 struct mlxsw_sp_nexthop { struct
2920 struct mlxsw_sp_nexthop nexthops[0]; argument
2955 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc()
2971 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free()
2980 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
2989 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, in mlxsw_sp_nexthop_next()
2990 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
3004 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward()
3009 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
3017 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes()
[all …]
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()