Home
last modified time | relevance | path

Searched refs:ol_dev (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c12 mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_parms4() argument
14 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4()
20 mlxsw_sp_ipip_netdev_parms6(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_parms6() argument
22 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6()
97 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_saddr()
104 parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
107 parms6 = mlxsw_sp_ipip_netdev_parms6(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
115 static __be32 mlxsw_sp_ipip_netdev_daddr4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr4() argument
118 struct ip_tunnel_parm parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_daddr4()
125 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr()
96 mlxsw_sp_ipip_netdev_saddr(enum mlxsw_sp_l3proto proto, const struct net_device *ol_dev) mlxsw_sp_ipip_netdev_saddr() argument
124 mlxsw_sp_ipip_netdev_daddr(enum mlxsw_sp_l3proto proto, const struct net_device *ol_dev) mlxsw_sp_ipip_netdev_daddr() argument
151 mlxsw_sp_ipip_netdev_parms_init_gre4(const struct net_device *ol_dev) mlxsw_sp_ipip_netdev_parms_init_gre4() argument
222 mlxsw_sp_ipip_tunnel_complete(enum mlxsw_sp_l3proto proto, const struct net_device *ol_dev) mlxsw_sp_ipip_tunnel_complete() argument
237 mlxsw_sp_ipip_can_offload_gre4(const struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev) mlxsw_sp_ipip_can_offload_gre4() argument
252 mlxsw_sp_ipip_ol_loopback_config_gre4(struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev) mlxsw_sp_ipip_ol_loopback_config_gre4() argument
366 mlxsw_sp_ipip_netdev_parms_init_gre6(const struct net_device *ol_dev) mlxsw_sp_ipip_netdev_parms_init_gre6() argument
436 mlxsw_sp_ipip_can_offload_gre6(const struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev) mlxsw_sp_ipip_can_offload_gre6() argument
451 mlxsw_sp_ipip_ol_loopback_config_gre6(struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev) mlxsw_sp_ipip_ol_loopback_config_gre6() argument
594 mlxsw_sp_ipip_netdev_ul_dev_get(const struct net_device *ol_dev) mlxsw_sp_ipip_netdev_ul_dev_get() argument
[all...]
H A Dspectrum_ipip.h13 mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev);
15 mlxsw_sp_ipip_netdev_parms6(const struct net_device *ol_dev);
19 const struct net_device *ol_dev);
40 struct net_device *ol_dev; /* Overlay. */ member
55 (*parms_init)(const struct net_device *ol_dev);
62 const struct net_device *ol_dev);
67 const struct net_device *ol_dev);
H A Dspectrum_router.c1068 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev) in mlxsw_sp_ipip_dev_ul_tb_id() argument
1074 d = mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev); in mlxsw_sp_ipip_dev_ul_tb_id()
1147 struct net_device *ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
1156 .common.dev = ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
1159 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1171 struct net_device *ol_dev) in mlxsw_sp_ipip_entry_alloc()
1184 ol_dev, NULL); in mlxsw_sp_ipip_entry_alloc()
1191 ipip_entry->ol_dev = ol_dev; in mlxsw_sp_ipip_entry_alloc()
1192 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
1145 mlxsw_sp_ipip_ol_ipip_lb_create(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_ipip_type ipipt, struct net_device *ol_dev, struct netlink_ext_ack *extack) mlxsw_sp_ipip_ol_ipip_lb_create() argument
1169 mlxsw_sp_ipip_entry_alloc(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_ipip_type ipipt, struct net_device *ol_dev) mlxsw_sp_ipip_entry_alloc() argument
1438 mlxsw_sp_ipip_entry_create(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_ipip_type ipipt, struct net_device *ol_dev) mlxsw_sp_ipip_entry_create() argument
1536 mlxsw_sp_ipip_entry_find_by_ol_dev(struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev) mlxsw_sp_ipip_entry_find_by_ol_dev() argument
1560 struct net_device *ol_dev = ipip_entry->ol_dev; mlxsw_sp_ipip_entry_find_by_ul_dev() local
1580 mlxsw_sp_netdevice_ipip_can_offload(struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev, enum mlxsw_sp_ipip_type ipipt) mlxsw_sp_netdevice_ipip_can_offload() argument
1590 mlxsw_sp_netdevice_ipip_ol_reg_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_reg_event() argument
1617 mlxsw_sp_netdevice_ipip_ol_unreg_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_unreg_event() argument
1678 mlxsw_sp_netdevice_ipip_ol_update_mtu(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_update_mtu() argument
1699 mlxsw_sp_netdevice_ipip_ol_up_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_up_event() argument
1717 mlxsw_sp_netdevice_ipip_ol_down_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_down_event() argument
1819 mlxsw_sp_netdevice_ipip_ol_vrf_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev, struct netlink_ext_ack *extack) mlxsw_sp_netdevice_ipip_ol_vrf_event() argument
1883 mlxsw_sp_netdevice_ipip_ol_change_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev, struct netlink_ext_ack *extack) mlxsw_sp_netdevice_ipip_ol_change_event() argument
1914 struct net_device *ol_dev = ipip_entry->ol_dev; mlxsw_sp_ipip_entry_demote_tunnel() local
1956 struct net_device *ol_dev = ipip_entry->ol_dev; mlxsw_sp_ipip_demote_tunnel_by_ul_netdev() local
1967 mlxsw_sp_netdevice_ipip_ol_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev, unsigned long event, struct netdev_notifier_info *info) mlxsw_sp_netdevice_ipip_ol_event() argument
4358 mlxsw_sp_ipip_netdev_ul_up(struct net_device *ol_dev) mlxsw_sp_ipip_netdev_ul_up() argument
[all...]
H A Dspectrum_router.h95 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev);
173 mlxsw_sp_ipip_netdev_ul_dev_get(const struct net_device *ol_dev);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c12 mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_parms4() argument
14 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4()
20 mlxsw_sp_ipip_netdev_parms6(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_parms6() argument
22 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6()
75 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_saddr()
82 parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
85 parms6 = mlxsw_sp_ipip_netdev_parms6(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
93 static __be32 mlxsw_sp_ipip_netdev_daddr4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr4() argument
96 struct ip_tunnel_parm parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_daddr4()
103 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr()
74 mlxsw_sp_ipip_netdev_saddr(enum mlxsw_sp_l3proto proto, const struct net_device *ol_dev) mlxsw_sp_ipip_netdev_saddr() argument
102 mlxsw_sp_ipip_netdev_daddr(enum mlxsw_sp_l3proto proto, const struct net_device *ol_dev) mlxsw_sp_ipip_netdev_daddr() argument
218 mlxsw_sp_ipip_tunnel_complete(enum mlxsw_sp_l3proto proto, const struct net_device *ol_dev) mlxsw_sp_ipip_tunnel_complete() argument
233 mlxsw_sp_ipip_can_offload_gre4(const struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev, enum mlxsw_sp_l3proto ol_proto) mlxsw_sp_ipip_can_offload_gre4() argument
249 mlxsw_sp_ipip_ol_loopback_config_gre4(struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev) mlxsw_sp_ipip_ol_loopback_config_gre4() argument
[all...]
H A Dspectrum_ipip.h12 mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev);
14 mlxsw_sp_ipip_netdev_parms6(const struct net_device *ol_dev);
18 const struct net_device *ol_dev);
29 struct net_device *ol_dev; /* Overlay. */ member
46 const struct net_device *ol_dev,
52 const struct net_device *ol_dev);
H A Dspectrum_router.c962 __mlxsw_sp_ipip_netdev_ul_dev_get(const struct net_device *ol_dev) in __mlxsw_sp_ipip_netdev_ul_dev_get() argument
964 struct ip_tunnel *tun = netdev_priv(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()
965 struct net *net = dev_net(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()
970 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev) in mlxsw_sp_ipip_dev_ul_tb_id() argument
976 d = __mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev); in mlxsw_sp_ipip_dev_ul_tb_id()
994 struct net_device *ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
1003 .common.dev = ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
1005 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1017 struct net_device *ol_dev) in mlxsw_sp_ipip_entry_alloc()
1029 ol_dev, NUL in mlxsw_sp_ipip_entry_alloc()
992 mlxsw_sp_ipip_ol_ipip_lb_create(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_ipip_type ipipt, struct net_device *ol_dev, struct netlink_ext_ack *extack) mlxsw_sp_ipip_ol_ipip_lb_create() argument
1015 mlxsw_sp_ipip_entry_alloc(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_ipip_type ipipt, struct net_device *ol_dev) mlxsw_sp_ipip_entry_alloc() argument
1230 mlxsw_sp_ipip_entry_create(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_ipip_type ipipt, struct net_device *ol_dev) mlxsw_sp_ipip_entry_create() argument
1316 mlxsw_sp_ipip_entry_find_by_ol_dev(struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev) mlxsw_sp_ipip_entry_find_by_ol_dev() argument
1340 struct net_device *ol_dev = ipip_entry->ol_dev; mlxsw_sp_ipip_entry_find_by_ul_dev() local
1366 mlxsw_sp_netdevice_ipip_can_offload(struct mlxsw_sp *mlxsw_sp, const struct net_device *ol_dev, enum mlxsw_sp_ipip_type ipipt) mlxsw_sp_netdevice_ipip_can_offload() argument
1380 mlxsw_sp_netdevice_ipip_ol_reg_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_reg_event() argument
1407 mlxsw_sp_netdevice_ipip_ol_unreg_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_unreg_event() argument
1456 mlxsw_sp_netdevice_ipip_ol_update_mtu(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_update_mtu() argument
1477 mlxsw_sp_netdevice_ipip_ol_up_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_up_event() argument
1495 mlxsw_sp_netdevice_ipip_ol_down_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev) mlxsw_sp_netdevice_ipip_ol_down_event() argument
1584 mlxsw_sp_netdevice_ipip_ol_vrf_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev, struct netlink_ext_ack *extack) mlxsw_sp_netdevice_ipip_ol_vrf_event() argument
1648 mlxsw_sp_netdevice_ipip_ol_change_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev, struct netlink_ext_ack *extack) mlxsw_sp_netdevice_ipip_ol_change_event() argument
1679 struct net_device *ol_dev = ipip_entry->ol_dev; mlxsw_sp_ipip_entry_demote_tunnel() local
1721 struct net_device *ol_dev = ipip_entry->ol_dev; mlxsw_sp_ipip_demote_tunnel_by_ul_netdev() local
1732 mlxsw_sp_netdevice_ipip_ol_event(struct mlxsw_sp *mlxsw_sp, struct net_device *ol_dev, unsigned long event, struct netdev_notifier_info *info) mlxsw_sp_netdevice_ipip_ol_event() argument
3762 mlxsw_sp_ipip_netdev_ul_up(struct net_device *ol_dev) mlxsw_sp_ipip_netdev_ul_up() argument
[all...]
H A Dspectrum_router.h76 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev);

Completed in 20 milliseconds