Searched refs:fri (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/drivers/net/netdevsim/ |
D | fib.c | 322 struct fib_rt_info fri; in nsim_fib4_rt_offload_failed_flag_set() local 324 fri.fi = fen_info->fi; in nsim_fib4_rt_offload_failed_flag_set() 325 fri.tb_id = fen_info->tb_id; in nsim_fib4_rt_offload_failed_flag_set() 326 fri.dst = cpu_to_be32(*p_dst); in nsim_fib4_rt_offload_failed_flag_set() 327 fri.dst_len = fen_info->dst_len; in nsim_fib4_rt_offload_failed_flag_set() 328 fri.dscp = fen_info->dscp; in nsim_fib4_rt_offload_failed_flag_set() 329 fri.type = fen_info->type; in nsim_fib4_rt_offload_failed_flag_set() 330 fri.offload = false; in nsim_fib4_rt_offload_failed_flag_set() 331 fri.trap = false; in nsim_fib4_rt_offload_failed_flag_set() 332 fri.offload_failed = true; in nsim_fib4_rt_offload_failed_flag_set() [all …]
|
/linux-6.6.21/net/ipv4/ |
D | fib_trie.c | 1016 fib_find_matching_alias(struct net *net, const struct fib_rt_info *fri) in fib_find_matching_alias() argument 1018 u8 slen = KEYLENGTH - fri->dst_len; in fib_find_matching_alias() 1024 tb = fib_get_table(net, fri->tb_id); in fib_find_matching_alias() 1029 l = fib_find_node(t, &tp, be32_to_cpu(fri->dst)); in fib_find_matching_alias() 1034 if (fa->fa_slen == slen && fa->tb_id == fri->tb_id && in fib_find_matching_alias() 1035 fa->fa_dscp == fri->dscp && fa->fa_info == fri->fi && in fib_find_matching_alias() 1036 fa->fa_type == fri->type) in fib_find_matching_alias() 1043 void fib_alias_hw_flags_set(struct net *net, const struct fib_rt_info *fri) in fib_alias_hw_flags_set() argument 1052 fa_match = fib_find_matching_alias(net, fri); in fib_alias_hw_flags_set() 1059 if (READ_ONCE(fa_match->offload) == fri->offload && in fib_alias_hw_flags_set() [all …]
|
D | fib_semantics.c | 517 struct fib_rt_info fri; in rtmsg_fib() local 526 fri.fi = fa->fa_info; in rtmsg_fib() 527 fri.tb_id = tb_id; in rtmsg_fib() 528 fri.dst = key; in rtmsg_fib() 529 fri.dst_len = dst_len; in rtmsg_fib() 530 fri.dscp = fa->fa_dscp; in rtmsg_fib() 531 fri.type = fa->fa_type; in rtmsg_fib() 532 fri.offload = READ_ONCE(fa->offload); in rtmsg_fib() 533 fri.trap = READ_ONCE(fa->trap); in rtmsg_fib() 534 fri.offload_failed = READ_ONCE(fa->offload_failed); in rtmsg_fib() [all …]
|
D | fib_lookup.h | 43 const struct fib_rt_info *fri, unsigned int flags);
|
D | route.c | 3390 struct fib_rt_info fri; in inet_rtm_getroute() local 3398 fri.fi = res.fi; in inet_rtm_getroute() 3399 fri.tb_id = table_id; in inet_rtm_getroute() 3400 fri.dst = res.prefix; in inet_rtm_getroute() 3401 fri.dst_len = res.prefixlen; in inet_rtm_getroute() 3402 fri.dscp = inet_dsfield_to_dscp(fl4.flowi4_tos); in inet_rtm_getroute() 3403 fri.type = rt->rt_type; in inet_rtm_getroute() 3404 fri.offload = 0; in inet_rtm_getroute() 3405 fri.trap = 0; in inet_rtm_getroute() 3406 fri.offload_failed = 0; in inet_rtm_getroute() [all …]
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_router.c | 700 struct fib_rt_info fri; in __prestera_k_arb_fib_lpm_offload_set() local 704 fri.fi = fc->fen4_info.fi; in __prestera_k_arb_fib_lpm_offload_set() 705 fri.tb_id = fc->key.kern_tb_id; in __prestera_k_arb_fib_lpm_offload_set() 706 fri.dst = fc->key.addr.u.ipv4; in __prestera_k_arb_fib_lpm_offload_set() 707 fri.dst_len = fc->key.prefix_len; in __prestera_k_arb_fib_lpm_offload_set() 708 fri.dscp = fc->fen4_info.dscp; in __prestera_k_arb_fib_lpm_offload_set() 709 fri.type = fc->fen4_info.type; in __prestera_k_arb_fib_lpm_offload_set() 711 fri.offload = offload; in __prestera_k_arb_fib_lpm_offload_set() 712 fri.trap = trap; in __prestera_k_arb_fib_lpm_offload_set() 713 fri.offload_failed = fail; in __prestera_k_arb_fib_lpm_offload_set() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 5748 struct fib_rt_info fri; in mlxsw_sp_fib4_offload_failed_flag_set() local 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() 5752 fri.dst = cpu_to_be32(*p_dst); 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() 5756 fri.offload = false; in mlxsw_sp_fib4_offload_failed_flag_set() 5757 fri.trap = false; in mlxsw_sp_fib4_offload_failed_flag_set() 5758 fri.offload_failed = true; in mlxsw_sp_fib4_offload_failed_flag_set() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras_eeprom.c | 574 u8 *buf, const u32 fri, const u32 num) in __amdgpu_ras_eeprom_write() argument 585 RAS_INDEX_TO_OFFSET(control, fri), in __amdgpu_ras_eeprom_write() 860 u8 *buf, const u32 fri, const u32 num) in __amdgpu_ras_eeprom_read() argument 871 RAS_INDEX_TO_OFFSET(control, fri), in __amdgpu_ras_eeprom_read()
|
/linux-6.6.21/tools/memory-model/Documentation/ |
D | glossary.txt | 111 is a "from-reads internal" (fri) link. The term "from-reads 113 the fri case.
|
D | explanation.txt | 20 12. THE FROM-READS RELATION: fr, fri, and fre 735 THE FROM-READS RELATION: fr, fri, and fre 763 As with rf, rfi, and rfe, we subdivide the fr relation into fri (when
|
/linux-6.6.21/tools/memory-model/ |
D | lock.cat | 141 let fri = fr & int
|
/linux-6.6.21/include/net/ |
D | ip_fib.h | 540 void fib_alias_hw_flags_set(struct net *net, const struct fib_rt_info *fri);
|