Lines Matching refs:fen_info
5521 struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_offload_failed_flag_set() argument
5523 u32 *p_dst = (u32 *) &fen_info->dst; in mlxsw_sp_fib4_offload_failed_flag_set()
5526 fri.fi = fen_info->fi; in mlxsw_sp_fib4_offload_failed_flag_set()
5527 fri.tb_id = fen_info->tb_id; in mlxsw_sp_fib4_offload_failed_flag_set()
5529 fri.dst_len = fen_info->dst_len; in mlxsw_sp_fib4_offload_failed_flag_set()
5530 fri.dscp = fen_info->dscp; in mlxsw_sp_fib4_offload_failed_flag_set()
5531 fri.type = fen_info->type; in mlxsw_sp_fib4_offload_failed_flag_set()
5923 const struct fib_entry_notifier_info *fen_info, in mlxsw_sp_fib4_entry_type_set() argument
5927 union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) }; in mlxsw_sp_fib4_entry_type_set()
5929 u32 tb_id = mlxsw_sp_fix_tb_id(fen_info->tb_id); in mlxsw_sp_fib4_entry_type_set()
5933 switch (fen_info->type) { in mlxsw_sp_fib4_entry_type_set()
6002 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_entry_create() argument
6013 err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); in mlxsw_sp_fib4_entry_create()
6022 err = mlxsw_sp_fib4_entry_type_set(mlxsw_sp, fen_info, fib_entry); in mlxsw_sp_fib4_entry_create()
6026 fib4_entry->fi = fen_info->fi; in mlxsw_sp_fib4_entry_create()
6028 fib4_entry->tb_id = fen_info->tb_id; in mlxsw_sp_fib4_entry_create()
6029 fib4_entry->type = fen_info->type; in mlxsw_sp_fib4_entry_create()
6030 fib4_entry->dscp = fen_info->dscp; in mlxsw_sp_fib4_entry_create()
6060 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_entry_lookup() argument
6067 vr = mlxsw_sp_vr_find(mlxsw_sp, fen_info->tb_id); in mlxsw_sp_fib4_entry_lookup()
6072 fib_node = mlxsw_sp_fib_node_lookup(fib, &fen_info->dst, in mlxsw_sp_fib4_entry_lookup()
6073 sizeof(fen_info->dst), in mlxsw_sp_fib4_entry_lookup()
6074 fen_info->dst_len); in mlxsw_sp_fib4_entry_lookup()
6080 if (fib4_entry->tb_id == fen_info->tb_id && in mlxsw_sp_fib4_entry_lookup()
6081 fib4_entry->dscp == fen_info->dscp && in mlxsw_sp_fib4_entry_lookup()
6082 fib4_entry->type == fen_info->type && in mlxsw_sp_fib4_entry_lookup()
6083 fib4_entry->fi == fen_info->fi) in mlxsw_sp_fib4_entry_lookup()
6339 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_router_fib4_replace() argument
6346 if (fen_info->fi->nh && in mlxsw_sp_router_fib4_replace()
6347 !mlxsw_sp_nexthop_obj_group_lookup(mlxsw_sp, fen_info->fi->nh->id)) in mlxsw_sp_router_fib4_replace()
6350 fib_node = mlxsw_sp_fib_node_get(mlxsw_sp, fen_info->tb_id, in mlxsw_sp_router_fib4_replace()
6351 &fen_info->dst, sizeof(fen_info->dst), in mlxsw_sp_router_fib4_replace()
6352 fen_info->dst_len, in mlxsw_sp_router_fib4_replace()
6359 fib4_entry = mlxsw_sp_fib4_entry_create(mlxsw_sp, fib_node, fen_info); in mlxsw_sp_router_fib4_replace()
6399 struct fib_entry_notifier_info *fen_info) in mlxsw_sp_router_fib4_del() argument
6404 fib4_entry = mlxsw_sp_fib4_entry_lookup(mlxsw_sp, fen_info); in mlxsw_sp_router_fib4_del()
7327 struct fib_entry_notifier_info fen_info; member
7398 &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work()
7402 &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work()
7404 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work()
7407 mlxsw_sp_router_fib4_del(mlxsw_sp, &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work()
7408 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work()
7514 struct fib_entry_notifier_info *fen_info; in mlxsw_sp_router_fib4_event() local
7520 fen_info = container_of(info, struct fib_entry_notifier_info, in mlxsw_sp_router_fib4_event()
7522 fib_work->fen_info = *fen_info; in mlxsw_sp_router_fib4_event()
7526 fib_info_hold(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event()
7650 struct fib_entry_notifier_info *fen_info = ptr; in mlxsw_sp_router_fib_event() local
7652 if (fen_info->fi->fib_nh_is_v6) { in mlxsw_sp_router_fib_event()