Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c10 mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_parms4() argument
12 struct ip_tunnel *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms4()
18 mlxsw_sp_ipip_netdev_parms6(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_parms6() argument
20 struct ip6_tnl *tun = netdev_priv(ol_dev); in mlxsw_sp_ipip_netdev_parms6()
73 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_saddr() argument
80 parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
83 parms6 = mlxsw_sp_ipip_netdev_parms6(ol_dev); in mlxsw_sp_ipip_netdev_saddr()
91 static __be32 mlxsw_sp_ipip_netdev_daddr4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr4() argument
94 struct ip_tunnel_parm parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_netdev_daddr4()
101 const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_daddr() argument
[all …]
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);
Dspectrum_router.c958 __mlxsw_sp_ipip_netdev_ul_dev_get(const struct net_device *ol_dev) in __mlxsw_sp_ipip_netdev_ul_dev_get() argument
960 struct ip_tunnel *tun = netdev_priv(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()
961 struct net *net = dev_net(ol_dev); in __mlxsw_sp_ipip_netdev_ul_dev_get()
966 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev) in mlxsw_sp_ipip_dev_ul_tb_id() argument
968 struct net_device *d = __mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev); in mlxsw_sp_ipip_dev_ul_tb_id()
973 return l3mdev_fib_table(ol_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_dev_ul_tb_id()
984 struct net_device *ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create() argument
993 .common.dev = ol_dev, in mlxsw_sp_ipip_ol_ipip_lb_create()
995 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1007 struct net_device *ol_dev) in mlxsw_sp_ipip_entry_alloc() argument
[all …]
Dspectrum_router.h45 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev);