Lines Matching refs:should_offload
3071 u8 should_offload:1, /* set indicates this nexthop should be written member
3858 if (!nh->should_offload) { in mlxsw_sp_nexthop_group_update()
3996 if (!nh->should_offload) in mlxsw_sp_nexthop_group_normalize()
4007 if (!nh->should_offload) in mlxsw_sp_nexthop_group_normalize()
4027 if (!nh->should_offload) in mlxsw_sp_nexthop_group_rebalance()
4176 if (nh->should_offload != nh->offloaded) { in mlxsw_sp_nexthop_group_refresh()
4178 if (nh->should_offload) in mlxsw_sp_nexthop_group_refresh()
4281 nh->should_offload = 1; in __mlxsw_sp_nexthop_neigh_update()
4284 nh->should_offload = 1; in __mlxsw_sp_nexthop_neigh_update()
4286 nh->should_offload = 0; in __mlxsw_sp_nexthop_neigh_update()
5090 nh->should_offload = 1; in mlxsw_sp_nexthop_obj_blackhole_init()
5102 nh->should_offload = 0; in mlxsw_sp_nexthop_obj_blackhole_fini()
5145 if (nh_grp->nhgi->is_resilient && !nh->should_offload) { in mlxsw_sp_nexthop_obj_init()
5147 nh->should_offload = 1; in mlxsw_sp_nexthop_obj_init()
5165 nh->should_offload = 0; in mlxsw_sp_nexthop_obj_fini()
6017 bool should_offload; in mlxsw_sp_fib4_entry_hw_flags_set() local
6019 should_offload = mlxsw_sp_fib_entry_should_offload(fib_entry); in mlxsw_sp_fib4_entry_hw_flags_set()
6028 fri.offload = should_offload; in mlxsw_sp_fib4_entry_hw_flags_set()
6029 fri.trap = !should_offload; in mlxsw_sp_fib4_entry_hw_flags_set()
6088 bool should_offload; in mlxsw_sp_fib6_entry_hw_flags_set() local
6090 should_offload = mlxsw_sp_fib_entry_should_offload(fib_entry); in mlxsw_sp_fib6_entry_hw_flags_set()
6099 should_offload, !should_offload, false); in mlxsw_sp_fib6_entry_hw_flags_set()