Searched refs:ol_dev (Results 1 – 4 of 4) sorted by relevance
10 mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev) in mlxsw_sp_ipip_netdev_parms4() argument12 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() argument20 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() argument80 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() argument94 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 …]
12 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. */ member46 const struct net_device *ol_dev,52 const struct net_device *ol_dev);
958 __mlxsw_sp_ipip_netdev_ul_dev_get(const struct net_device *ol_dev) in __mlxsw_sp_ipip_netdev_ul_dev_get() argument960 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() argument968 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() argument993 .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 …]
45 u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev);