Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h35 struct mlxsw_sp_nexthop;
95 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router,
96 struct mlxsw_sp_nexthop *nh);
97 bool mlxsw_sp_nexthop_offload(struct mlxsw_sp_nexthop *nh);
98 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh);
99 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index,
101 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh);
102 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh);
107 struct mlxsw_sp_nexthop *nh, u64 *p_counter);
109 struct mlxsw_sp_nexthop *nh);
[all …]
Dspectrum_router.c2563 struct mlxsw_sp_nexthop { struct
2607 struct mlxsw_sp_nexthop nexthops[0]; argument
2612 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc()
2628 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free()
2637 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
2646 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, in mlxsw_sp_nexthop_next()
2647 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
2661 bool mlxsw_sp_nexthop_offload(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_offload()
2666 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
2673 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes()
[all …]
Dspectrum_dpipe.c909 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_size()
1063 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_dpipe_table_adj_entry_fill()
1087 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_entries_get()
1180 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_counters_update()