Home
last modified time | relevance | path

Searched refs:mlxsw_sp_net (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c2613 if (!net_eq(net, mlxsw_sp_net(router->mlxsw_sp))) in mlxsw_sp_router_schedule_work()
4180 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_set()
4203 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_clear()
6176 if (rule->iifindex == mlxsw_sp_net(mlxsw_sp)->loopback_dev->ifindex) in mlxsw_sp_router_fib_rule_event()
7962 struct net *net = mlxsw_sp_net(mlxsw_sp); in mlxsw_sp_mp4_hash_init()
7980 bool only_l3 = !ip6_multipath_hash_policy(mlxsw_sp_net(mlxsw_sp)); in mlxsw_sp_mp6_hash_init()
8040 struct net *net = mlxsw_sp_net(mlxsw_sp); in __mlxsw_sp_router_init()
8142 err = register_fib_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_init()
8185 unregister_fib_notifier(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_router_fini()
H A Dspectrum_nve.c853 nve_dev = dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in mlxsw_sp_nve_fid_disable()
H A Dspectrum.c1420 dev_net_set(dev, mlxsw_sp_net(mlxsw_sp)); in mlxsw_sp_port_create()
2664 err = register_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_init()
2696 unregister_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_init()
2825 unregister_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_fini()
H A Dspectrum.h1273 static inline struct net *mlxsw_sp_net(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_net() function
H A Dspectrum_switchdev.c2558 dev = __dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()