fib_entry 1096 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 1107 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c ipip_entry->decap_fib_entry = fib_entry; fib_entry 1108 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.ipip_entry = ipip_entry; fib_entry 1109 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.tunnel_index = tunnel_index; fib_entry 1114 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 1117 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.ipip_entry->decap_fib_entry = NULL; fib_entry 1118 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.ipip_entry = NULL; fib_entry 1120 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 1, fib_entry->decap.tunnel_index); fib_entry 1127 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry); fib_entry 1133 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry = ipip_entry->decap_fib_entry; fib_entry 1135 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_decap_fini(mlxsw_sp, fib_entry); fib_entry 1136 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; fib_entry 1138 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); fib_entry 1161 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 1193 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry = list_first_entry(&fib_node->entry_list, fib_entry 1195 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib_entry->type != type) fib_entry 1198 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return fib_entry; fib_entry 1208 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 1246 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry = list_first_entry(&fib_node->entry_list, fib_entry 1248 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib_entry->type != MLXSW_SP_FIB_ENTRY_TYPE_TRAP) fib_entry 1251 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return fib_entry; fib_entry 1823 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 1829 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry = mlxsw_sp_router_ip2me_fib_entry_find(mlxsw_sp, ul_tb_id, fib_entry 1832 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!fib_entry) fib_entry 1835 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.tunnel_index = tunnel_index; fib_entry 1836 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; fib_entry 1838 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); fib_entry 1845 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; fib_entry 1846 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); fib_entry 1855 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 1857 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry = mlxsw_sp_router_ip2me_fib_entry_find(mlxsw_sp, ul_tb_id, fib_entry 1860 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!fib_entry) fib_entry 1863 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; fib_entry 1864 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); fib_entry 3073 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 3077 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry(fib_entry, &nh_grp->fib_list, nexthop_group_node) { fib_entry 3078 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib == fib_entry->fib_node->fib) fib_entry 3080 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = fib_entry->fib_node->fib; fib_entry 3195 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib_entry *fib_entry); fib_entry 3201 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 3204 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry(fib_entry, &nh_grp->fib_list, nexthop_group_node) { fib_entry 3205 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_fib_node_entry_is_first(fib_entry->fib_node, fib_entry 3206 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry)) fib_entry 3208 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); fib_entry 3216 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(struct mlxsw_sp_fib_entry *fib_entry, fib_entry 3223 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 3225 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry(fib_entry, &nh_grp->fib_list, nexthop_group_node) { fib_entry 3226 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_fib_node_entry_is_first(fib_entry->fib_node, fib_entry 3227 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry)) fib_entry 3229 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(fib_entry, op, 0); fib_entry 3941 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 3952 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_add_tail(&fib_entry->nexthop_group_node, &nh_grp->fib_list); fib_entry 3953 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->nh_group = nh_grp; fib_entry 3958 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 3960 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; fib_entry 3962 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_del(&fib_entry->nexthop_group_node); fib_entry 3969 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_entry_should_offload(const struct mlxsw_sp_fib_entry *fib_entry) fib_entry 3973 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, fib_entry 3979 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_should_offload(const struct mlxsw_sp_fib_entry *fib_entry) fib_entry 3981 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; fib_entry 3983 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->fib_node->fib->proto) { fib_entry 3985 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_fib4_entry_should_offload(fib_entry)) fib_entry 3992 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->type) { fib_entry 4027 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_entry_offload_set(struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4029 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; fib_entry 4032 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib_entry->type == MLXSW_SP_FIB_ENTRY_TYPE_LOCAL || fib_entry 4033 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type == MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE || fib_entry 4034 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type == MLXSW_SP_FIB_ENTRY_TYPE_IPIP_DECAP || fib_entry 4035 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type == MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP) { fib_entry 4051 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_entry_offload_unset(struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4053 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; fib_entry 4067 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib6_entry_offload_set(struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4072 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib6_entry = container_of(fib_entry, struct mlxsw_sp_fib6_entry, fib_entry 4075 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib_entry->type == MLXSW_SP_FIB_ENTRY_TYPE_LOCAL || fib_entry 4076 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type == MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE) { fib_entry 4083 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; fib_entry 4096 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib6_entry_offload_unset(struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4101 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib6_entry = container_of(fib_entry, struct mlxsw_sp_fib6_entry, fib_entry 4110 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_fib_entry_offload_set(struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4112 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->fib_node->fib->proto) { fib_entry 4114 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_entry_offload_set(fib_entry); fib_entry 4117 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib6_entry_offload_set(fib_entry); fib_entry 4123 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_unset(struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4125 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->fib_node->fib->proto) { fib_entry 4127 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib4_entry_offload_unset(fib_entry); fib_entry 4130 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib6_entry_offload_unset(fib_entry); fib_entry 4136 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4141 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_offload_unset(fib_entry); fib_entry 4145 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (mlxsw_sp_fib_entry_should_offload(fib_entry)) fib_entry 4146 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_set(fib_entry); fib_entry 4148 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_unset(fib_entry); fib_entry 4157 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4160 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = fib_entry->fib_node->fib; fib_entry 4168 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c p_dip = (u32 *) fib_entry->fib_node->key.addr; fib_entry 4170 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->fib_node->key.prefix_len, fib_entry 4175 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->fib_node->key.prefix_len, fib_entry 4176 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->fib_node->key.addr); fib_entry 4182 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4195 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (mlxsw_sp_fib_entry_should_offload(fib_entry)) { fib_entry 4197 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c adjacency_index = fib_entry->nh_group->adj_index; fib_entry 4198 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c ecmp_size = fib_entry->nh_group->ecmp_size; fib_entry 4204 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); fib_entry 4211 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4214 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_rif *rif = fib_entry->nh_group->nh_rif; fib_entry 4220 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (mlxsw_sp_fib_entry_should_offload(fib_entry)) { fib_entry 4228 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); fib_entry 4235 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4240 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); fib_entry 4246 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4253 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); fib_entry 4260 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4263 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_ipip_entry *ipip_entry = fib_entry->decap.ipip_entry; fib_entry 4271 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.tunnel_index); fib_entry 4275 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4280 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); fib_entry 4282 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.tunnel_index); fib_entry 4287 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4290 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->type) { fib_entry 4292 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_remote(mlxsw_sp, fib_entry, op); fib_entry 4294 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_local(mlxsw_sp, fib_entry, op); fib_entry 4296 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_trap(mlxsw_sp, fib_entry, op); fib_entry 4298 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_blackhole(mlxsw_sp, fib_entry, op); fib_entry 4301 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry, op); fib_entry 4303 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_nve_decap(mlxsw_sp, fib_entry, op); fib_entry 4309 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 4312 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int err = __mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, op); fib_entry 4314 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(fib_entry, op, err); fib_entry 4320 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4322 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, fib_entry 4327 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4329 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, fib_entry 4336 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4349 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_IPIP_DECAP; fib_entry 4351 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry, fib_entry 4359 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->decap.tunnel_index = t_index; fib_entry 4360 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; fib_entry 4365 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; fib_entry 4368 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE; fib_entry 4376 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; fib_entry 4380 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_REMOTE; fib_entry 4382 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; fib_entry 4395 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 4401 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry = &fib4_entry->common; fib_entry 4403 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_fib4_entry_type_set(mlxsw_sp, fen_info, fib_entry); fib_entry 4407 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); fib_entry 4416 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->fib_node = fib_node; fib_entry 4526 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4529 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry, list) == fib_entry; fib_entry 4768 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4770 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; fib_entry 4772 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_fib_node_entry_is_first(fib_node, fib_entry)) fib_entry 4780 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *n = list_next_entry(fib_entry, list); fib_entry 4785 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); fib_entry 4789 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 4791 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; fib_entry 4793 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_fib_node_entry_is_first(fib_node, fib_entry)) fib_entry 4798 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *n = list_next_entry(fib_entry, list); fib_entry 4802 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(fib_entry, op, 0); fib_entry 4806 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_del(mlxsw_sp, fib_entry); fib_entry 5215 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry) fib_entry 5217 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; fib_entry 5219 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_del(&fib_entry->nexthop_group_node); fib_entry 5322 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry, fib_entry 5332 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; fib_entry 5334 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE; fib_entry 5336 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; fib_entry 5338 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_REMOTE; fib_entry 5340 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; fib_entry 5362 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_entry *fib_entry; fib_entry 5369 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry = &fib6_entry->common; fib_entry 5383 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib6_entry_type_set(mlxsw_sp, fib_entry, rt_arr[0]); fib_entry 5389 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry->fib_node = fib_node;