Lines Matching refs:mlxsw_sp_net
1402 ul_dev = dev_get_by_index_rcu(mlxsw_sp_net(mlxsw_sp), ul_dev_ifindex); in mlxsw_sp_ipip_entry_find_by_decap()
2751 if (!net_eq(net, mlxsw_sp_net(router->mlxsw_sp))) in mlxsw_sp_router_schedule_work()
3813 nexthop_bucket_set_hw_flags(mlxsw_sp_net(mlxsw_sp), nh_grp->obj.id, in mlxsw_sp_nexthop_bucket_offload_refresh()
3834 nexthop_set_hw_flags(mlxsw_sp_net(mlxsw_sp), nh_grp->obj.id, in mlxsw_sp_nexthop_obj_group_offload_refresh()
4512 nexthop_res_grp_activity_update(mlxsw_sp_net(mlxsw_sp), nh_grp->obj.id, in mlxsw_sp_nh_grp_activity_update()
5535 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_offload_failed_flag_set()
5560 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_set()
5583 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_clear()
5598 fib6_info_hw_flags_set(mlxsw_sp_net(mlxsw_sp), rt_arr[i], in mlxsw_sp_fib6_offload_failed_flag_set()
5627 fib6_info_hw_flags_set(mlxsw_sp_net(mlxsw_sp), mlxsw_sp_rt6->rt, in mlxsw_sp_fib6_entry_hw_flags_set()
5649 fib6_info_hw_flags_set(mlxsw_sp_net(mlxsw_sp), mlxsw_sp_rt6->rt, in mlxsw_sp_fib6_entry_hw_flags_clear()
7596 if (rule->iifindex == mlxsw_sp_net(mlxsw_sp)->loopback_dev->ifindex) in mlxsw_sp_router_fib_rule_event()
10140 struct net *net = mlxsw_sp_net(mlxsw_sp); in mlxsw_sp_mp4_hash_init()
10200 u32 hash_fields = ip6_multipath_hash_fields(mlxsw_sp_net(mlxsw_sp)); in mlxsw_sp_mp6_hash_init()
10204 switch (ip6_multipath_hash_policy(mlxsw_sp_net(mlxsw_sp))) { in mlxsw_sp_mp6_hash_init()
10343 struct net *net = mlxsw_sp_net(mlxsw_sp); in __mlxsw_sp_router_init()
10513 err = register_nexthop_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_init()
10520 err = register_fib_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_init()
10528 err = register_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_init()
10536 unregister_fib_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_init()
10539 unregister_nexthop_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_init()
10580 unregister_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_fini()
10582 unregister_fib_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_fini()
10584 unregister_nexthop_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_fini()