Home
last modified time | relevance | path

Searched refs:ol_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
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() argument
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() argument
[all …]
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
54 (*parms_init)(const struct net_device *ol_dev);
61 const struct net_device *ol_dev);
66 const struct net_device *ol_dev);
Dspectrum_router.c1036 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev) in mlxsw_sp_ipip_dev_ul_tb_id() argument
1042 d = mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev); in mlxsw_sp_ipip_dev_ul_tb_id()
1060 struct net_device *ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create() argument
1069 .common.dev = ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
1071 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1083 struct net_device *ol_dev) in mlxsw_sp_ipip_entry_alloc() argument
1096 ol_dev, NULL); in mlxsw_sp_ipip_entry_alloc()
1103 ipip_entry->ol_dev = ol_dev; in mlxsw_sp_ipip_entry_alloc()
1104 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
1139 u32 tun_ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev); in mlxsw_sp_ipip_entry_saddr_matches()
[all …]
Dspectrum_router.h88 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev);
164 mlxsw_sp_ipip_netdev_ul_dev_get(const struct net_device *ol_dev);