Lines Matching refs:fib_entry

463 	struct mlxsw_sp_fib_entry *fib_entry;  member
1268 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_decap_init() argument
1284 ipip_entry->decap_fib_entry = fib_entry; in mlxsw_sp_fib_entry_decap_init()
1285 fib_entry->decap.ipip_entry = ipip_entry; in mlxsw_sp_fib_entry_decap_init()
1286 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_fib_entry_decap_init()
1292 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_decap_init()
1297 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_decap_fini() argument
1299 enum mlxsw_sp_ipip_type ipipt = fib_entry->decap.ipip_entry->ipipt; in mlxsw_sp_fib_entry_decap_fini()
1302 fib_entry->decap.ipip_entry->decap_fib_entry = NULL; in mlxsw_sp_fib_entry_decap_fini()
1303 fib_entry->decap.ipip_entry = NULL; in mlxsw_sp_fib_entry_decap_fini()
1306 1, fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_decap_fini()
1313 struct mlxsw_sp_fib_entry *fib_entry);
1319 struct mlxsw_sp_fib_entry *fib_entry = ipip_entry->decap_fib_entry; in mlxsw_sp_ipip_entry_demote_decap() local
1321 mlxsw_sp_fib_entry_decap_fini(mlxsw_sp, fib_entry); in mlxsw_sp_ipip_entry_demote_decap()
1322 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_ipip_entry_demote_decap()
1324 mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_ipip_entry_demote_decap()
1379 if (!fib_node || fib_node->fib_entry->type != type) in mlxsw_sp_router_ip2me_fib_entry_find()
1382 return fib_node->fib_entry; in mlxsw_sp_router_ip2me_fib_entry_find()
1432 fib_node->fib_entry->type != MLXSW_SP_FIB_ENTRY_TYPE_TRAP) in mlxsw_sp_ipip_entry_find_decap()
1435 return fib_node->fib_entry; in mlxsw_sp_ipip_entry_find_decap()
2093 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_router_nve_promote_decap() local
2112 fib_entry = mlxsw_sp_router_ip2me_fib_entry_find(mlxsw_sp, ul_tb_id, in mlxsw_sp_router_nve_promote_decap()
2115 if (!fib_entry) in mlxsw_sp_router_nve_promote_decap()
2118 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_router_nve_promote_decap()
2119 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; in mlxsw_sp_router_nve_promote_decap()
2121 err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_router_nve_promote_decap()
2128 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_router_nve_promote_decap()
2129 mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_router_nve_promote_decap()
2141 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_router_nve_demote_decap() local
2150 fib_entry = mlxsw_sp_router_ip2me_fib_entry_find(mlxsw_sp, ul_tb_id, in mlxsw_sp_router_nve_demote_decap()
2153 if (!fib_entry) in mlxsw_sp_router_nve_demote_decap()
2156 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_router_nve_demote_decap()
2157 mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_router_nve_demote_decap()
3770 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_nexthop_fib_entries_update() local
3773 list_for_each_entry(fib_entry, &nh_grp->fib_list, nexthop_group_node) { in mlxsw_sp_nexthop_fib_entries_update()
3774 err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_nexthop_fib_entries_update()
5644 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_nexthop4_group_get() argument
5664 list_add_tail(&fib_entry->nexthop_group_node, &nh_grp->fib_list); in mlxsw_sp_nexthop4_group_get()
5665 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
5670 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_nexthop4_group_put() argument
5672 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
5674 list_del(&fib_entry->nexthop_group_node); in mlxsw_sp_nexthop4_group_put()
5687 mlxsw_sp_fib4_entry_should_offload(const struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_should_offload() argument
5691 fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, in mlxsw_sp_fib4_entry_should_offload()
5697 mlxsw_sp_fib_entry_should_offload(const struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_should_offload() argument
5699 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload()
5701 switch (fib_entry->fib_node->fib->proto) { in mlxsw_sp_fib_entry_should_offload()
5703 if (!mlxsw_sp_fib4_entry_should_offload(fib_entry)) in mlxsw_sp_fib_entry_should_offload()
5710 switch (fib_entry->type) { in mlxsw_sp_fib_entry_should_offload()
5765 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_hw_flags_set() argument
5767 u32 *p_dst = (u32 *) fib_entry->fib_node->key.addr; in mlxsw_sp_fib4_entry_hw_flags_set()
5768 int dst_len = fib_entry->fib_node->key.prefix_len; in mlxsw_sp_fib4_entry_hw_flags_set()
5773 should_offload = mlxsw_sp_fib_entry_should_offload(fib_entry); in mlxsw_sp_fib4_entry_hw_flags_set()
5774 fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, in mlxsw_sp_fib4_entry_hw_flags_set()
5790 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_hw_flags_clear() argument
5792 u32 *p_dst = (u32 *) fib_entry->fib_node->key.addr; in mlxsw_sp_fib4_entry_hw_flags_clear()
5793 int dst_len = fib_entry->fib_node->key.prefix_len; in mlxsw_sp_fib4_entry_hw_flags_clear()
5797 fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, in mlxsw_sp_fib4_entry_hw_flags_clear()
5838 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_set() argument
5844 should_offload = mlxsw_sp_fib_entry_should_offload(fib_entry); in mlxsw_sp_fib6_entry_hw_flags_set()
5849 fib6_entry = container_of(fib_entry, struct mlxsw_sp_fib6_entry, in mlxsw_sp_fib6_entry_hw_flags_set()
5858 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_set() argument
5866 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_clear() argument
5871 fib6_entry = container_of(fib_entry, struct mlxsw_sp_fib6_entry, in mlxsw_sp_fib6_entry_hw_flags_clear()
5880 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_clear() argument
5887 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_hw_flags_set() argument
5889 switch (fib_entry->fib_node->fib->proto) { in mlxsw_sp_fib_entry_hw_flags_set()
5891 mlxsw_sp_fib4_entry_hw_flags_set(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_set()
5894 mlxsw_sp_fib6_entry_hw_flags_set(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_set()
5901 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_hw_flags_clear() argument
5903 switch (fib_entry->fib_node->fib->proto) { in mlxsw_sp_fib_entry_hw_flags_clear()
5905 mlxsw_sp_fib4_entry_hw_flags_clear(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_clear()
5908 mlxsw_sp_fib6_entry_hw_flags_clear(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_clear()
5915 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_hw_flags_refresh() argument
5920 mlxsw_sp_fib_entry_hw_flags_set(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_refresh()
5923 mlxsw_sp_fib_entry_hw_flags_clear(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_refresh()
5932 const struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_ralue_pack() argument
5935 struct mlxsw_sp_fib *fib = fib_entry->fib_node->fib; in mlxsw_sp_fib_entry_ralue_pack()
5943 p_dip = (u32 *) fib_entry->fib_node->key.addr; in mlxsw_sp_fib_entry_ralue_pack()
5945 fib_entry->fib_node->key.prefix_len, in mlxsw_sp_fib_entry_ralue_pack()
5950 fib_entry->fib_node->key.prefix_len, in mlxsw_sp_fib_entry_ralue_pack()
5951 fib_entry->fib_node->key.addr); in mlxsw_sp_fib_entry_ralue_pack()
5957 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_remote() argument
5960 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote()
5972 if (mlxsw_sp_fib_entry_should_offload(fib_entry)) { in mlxsw_sp_fib_entry_op_remote()
5986 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_remote()
5993 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_local() argument
5996 struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi); in mlxsw_sp_fib_entry_op_local()
6002 if (mlxsw_sp_fib_entry_should_offload(fib_entry)) { in mlxsw_sp_fib_entry_op_local()
6010 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_local()
6017 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_trap() argument
6022 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_trap()
6028 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_blackhole() argument
6035 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_blackhole()
6042 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_unreachable() argument
6052 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_unreachable()
6059 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_ipip_decap() argument
6062 struct mlxsw_sp_ipip_entry *ipip_entry = fib_entry->decap.ipip_entry; in mlxsw_sp_fib_entry_op_ipip_decap()
6072 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_op_ipip_decap()
6076 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_ipip_decap()
6078 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_op_ipip_decap()
6083 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_nve_decap() argument
6088 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_nve_decap()
6090 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_op_nve_decap()
6095 struct mlxsw_sp_fib_entry *fib_entry, in __mlxsw_sp_fib_entry_op() argument
6098 switch (fib_entry->type) { in __mlxsw_sp_fib_entry_op()
6100 return mlxsw_sp_fib_entry_op_remote(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6102 return mlxsw_sp_fib_entry_op_local(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6104 return mlxsw_sp_fib_entry_op_trap(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6106 return mlxsw_sp_fib_entry_op_blackhole(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6108 return mlxsw_sp_fib_entry_op_unreachable(mlxsw_sp, fib_entry, in __mlxsw_sp_fib_entry_op()
6112 fib_entry, op); in __mlxsw_sp_fib_entry_op()
6114 return mlxsw_sp_fib_entry_op_nve_decap(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6120 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op() argument
6123 int err = __mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, op); in mlxsw_sp_fib_entry_op()
6128 mlxsw_sp_fib_entry_hw_flags_refresh(mlxsw_sp, fib_entry, op); in mlxsw_sp_fib_entry_op()
6134 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_update() argument
6136 return mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, in mlxsw_sp_fib_entry_update()
6141 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_del() argument
6143 return mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, in mlxsw_sp_fib_entry_del()
6150 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_type_set() argument
6152 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib4_entry_type_set()
6164 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_IPIP_DECAP; in mlxsw_sp_fib4_entry_type_set()
6166 fib_entry, in mlxsw_sp_fib4_entry_type_set()
6175 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_fib4_entry_type_set()
6176 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; in mlxsw_sp_fib4_entry_type_set()
6181 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_fib4_entry_type_set()
6184 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE; in mlxsw_sp_fib4_entry_type_set()
6192 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_UNREACHABLE; in mlxsw_sp_fib4_entry_type_set()
6196 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_REMOTE; in mlxsw_sp_fib4_entry_type_set()
6198 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; in mlxsw_sp_fib4_entry_type_set()
6207 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_type_unset() argument
6209 switch (fib_entry->type) { in mlxsw_sp_fib_entry_type_unset()
6211 mlxsw_sp_fib_entry_decap_fini(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_type_unset()
6231 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_fib4_entry_create() local
6237 fib_entry = &fib4_entry->common; in mlxsw_sp_fib4_entry_create()
6239 err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); in mlxsw_sp_fib4_entry_create()
6243 err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group, in mlxsw_sp_fib4_entry_create()
6248 err = mlxsw_sp_fib4_entry_type_set(mlxsw_sp, fen_info, fib_entry); in mlxsw_sp_fib4_entry_create()
6258 fib_entry->fib_node = fib_node; in mlxsw_sp_fib4_entry_create()
6263 mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib); in mlxsw_sp_fib4_entry_create()
6304 fib4_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib4_entry_lookup()
6510 if (fib_node->fib_entry) in mlxsw_sp_fib_node_put()
6518 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_node_entry_link() argument
6520 struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; in mlxsw_sp_fib_node_entry_link()
6523 fib_node->fib_entry = fib_entry; in mlxsw_sp_fib_node_entry_link()
6525 err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_fib_node_entry_link()
6532 fib_node->fib_entry = NULL; in mlxsw_sp_fib_node_entry_link()
6538 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_node_entry_unlink() argument
6540 struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; in mlxsw_sp_fib_node_entry_unlink()
6542 mlxsw_sp_fib_entry_del(mlxsw_sp, fib_entry); in mlxsw_sp_fib_node_entry_unlink()
6543 fib_node->fib_entry = NULL; in mlxsw_sp_fib_node_entry_unlink()
6551 if (!fib_node->fib_entry) in mlxsw_sp_fib4_allow_replace()
6554 fib4_replaced = container_of(fib_node->fib_entry, in mlxsw_sp_fib4_allow_replace()
6598 replaced = fib_node->fib_entry; in mlxsw_sp_router_fib4_replace()
6617 fib_node->fib_entry = replaced; in mlxsw_sp_router_fib4_replace()
6929 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_nexthop6_group_put() argument
6931 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop6_group_put()
6933 list_del(&fib_entry->nexthop_group_node); in mlxsw_sp_nexthop6_group_put()
7052 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib6_entry_type_set_local() argument
7055 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib6_entry_type_set_local()
7062 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_fib6_entry_type_set_local()
7068 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_IPIP_DECAP; in mlxsw_sp_fib6_entry_type_set_local()
7069 return mlxsw_sp_fib_entry_decap_init(mlxsw_sp, fib_entry, in mlxsw_sp_fib6_entry_type_set_local()
7077 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_fib6_entry_type_set_local()
7078 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; in mlxsw_sp_fib6_entry_type_set_local()
7085 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib6_entry_type_set() argument
7089 return mlxsw_sp_fib6_entry_type_set_local(mlxsw_sp, fib_entry, in mlxsw_sp_fib6_entry_type_set()
7092 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_fib6_entry_type_set()
7094 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE; in mlxsw_sp_fib6_entry_type_set()
7096 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_UNREACHABLE; in mlxsw_sp_fib6_entry_type_set()
7097 else if (fib_entry->nh_group->nhgi->gateway) in mlxsw_sp_fib6_entry_type_set()
7098 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_REMOTE; in mlxsw_sp_fib6_entry_type_set()
7100 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; in mlxsw_sp_fib6_entry_type_set()
7124 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_fib6_entry_create() local
7131 fib_entry = &fib6_entry->common; in mlxsw_sp_fib6_entry_create()
7149 err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group, in mlxsw_sp_fib6_entry_create()
7154 err = mlxsw_sp_fib6_entry_type_set(mlxsw_sp, fib_entry, rt_arr[0]); in mlxsw_sp_fib6_entry_create()
7158 fib_entry->fib_node = fib_node; in mlxsw_sp_fib6_entry_create()
7163 mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib); in mlxsw_sp_fib6_entry_create()
7165 mlxsw_sp_nexthop6_group_put(mlxsw_sp, fib_entry); in mlxsw_sp_fib6_entry_create()
7220 fib6_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib6_entry_lookup()
7237 if (!fib_node->fib_entry) in mlxsw_sp_fib6_allow_replace()
7240 fib6_replaced = container_of(fib_node->fib_entry, in mlxsw_sp_fib6_allow_replace()
7292 replaced = fib_node->fib_entry; in mlxsw_sp_router_fib6_replace()
7309 fib_node->fib_entry = replaced; in mlxsw_sp_router_fib6_replace()
7339 if (WARN_ON_ONCE(!fib_node->fib_entry)) { in mlxsw_sp_router_fib6_append()
7344 fib6_entry = container_of(fib_node->fib_entry, in mlxsw_sp_router_fib6_append()
7473 fib4_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib4_node_flush()
7475 mlxsw_sp_fib_node_entry_unlink(mlxsw_sp, fib_node->fib_entry); in mlxsw_sp_fib4_node_flush()
7485 fib6_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib6_node_flush()
7487 mlxsw_sp_fib_node_entry_unlink(mlxsw_sp, fib_node->fib_entry); in mlxsw_sp_fib6_node_flush()