/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | mp.c | 116 struct fib_entry_notifier_info fen_info; member 151 struct fib_entry_notifier_info *fen_info) in mlx5_lag_fib_route_event() argument 154 struct fib_info *fi = fen_info->fi; in mlx5_lag_fib_route_event() 167 (mp->fib.dst != fen_info->dst || mp->fib.dst_len != fen_info->dst_len) && in mlx5_lag_fib_route_event() 176 if (mp->fib.dst == fen_info->dst && mp->fib.dst_len == fen_info->dst_len) in mlx5_lag_fib_route_event() 193 mlx5_lag_fib_set(mp, fi, fen_info->dst, fen_info->dst_len); in mlx5_lag_fib_route_event() 208 mlx5_lag_fib_set(mp, fi, fen_info->dst, fen_info->dst_len); in mlx5_lag_fib_route_event() 249 &fib_work->fen_info); in mlx5_lag_fib_update() 250 fib_info_put(fib_work->fen_info.fi); in mlx5_lag_fib_update() 291 struct fib_entry_notifier_info *fen_info; in mlx5_lag_fib_event() local [all …]
|
/linux-6.6.21/drivers/net/netdevsim/ |
D | fib.c | 107 struct fib_entry_notifier_info fen_info; member 276 struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_create() argument 284 nsim_fib_rt_init(data, &fib4_rt->common, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_create() 285 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create() 287 fib4_rt->fi = fen_info->fi; in nsim_fib4_rt_create() 289 fib4_rt->dscp = fen_info->dscp; in nsim_fib4_rt_create() 290 fib4_rt->type = fen_info->type; in nsim_fib4_rt_create() 304 const struct fib_entry_notifier_info *fen_info) in nsim_fib4_rt_lookup() argument 308 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_lookup() 309 fen_info->dst_len, AF_INET, in nsim_fib4_rt_lookup() [all …]
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_router.c | 96 struct fib_entry_notifier_info *fen_info = in prestera_util_fen_info2fib_cache_key() local 101 key->addr.u.ipv4 = cpu_to_be32(fen_info->dst); in prestera_util_fen_info2fib_cache_key() 102 key->prefix_len = fen_info->dst_len; in prestera_util_fen_info2fib_cache_key() 103 key->kern_tb_id = fen_info->tb_id; in prestera_util_fen_info2fib_cache_key() 224 struct fib_entry_notifier_info *fen_info = in prestera_fib_info_is_direct() local 228 return prestera_fi_is_direct(fen_info->fi); in prestera_fib_info_is_direct() 237 struct fib_entry_notifier_info *fen_info = in prestera_fib_info_is_nh() local 241 return prestera_fi_is_nh(fen_info->fi); in prestera_fib_info_is_nh() 621 struct fib_entry_notifier_info *fen_info = in prestera_kern_fib_cache_create() local 631 fib_info_hold(fen_info->fi); in prestera_kern_fib_cache_create() [all …]
|
/linux-6.6.21/drivers/net/ethernet/rocker/ |
D | rocker.h | 134 const struct fib_entry_notifier_info *fen_info); 136 const struct fib_entry_notifier_info *fen_info);
|
D | rocker_main.c | 1725 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_add() argument 1731 return wops->fib4_add(rocker, fen_info); in rocker_world_fib4_add() 1735 const struct fib_entry_notifier_info *fen_info) in rocker_world_fib4_del() argument 1741 return wops->fib4_del(rocker, fen_info); in rocker_world_fib4_del() 2109 struct fib_entry_notifier_info fen_info; member 2128 err = rocker_world_fib4_add(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2131 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work() 2134 rocker_world_fib4_del(rocker, &fib_work->fen_info); in rocker_router_fib_event_work() 2135 fib_info_put(fib_work->fen_info.fi); in rocker_router_fib_event_work() 2172 struct fib_entry_notifier_info *fen_info = ptr; in rocker_router_fib_event() local [all …]
|
D | rocker_ofdpa.c | 2722 const struct fib_entry_notifier_info *fen_info) in ofdpa_fib4_add() argument 2731 nh = fib_info_nh(fen_info->fi, 0); in ofdpa_fib4_add() 2735 err = ofdpa_port_fib_ipv4(ofdpa_port, htonl(fen_info->dst), in ofdpa_fib4_add() 2736 fen_info->dst_len, fen_info->fi, in ofdpa_fib4_add() 2737 fen_info->tb_id, 0); in ofdpa_fib4_add() 2745 const struct fib_entry_notifier_info *fen_info) in ofdpa_fib4_del() argument 2753 nh = fib_info_nh(fen_info->fi, 0); in ofdpa_fib4_del() 2758 return ofdpa_port_fib_ipv4(ofdpa_port, htonl(fen_info->dst), in ofdpa_fib4_del() 2759 fen_info->dst_len, fen_info->fi, in ofdpa_fib4_del() 2760 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_encap.c | 1733 struct fib_entry_notifier_info *fen_info; in mlx5e_init_fib_work_ipv4() local 1739 fen_info = container_of(info, struct fib_entry_notifier_info, info); in mlx5e_init_fib_work_ipv4() 1740 if (fen_info->fi->nh) in mlx5e_init_fib_work_ipv4() 1742 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5e_init_fib_work_ipv4() 1744 fen_info->dst_len != 32) in mlx5e_init_fib_work_ipv4() 1751 key.endpoint_ip.v4 = htonl(fen_info->dst); in mlx5e_init_fib_work_ipv4() 1778 struct fib6_entry_notifier_info *fen_info; in mlx5e_init_fib_work_ipv6() local 1784 fen_info = container_of(info, struct fib6_entry_notifier_info, info); in mlx5e_init_fib_work_ipv6() 1785 fib_dev = fib6_info_nh_dev(fen_info->rt); in mlx5e_init_fib_work_ipv6() 1787 fen_info->rt->fib6_dst.plen != 128) in mlx5e_init_fib_work_ipv6() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 5745 struct fib_entry_notifier_info *fen_info) in mlxsw_sp_fib4_offload_failed_flag_set() argument 5747 u32 *p_dst = (u32 *) &fen_info->dst; in mlxsw_sp_fib4_offload_failed_flag_set() 5750 fri.fi = fen_info->fi; in mlxsw_sp_fib4_offload_failed_flag_set() 5751 fri.tb_id = fen_info->tb_id; in mlxsw_sp_fib4_offload_failed_flag_set() 5753 fri.dst_len = fen_info->dst_len; in mlxsw_sp_fib4_offload_failed_flag_set() 5754 fri.dscp = fen_info->dscp; in mlxsw_sp_fib4_offload_failed_flag_set() 5755 fri.type = fen_info->type; in mlxsw_sp_fib4_offload_failed_flag_set() 6148 const struct fib_entry_notifier_info *fen_info, in mlxsw_sp_fib4_entry_type_set() argument 6152 union mlxsw_sp_l3addr dip = { .addr4 = htonl(fen_info->dst) }; in mlxsw_sp_fib4_entry_type_set() 6154 u32 tb_id = mlxsw_sp_fix_tb_id(fen_info->tb_id); in mlxsw_sp_fib4_entry_type_set() [all …]
|