Lines Matching refs:fib_entry
463 struct mlxsw_sp_fib_entry *fib_entry; member
1267 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_decap_init() argument
1283 ipip_entry->decap_fib_entry = fib_entry; in mlxsw_sp_fib_entry_decap_init()
1284 fib_entry->decap.ipip_entry = ipip_entry; in mlxsw_sp_fib_entry_decap_init()
1285 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_fib_entry_decap_init()
1291 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_decap_init()
1296 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_decap_fini() argument
1298 enum mlxsw_sp_ipip_type ipipt = fib_entry->decap.ipip_entry->ipipt; in mlxsw_sp_fib_entry_decap_fini()
1301 fib_entry->decap.ipip_entry->decap_fib_entry = NULL; in mlxsw_sp_fib_entry_decap_fini()
1302 fib_entry->decap.ipip_entry = NULL; in mlxsw_sp_fib_entry_decap_fini()
1305 1, fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_decap_fini()
1312 struct mlxsw_sp_fib_entry *fib_entry);
1318 struct mlxsw_sp_fib_entry *fib_entry = ipip_entry->decap_fib_entry; in mlxsw_sp_ipip_entry_demote_decap() local
1320 mlxsw_sp_fib_entry_decap_fini(mlxsw_sp, fib_entry); in mlxsw_sp_ipip_entry_demote_decap()
1321 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_ipip_entry_demote_decap()
1323 mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_ipip_entry_demote_decap()
1378 if (!fib_node || fib_node->fib_entry->type != type) in mlxsw_sp_router_ip2me_fib_entry_find()
1381 return fib_node->fib_entry; in mlxsw_sp_router_ip2me_fib_entry_find()
1431 fib_node->fib_entry->type != MLXSW_SP_FIB_ENTRY_TYPE_TRAP) in mlxsw_sp_ipip_entry_find_decap()
1434 return fib_node->fib_entry; in mlxsw_sp_ipip_entry_find_decap()
2092 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_router_nve_promote_decap() local
2111 fib_entry = mlxsw_sp_router_ip2me_fib_entry_find(mlxsw_sp, ul_tb_id, in mlxsw_sp_router_nve_promote_decap()
2114 if (!fib_entry) in mlxsw_sp_router_nve_promote_decap()
2117 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_router_nve_promote_decap()
2118 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; in mlxsw_sp_router_nve_promote_decap()
2120 err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_router_nve_promote_decap()
2127 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_router_nve_promote_decap()
2128 mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_router_nve_promote_decap()
2140 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_router_nve_demote_decap() local
2149 fib_entry = mlxsw_sp_router_ip2me_fib_entry_find(mlxsw_sp, ul_tb_id, in mlxsw_sp_router_nve_demote_decap()
2152 if (!fib_entry) in mlxsw_sp_router_nve_demote_decap()
2155 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_router_nve_demote_decap()
2156 mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_router_nve_demote_decap()
3769 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_nexthop_fib_entries_update() local
3772 list_for_each_entry(fib_entry, &nh_grp->fib_list, nexthop_group_node) { in mlxsw_sp_nexthop_fib_entries_update()
3773 err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_nexthop_fib_entries_update()
5643 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_nexthop4_group_get() argument
5663 list_add_tail(&fib_entry->nexthop_group_node, &nh_grp->fib_list); in mlxsw_sp_nexthop4_group_get()
5664 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
5669 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_nexthop4_group_put() argument
5671 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
5673 list_del(&fib_entry->nexthop_group_node); in mlxsw_sp_nexthop4_group_put()
5686 mlxsw_sp_fib4_entry_should_offload(const struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_should_offload() argument
5690 fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, in mlxsw_sp_fib4_entry_should_offload()
5696 mlxsw_sp_fib_entry_should_offload(const struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_should_offload() argument
5698 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload()
5700 switch (fib_entry->fib_node->fib->proto) { in mlxsw_sp_fib_entry_should_offload()
5702 if (!mlxsw_sp_fib4_entry_should_offload(fib_entry)) in mlxsw_sp_fib_entry_should_offload()
5709 switch (fib_entry->type) { in mlxsw_sp_fib_entry_should_offload()
5764 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_hw_flags_set() argument
5766 u32 *p_dst = (u32 *) fib_entry->fib_node->key.addr; in mlxsw_sp_fib4_entry_hw_flags_set()
5767 int dst_len = fib_entry->fib_node->key.prefix_len; in mlxsw_sp_fib4_entry_hw_flags_set()
5772 should_offload = mlxsw_sp_fib_entry_should_offload(fib_entry); in mlxsw_sp_fib4_entry_hw_flags_set()
5773 fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, in mlxsw_sp_fib4_entry_hw_flags_set()
5789 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_hw_flags_clear() argument
5791 u32 *p_dst = (u32 *) fib_entry->fib_node->key.addr; in mlxsw_sp_fib4_entry_hw_flags_clear()
5792 int dst_len = fib_entry->fib_node->key.prefix_len; in mlxsw_sp_fib4_entry_hw_flags_clear()
5796 fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, in mlxsw_sp_fib4_entry_hw_flags_clear()
5837 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_set() argument
5843 should_offload = mlxsw_sp_fib_entry_should_offload(fib_entry); in mlxsw_sp_fib6_entry_hw_flags_set()
5848 fib6_entry = container_of(fib_entry, struct mlxsw_sp_fib6_entry, in mlxsw_sp_fib6_entry_hw_flags_set()
5857 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_set() argument
5865 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_clear() argument
5870 fib6_entry = container_of(fib_entry, struct mlxsw_sp_fib6_entry, in mlxsw_sp_fib6_entry_hw_flags_clear()
5879 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib6_entry_hw_flags_clear() argument
5886 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_hw_flags_set() argument
5888 switch (fib_entry->fib_node->fib->proto) { in mlxsw_sp_fib_entry_hw_flags_set()
5890 mlxsw_sp_fib4_entry_hw_flags_set(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_set()
5893 mlxsw_sp_fib6_entry_hw_flags_set(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_set()
5900 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_hw_flags_clear() argument
5902 switch (fib_entry->fib_node->fib->proto) { in mlxsw_sp_fib_entry_hw_flags_clear()
5904 mlxsw_sp_fib4_entry_hw_flags_clear(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_clear()
5907 mlxsw_sp_fib6_entry_hw_flags_clear(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_clear()
5914 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_hw_flags_refresh() argument
5919 mlxsw_sp_fib_entry_hw_flags_set(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_refresh()
5922 mlxsw_sp_fib_entry_hw_flags_clear(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_hw_flags_refresh()
5931 const struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_ralue_pack() argument
5934 struct mlxsw_sp_fib *fib = fib_entry->fib_node->fib; in mlxsw_sp_fib_entry_ralue_pack()
5942 p_dip = (u32 *) fib_entry->fib_node->key.addr; in mlxsw_sp_fib_entry_ralue_pack()
5944 fib_entry->fib_node->key.prefix_len, in mlxsw_sp_fib_entry_ralue_pack()
5949 fib_entry->fib_node->key.prefix_len, in mlxsw_sp_fib_entry_ralue_pack()
5950 fib_entry->fib_node->key.addr); in mlxsw_sp_fib_entry_ralue_pack()
5956 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_remote() argument
5959 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote()
5971 if (mlxsw_sp_fib_entry_should_offload(fib_entry)) { in mlxsw_sp_fib_entry_op_remote()
5985 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_remote()
5992 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_local() argument
5995 struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi); in mlxsw_sp_fib_entry_op_local()
6001 if (mlxsw_sp_fib_entry_should_offload(fib_entry)) { in mlxsw_sp_fib_entry_op_local()
6009 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_local()
6016 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_trap() argument
6021 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_trap()
6027 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_blackhole() argument
6034 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_blackhole()
6041 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_unreachable() argument
6051 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_unreachable()
6058 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_ipip_decap() argument
6061 struct mlxsw_sp_ipip_entry *ipip_entry = fib_entry->decap.ipip_entry; in mlxsw_sp_fib_entry_op_ipip_decap()
6071 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_op_ipip_decap()
6075 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_ipip_decap()
6077 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_op_ipip_decap()
6082 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op_nve_decap() argument
6087 mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); in mlxsw_sp_fib_entry_op_nve_decap()
6089 fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_op_nve_decap()
6094 struct mlxsw_sp_fib_entry *fib_entry, in __mlxsw_sp_fib_entry_op() argument
6097 switch (fib_entry->type) { in __mlxsw_sp_fib_entry_op()
6099 return mlxsw_sp_fib_entry_op_remote(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6101 return mlxsw_sp_fib_entry_op_local(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6103 return mlxsw_sp_fib_entry_op_trap(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6105 return mlxsw_sp_fib_entry_op_blackhole(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6107 return mlxsw_sp_fib_entry_op_unreachable(mlxsw_sp, fib_entry, in __mlxsw_sp_fib_entry_op()
6111 fib_entry, op); in __mlxsw_sp_fib_entry_op()
6113 return mlxsw_sp_fib_entry_op_nve_decap(mlxsw_sp, fib_entry, op); in __mlxsw_sp_fib_entry_op()
6119 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_op() argument
6122 int err = __mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, op); in mlxsw_sp_fib_entry_op()
6127 mlxsw_sp_fib_entry_hw_flags_refresh(mlxsw_sp, fib_entry, op); in mlxsw_sp_fib_entry_op()
6133 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_update() argument
6135 return mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, in mlxsw_sp_fib_entry_update()
6140 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_del() argument
6142 return mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, in mlxsw_sp_fib_entry_del()
6149 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib4_entry_type_set() argument
6151 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib4_entry_type_set()
6163 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_IPIP_DECAP; in mlxsw_sp_fib4_entry_type_set()
6165 fib_entry, in mlxsw_sp_fib4_entry_type_set()
6174 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_fib4_entry_type_set()
6175 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; in mlxsw_sp_fib4_entry_type_set()
6180 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_fib4_entry_type_set()
6183 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE; in mlxsw_sp_fib4_entry_type_set()
6191 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_UNREACHABLE; in mlxsw_sp_fib4_entry_type_set()
6195 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_REMOTE; in mlxsw_sp_fib4_entry_type_set()
6197 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; in mlxsw_sp_fib4_entry_type_set()
6206 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_type_unset() argument
6208 switch (fib_entry->type) { in mlxsw_sp_fib_entry_type_unset()
6210 mlxsw_sp_fib_entry_decap_fini(mlxsw_sp, fib_entry); in mlxsw_sp_fib_entry_type_unset()
6230 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_fib4_entry_create() local
6236 fib_entry = &fib4_entry->common; in mlxsw_sp_fib4_entry_create()
6238 err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); in mlxsw_sp_fib4_entry_create()
6242 err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group, in mlxsw_sp_fib4_entry_create()
6247 err = mlxsw_sp_fib4_entry_type_set(mlxsw_sp, fen_info, fib_entry); in mlxsw_sp_fib4_entry_create()
6257 fib_entry->fib_node = fib_node; in mlxsw_sp_fib4_entry_create()
6262 mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib); in mlxsw_sp_fib4_entry_create()
6303 fib4_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib4_entry_lookup()
6509 if (fib_node->fib_entry) in mlxsw_sp_fib_node_put()
6517 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_node_entry_link() argument
6519 struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; in mlxsw_sp_fib_node_entry_link()
6522 fib_node->fib_entry = fib_entry; in mlxsw_sp_fib_node_entry_link()
6524 err = mlxsw_sp_fib_entry_update(mlxsw_sp, fib_entry); in mlxsw_sp_fib_node_entry_link()
6531 fib_node->fib_entry = NULL; in mlxsw_sp_fib_node_entry_link()
6537 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_node_entry_unlink() argument
6539 struct mlxsw_sp_fib_node *fib_node = fib_entry->fib_node; in mlxsw_sp_fib_node_entry_unlink()
6541 mlxsw_sp_fib_entry_del(mlxsw_sp, fib_entry); in mlxsw_sp_fib_node_entry_unlink()
6542 fib_node->fib_entry = NULL; in mlxsw_sp_fib_node_entry_unlink()
6550 if (!fib_node->fib_entry) in mlxsw_sp_fib4_allow_replace()
6553 fib4_replaced = container_of(fib_node->fib_entry, in mlxsw_sp_fib4_allow_replace()
6597 replaced = fib_node->fib_entry; in mlxsw_sp_router_fib4_replace()
6616 fib_node->fib_entry = replaced; in mlxsw_sp_router_fib4_replace()
6928 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_nexthop6_group_put() argument
6930 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop6_group_put()
6932 list_del(&fib_entry->nexthop_group_node); in mlxsw_sp_nexthop6_group_put()
7051 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib6_entry_type_set_local() argument
7054 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib6_entry_type_set_local()
7061 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_fib6_entry_type_set_local()
7067 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_IPIP_DECAP; in mlxsw_sp_fib6_entry_type_set_local()
7068 return mlxsw_sp_fib_entry_decap_init(mlxsw_sp, fib_entry, in mlxsw_sp_fib6_entry_type_set_local()
7076 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_fib6_entry_type_set_local()
7077 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_NVE_DECAP; in mlxsw_sp_fib6_entry_type_set_local()
7084 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib6_entry_type_set() argument
7088 return mlxsw_sp_fib6_entry_type_set_local(mlxsw_sp, fib_entry, in mlxsw_sp_fib6_entry_type_set()
7091 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP; in mlxsw_sp_fib6_entry_type_set()
7093 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_BLACKHOLE; in mlxsw_sp_fib6_entry_type_set()
7095 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_UNREACHABLE; in mlxsw_sp_fib6_entry_type_set()
7096 else if (fib_entry->nh_group->nhgi->gateway) in mlxsw_sp_fib6_entry_type_set()
7097 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_REMOTE; in mlxsw_sp_fib6_entry_type_set()
7099 fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL; in mlxsw_sp_fib6_entry_type_set()
7123 struct mlxsw_sp_fib_entry *fib_entry; in mlxsw_sp_fib6_entry_create() local
7130 fib_entry = &fib6_entry->common; in mlxsw_sp_fib6_entry_create()
7148 err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group, in mlxsw_sp_fib6_entry_create()
7153 err = mlxsw_sp_fib6_entry_type_set(mlxsw_sp, fib_entry, rt_arr[0]); in mlxsw_sp_fib6_entry_create()
7157 fib_entry->fib_node = fib_node; in mlxsw_sp_fib6_entry_create()
7162 mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib); in mlxsw_sp_fib6_entry_create()
7164 mlxsw_sp_nexthop6_group_put(mlxsw_sp, fib_entry); in mlxsw_sp_fib6_entry_create()
7219 fib6_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib6_entry_lookup()
7236 if (!fib_node->fib_entry) in mlxsw_sp_fib6_allow_replace()
7239 fib6_replaced = container_of(fib_node->fib_entry, in mlxsw_sp_fib6_allow_replace()
7291 replaced = fib_node->fib_entry; in mlxsw_sp_router_fib6_replace()
7308 fib_node->fib_entry = replaced; in mlxsw_sp_router_fib6_replace()
7338 if (WARN_ON_ONCE(!fib_node->fib_entry)) { in mlxsw_sp_router_fib6_append()
7343 fib6_entry = container_of(fib_node->fib_entry, in mlxsw_sp_router_fib6_append()
7472 fib4_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib4_node_flush()
7474 mlxsw_sp_fib_node_entry_unlink(mlxsw_sp, fib_node->fib_entry); in mlxsw_sp_fib4_node_flush()
7484 fib6_entry = container_of(fib_node->fib_entry, in mlxsw_sp_fib6_node_flush()
7486 mlxsw_sp_fib_node_entry_unlink(mlxsw_sp, fib_node->fib_entry); in mlxsw_sp_fib6_node_flush()