Searched refs:mlxsw_sp_nexthop (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.h | 67 struct mlxsw_sp_nexthop; 124 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, 125 struct mlxsw_sp_nexthop *nh); 126 bool mlxsw_sp_nexthop_offload(struct mlxsw_sp_nexthop *nh); 127 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh); 128 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, 130 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh); 131 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh); 136 struct mlxsw_sp_nexthop *nh, u64 *p_counter); 138 struct mlxsw_sp_nexthop *n [all...] |
H A D | spectrum_router.c | 2751 struct mlxsw_sp_nexthop { struct 2795 struct mlxsw_sp_nexthop nexthops[0]; 2800 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc() 2816 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free() 2825 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get() 2834 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, in mlxsw_sp_nexthop_next() 2835 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next() 2849 bool mlxsw_sp_nexthop_offload(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_offload() 2854 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha() 2861 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *n [all...] |
H A D | spectrum_dpipe.c | 911 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() 1182 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_counters_update()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.h | 87 struct mlxsw_sp_nexthop; 143 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, 144 struct mlxsw_sp_nexthop *nh); 145 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh); 146 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh); 147 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, 149 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh); 150 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh); 155 struct mlxsw_sp_nexthop *nh, u64 *p_counter); 157 struct mlxsw_sp_nexthop *n [all...] |
H A D | spectrum_router.c | 3051 struct mlxsw_sp_nexthop { struct 3087 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_dev() 3110 struct mlxsw_sp_nexthop nexthops[]; 3154 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc() 3170 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free() 3179 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get() 3188 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, in mlxsw_sp_nexthop_next() 3189 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next() 3203 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward() 3208 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *n [all...] |
H A D | spectrum_dpipe.c | 911 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()
|
Completed in 24 milliseconds