Home
last modified time | relevance | path

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

/linux/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()
99 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_saddr() argument
106 parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
109 parms6 = mlxsw_sp_ipip_netdev_parms6(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
117 static __be32 mlxsw_sp_ipip_netdev_daddr4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr4() argument
122 parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_daddr4()
129 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr() 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.c1070 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev) in mlxsw_sp_ipip_dev_ul_tb_id() argument
1076 d = mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev); in mlxsw_sp_ipip_dev_ul_tb_id()
1149 struct net_device *ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create() argument
1158 .common.dev = ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
1161 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1173 struct net_device *ol_dev) in mlxsw_sp_ipip_entry_alloc() argument
1186 ol_dev, NULL); in mlxsw_sp_ipip_entry_alloc()
1193 ipip_entry->ol_dev = ol_dev; in mlxsw_sp_ipip_entry_alloc()
1194 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
1229 u32 tun_ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev); in mlxsw_sp_ipip_entry_saddr_matches()
[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);