Home
last modified time | relevance | path

Searched refs:mlxsw_sp_net (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c1490 ul_dev = dev_get_by_index_rcu(mlxsw_sp_net(mlxsw_sp), ul_dev_ifindex); in mlxsw_sp_ipip_entry_find_by_decap()
2852 if (!net_eq(net, mlxsw_sp_net(router->mlxsw_sp))) in mlxsw_sp_router_schedule_work()
3985 nexthop_bucket_set_hw_flags(mlxsw_sp_net(mlxsw_sp), nh_grp->obj.id, in mlxsw_sp_nexthop_bucket_offload_refresh()
4006 nexthop_set_hw_flags(mlxsw_sp_net(mlxsw_sp), nh_grp->obj.id, in mlxsw_sp_nexthop_obj_group_offload_refresh()
4737 nexthop_res_grp_activity_update(mlxsw_sp_net(mlxsw_sp), nh_grp->obj.id, in mlxsw_sp_nh_grp_activity_update()
5759 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_offload_failed_flag_set()
5784 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_set()
5807 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_clear()
5822 fib6_info_hw_flags_set(mlxsw_sp_net(mlxsw_sp), rt_arr[i], in mlxsw_sp_fib6_offload_failed_flag_set()
5851 fib6_info_hw_flags_set(mlxsw_sp_net(mlxsw_s in mlxsw_sp_fib6_entry_hw_flags_set()
[all...]
H A Dspectrum_nve.c1003 nve_dev = __dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in mlxsw_sp_nve_fid_disable()
H A Dspectrum.c1659 dev_net_set(dev, mlxsw_sp_net(mlxsw_sp)); in mlxsw_sp_port_create()
3235 err = register_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_init()
3276 unregister_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_init()
3465 unregister_netdevice_notifier_net(mlxsw_sp_net(mlxsw_sp), in mlxsw_sp_fini()
H A Dspectrum.h1439 static inline struct net *mlxsw_sp_net(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_net() function
H A Dspectrum_switchdev.c3200 dev = __dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
/kernel/linux/linux-5.10/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.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_nve.c853 nve_dev = dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in mlxsw_sp_nve_fid_disable()
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.c2555 dev = __dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()

Completed in 56 milliseconds