Lines Matching refs:fri
5553 struct fib_rt_info fri; in mlxsw_sp_fib4_offload_failed_flag_set() local
5555 fri.fi = fen_info->fi; in mlxsw_sp_fib4_offload_failed_flag_set()
5556 fri.tb_id = fen_info->tb_id; in mlxsw_sp_fib4_offload_failed_flag_set()
5557 fri.dst = cpu_to_be32(*p_dst); in mlxsw_sp_fib4_offload_failed_flag_set()
5558 fri.dst_len = fen_info->dst_len; in mlxsw_sp_fib4_offload_failed_flag_set()
5559 fri.tos = fen_info->tos; in mlxsw_sp_fib4_offload_failed_flag_set()
5560 fri.type = fen_info->type; in mlxsw_sp_fib4_offload_failed_flag_set()
5561 fri.offload = false; in mlxsw_sp_fib4_offload_failed_flag_set()
5562 fri.trap = false; in mlxsw_sp_fib4_offload_failed_flag_set()
5563 fri.offload_failed = true; in mlxsw_sp_fib4_offload_failed_flag_set()
5564 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_offload_failed_flag_set()
5574 struct fib_rt_info fri; in mlxsw_sp_fib4_entry_hw_flags_set() local
5580 fri.fi = fib4_entry->fi; in mlxsw_sp_fib4_entry_hw_flags_set()
5581 fri.tb_id = fib4_entry->tb_id; in mlxsw_sp_fib4_entry_hw_flags_set()
5582 fri.dst = cpu_to_be32(*p_dst); in mlxsw_sp_fib4_entry_hw_flags_set()
5583 fri.dst_len = dst_len; in mlxsw_sp_fib4_entry_hw_flags_set()
5584 fri.tos = fib4_entry->tos; in mlxsw_sp_fib4_entry_hw_flags_set()
5585 fri.type = fib4_entry->type; in mlxsw_sp_fib4_entry_hw_flags_set()
5586 fri.offload = should_offload; in mlxsw_sp_fib4_entry_hw_flags_set()
5587 fri.trap = !should_offload; in mlxsw_sp_fib4_entry_hw_flags_set()
5588 fri.offload_failed = false; in mlxsw_sp_fib4_entry_hw_flags_set()
5589 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_set()
5599 struct fib_rt_info fri; in mlxsw_sp_fib4_entry_hw_flags_clear() local
5603 fri.fi = fib4_entry->fi; in mlxsw_sp_fib4_entry_hw_flags_clear()
5604 fri.tb_id = fib4_entry->tb_id; in mlxsw_sp_fib4_entry_hw_flags_clear()
5605 fri.dst = cpu_to_be32(*p_dst); in mlxsw_sp_fib4_entry_hw_flags_clear()
5606 fri.dst_len = dst_len; in mlxsw_sp_fib4_entry_hw_flags_clear()
5607 fri.tos = fib4_entry->tos; in mlxsw_sp_fib4_entry_hw_flags_clear()
5608 fri.type = fib4_entry->type; in mlxsw_sp_fib4_entry_hw_flags_clear()
5609 fri.offload = false; in mlxsw_sp_fib4_entry_hw_flags_clear()
5610 fri.trap = false; in mlxsw_sp_fib4_entry_hw_flags_clear()
5611 fri.offload_failed = false; in mlxsw_sp_fib4_entry_hw_flags_clear()
5612 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_clear()