• Home
  • Raw
  • Download

Lines Matching refs:fen_info

4531 			     const struct fib_entry_notifier_info *fen_info,  in mlxsw_sp_fib4_entry_type_set()  argument
4534 struct net_device *dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlxsw_sp_fib4_entry_type_set()
4535 union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) }; in mlxsw_sp_fib4_entry_type_set()
4537 u32 tb_id = mlxsw_sp_fix_tb_id(fen_info->tb_id); in mlxsw_sp_fib4_entry_type_set()
4539 struct fib_info *fi = fen_info->fi; in mlxsw_sp_fib4_entry_type_set()
4541 switch (fen_info->type) { in mlxsw_sp_fib4_entry_type_set()
4603 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_entry_create() argument
4614 err = mlxsw_sp_fib4_entry_type_set(mlxsw_sp, fen_info, fib_entry); in mlxsw_sp_fib4_entry_create()
4618 err = mlxsw_sp_nexthop4_group_get(mlxsw_sp, fib_entry, fen_info->fi); in mlxsw_sp_fib4_entry_create()
4622 fib4_entry->prio = fen_info->fi->fib_priority; in mlxsw_sp_fib4_entry_create()
4623 fib4_entry->tb_id = fen_info->tb_id; in mlxsw_sp_fib4_entry_create()
4624 fib4_entry->type = fen_info->type; in mlxsw_sp_fib4_entry_create()
4625 fib4_entry->tos = fen_info->tos; in mlxsw_sp_fib4_entry_create()
4648 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_entry_lookup() argument
4655 vr = mlxsw_sp_vr_find(mlxsw_sp, fen_info->tb_id); in mlxsw_sp_fib4_entry_lookup()
4660 fib_node = mlxsw_sp_fib_node_lookup(fib, &fen_info->dst, in mlxsw_sp_fib4_entry_lookup()
4661 sizeof(fen_info->dst), in mlxsw_sp_fib4_entry_lookup()
4662 fen_info->dst_len); in mlxsw_sp_fib4_entry_lookup()
4668 if (fib4_entry->tb_id == fen_info->tb_id && in mlxsw_sp_fib4_entry_lookup()
4669 fib4_entry->tos == fen_info->tos && in mlxsw_sp_fib4_entry_lookup()
4670 fib4_entry->type == fen_info->type && in mlxsw_sp_fib4_entry_lookup()
4672 fen_info->fi) in mlxsw_sp_fib4_entry_lookup()
4928 const struct fib_entry_notifier_info *fen_info) in mlxsw_sp_router_fib4_replace() argument
4938 fib_node = mlxsw_sp_fib_node_get(mlxsw_sp, fen_info->tb_id, in mlxsw_sp_router_fib4_replace()
4939 &fen_info->dst, sizeof(fen_info->dst), in mlxsw_sp_router_fib4_replace()
4940 fen_info->dst_len, in mlxsw_sp_router_fib4_replace()
4947 fib4_entry = mlxsw_sp_fib4_entry_create(mlxsw_sp, fib_node, fen_info); in mlxsw_sp_router_fib4_replace()
4987 struct fib_entry_notifier_info *fen_info) in mlxsw_sp_router_fib4_del() argument
4995 fib4_entry = mlxsw_sp_fib4_entry_lookup(mlxsw_sp, fen_info); in mlxsw_sp_router_fib4_del()
5916 struct fib_entry_notifier_info fen_info; member
5987 &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work()
5990 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work()
5993 mlxsw_sp_router_fib4_del(mlxsw_sp, &fib_work->fen_info); in mlxsw_sp_router_fib4_event_work()
5994 fib_info_put(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event_work()
6091 struct fib_entry_notifier_info *fen_info; in mlxsw_sp_router_fib4_event() local
6097 fen_info = container_of(info, struct fib_entry_notifier_info, in mlxsw_sp_router_fib4_event()
6099 fib_work->fen_info = *fen_info; in mlxsw_sp_router_fib4_event()
6103 fib_info_hold(fib_work->fen_info.fi); in mlxsw_sp_router_fib4_event()
6234 struct fib_entry_notifier_info *fen_info = ptr; in mlxsw_sp_router_fib_event() local
6236 if (fen_info->fi->fib_nh_is_v6) { in mlxsw_sp_router_fib_event()
6240 if (fen_info->fi->nh) { in mlxsw_sp_router_fib_event()