Home
last modified time | relevance | path

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

/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
55 (*parms_init)(const struct net_device *ol_dev);
62 const struct net_device *ol_dev);
67 const struct net_device *ol_dev);
Dspectrum_router.c1069 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev) in mlxsw_sp_ipip_dev_ul_tb_id() argument
1075 d = mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev); in mlxsw_sp_ipip_dev_ul_tb_id()
1148 struct net_device *ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create() argument
1157 .common.dev = ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
1160 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1172 struct net_device *ol_dev) in mlxsw_sp_ipip_entry_alloc() argument
1185 ol_dev, NULL); in mlxsw_sp_ipip_entry_alloc()
1192 ipip_entry->ol_dev = ol_dev; in mlxsw_sp_ipip_entry_alloc()
1193 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
1228 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.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);