ol_dev             10 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev)
ol_dev             12 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	struct ip_tunnel *tun = netdev_priv(ol_dev);
ol_dev             18 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c mlxsw_sp_ipip_netdev_parms6(const struct net_device *ol_dev)
ol_dev             20 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	struct ip6_tnl *tun = netdev_priv(ol_dev);
ol_dev             73 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 			   const struct net_device *ol_dev)
ol_dev             80 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 		parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev);
ol_dev             83 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 		parms6 = mlxsw_sp_ipip_netdev_parms6(ol_dev);
ol_dev             91 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c static __be32 mlxsw_sp_ipip_netdev_daddr4(const struct net_device *ol_dev)
ol_dev             94 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	struct ip_tunnel_parm parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev);
ol_dev            101 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 			   const struct net_device *ol_dev)
ol_dev            108 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 		parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev);
ol_dev            111 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 		parms6 = mlxsw_sp_ipip_netdev_parms6(ol_dev);
ol_dev            131 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	__be32 daddr4 = mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev);
ol_dev            156 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	parms = mlxsw_sp_ipip_netdev_parms4(ipip_entry->ol_dev);
ol_dev            173 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	daddr4 = be32_to_cpu(mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev));
ol_dev            210 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 					 ipip_entry->ol_dev).addr4;
ol_dev            217 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 					  const struct net_device *ol_dev)
ol_dev            219 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	union mlxsw_sp_l3addr saddr = mlxsw_sp_ipip_netdev_saddr(proto, ol_dev);
ol_dev            220 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	union mlxsw_sp_l3addr daddr = mlxsw_sp_ipip_netdev_daddr(proto, ol_dev);
ol_dev            232 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 					   const struct net_device *ol_dev,
ol_dev            235 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	struct ip_tunnel *tunnel = netdev_priv(ol_dev);
ol_dev            243 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	       mlxsw_sp_ipip_tunnel_complete(MLXSW_SP_L3_PROTO_IPV4, ol_dev);
ol_dev            248 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 				      const struct net_device *ol_dev)
ol_dev            250 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	struct ip_tunnel_parm parms = mlxsw_sp_ipip_netdev_parms4(ol_dev);
ol_dev            261 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 						    ol_dev),
ol_dev            278 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	new_parms = mlxsw_sp_ipip_netdev_parms4(ipip_entry->ol_dev);
ol_dev            286 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 		u16 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev);
ol_dev             12 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h mlxsw_sp_ipip_netdev_parms4(const struct net_device *ol_dev);
ol_dev             14 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h mlxsw_sp_ipip_netdev_parms6(const struct net_device *ol_dev);
ol_dev             18 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h 			   const struct net_device *ol_dev);
ol_dev             29 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h 	struct net_device *ol_dev; /* Overlay. */
ol_dev             46 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h 			    const struct net_device *ol_dev,
ol_dev             52 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h 			      const struct net_device *ol_dev);
ol_dev            982 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c __mlxsw_sp_ipip_netdev_ul_dev_get(const struct net_device *ol_dev)
ol_dev            984 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct ip_tunnel *tun = netdev_priv(ol_dev);
ol_dev            985 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net *net = dev_net(ol_dev);
ol_dev            990 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev)
ol_dev            992 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *d = __mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev);
ol_dev           1008 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				struct net_device *ol_dev,
ol_dev           1017 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		.common.dev = ol_dev,
ol_dev           1019 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		.lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev),
ol_dev           1031 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			  struct net_device *ol_dev)
ol_dev           1043 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 							    ol_dev, NULL);
ol_dev           1050 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ipip_entry->ol_dev = ol_dev;
ol_dev           1054 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		ipip_entry->parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev);
ol_dev           1082 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	u32 tun_ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev);
ol_dev           1089 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	tun_saddr = mlxsw_sp_ipip_netdev_saddr(ul_proto, ipip_entry->ol_dev);
ol_dev           1220 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev);
ol_dev           1227 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					   ipip_entry->ol_dev);
ol_dev           1257 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			   struct net_device *ol_dev)
ol_dev           1261 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ipip_entry = mlxsw_sp_ipip_entry_alloc(mlxsw_sp, ipipt, ol_dev);
ol_dev           1342 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				   const struct net_device *ol_dev)
ol_dev           1348 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		if (ipip_entry->ol_dev == ol_dev)
ol_dev           1366 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			__mlxsw_sp_ipip_netdev_ul_dev_get(ipip_entry->ol_dev);
ol_dev           1382 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						const struct net_device *ol_dev,
ol_dev           1391 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	return ops->can_offload(mlxsw_sp, ol_dev, MLXSW_SP_L3_PROTO_IPV4) ||
ol_dev           1392 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	       ops->can_offload(mlxsw_sp, ol_dev, MLXSW_SP_L3_PROTO_IPV6);
ol_dev           1396 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						struct net_device *ol_dev)
ol_dev           1404 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_netdev_ipip_type(mlxsw_sp, ol_dev, &ipipt);
ol_dev           1405 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (mlxsw_sp_netdevice_ipip_can_offload(mlxsw_sp, ol_dev, ipipt)) {
ol_dev           1406 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ol_dev);
ol_dev           1408 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		saddr = mlxsw_sp_ipip_netdev_saddr(ul_proto, ol_dev);
ol_dev           1413 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 								ol_dev);
ol_dev           1423 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						   struct net_device *ol_dev)
ol_dev           1427 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ipip_entry = mlxsw_sp_ipip_entry_find_by_ol_dev(mlxsw_sp, ol_dev);
ol_dev           1472 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						 struct net_device *ol_dev)
ol_dev           1478 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ipip_entry = mlxsw_sp_ipip_entry_find_by_ol_dev(mlxsw_sp, ol_dev);
ol_dev           1485 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		lb_rif->common.mtu = ol_dev->mtu;
ol_dev           1493 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						struct net_device *ol_dev)
ol_dev           1497 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ipip_entry = mlxsw_sp_ipip_entry_find_by_ol_dev(mlxsw_sp, ol_dev);
ol_dev           1511 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						  struct net_device *ol_dev)
ol_dev           1515 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ipip_entry = mlxsw_sp_ipip_entry_find_by_ol_dev(mlxsw_sp, ol_dev);
ol_dev           1534 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						     ipip_entry->ol_dev,
ol_dev           1589 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (ipip_entry->ol_dev->flags & IFF_UP)
ol_dev           1596 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						struct net_device *ol_dev,
ol_dev           1600 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_ipip_entry_find_by_ol_dev(mlxsw_sp, ol_dev);
ol_dev           1643 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					struct net_device *ol_dev,
ol_dev           1650 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	ipip_entry = mlxsw_sp_ipip_entry_find_by_ol_dev(mlxsw_sp, ol_dev);
ol_dev           1659 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (!mlxsw_sp_netdevice_ipip_can_offload(mlxsw_sp, ol_dev,
ol_dev           1673 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *ol_dev = ipip_entry->ol_dev;
ol_dev           1675 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (ol_dev->flags & IFF_UP)
ol_dev           1716 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			__mlxsw_sp_ipip_netdev_ul_dev_get(ipip_entry->ol_dev);
ol_dev           1724 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				     struct net_device *ol_dev,
ol_dev           1733 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		return mlxsw_sp_netdevice_ipip_ol_reg_event(mlxsw_sp, ol_dev);
ol_dev           1735 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_netdevice_ipip_ol_unreg_event(mlxsw_sp, ol_dev);
ol_dev           1738 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_netdevice_ipip_ol_up_event(mlxsw_sp, ol_dev);
ol_dev           1741 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_netdevice_ipip_ol_down_event(mlxsw_sp, ol_dev);
ol_dev           1748 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 								    ol_dev,
ol_dev           1754 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 							       ol_dev, extack);
ol_dev           1756 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		return mlxsw_sp_netdevice_ipip_ol_update_mtu(mlxsw_sp, ol_dev);
ol_dev           3640 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static bool mlxsw_sp_ipip_netdev_ul_up(struct net_device *ol_dev)
ol_dev           3642 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *ul_dev = __mlxsw_sp_ipip_netdev_ul_dev_get(ol_dev);
ol_dev           3657 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	removing = !mlxsw_sp_ipip_netdev_ul_up(ipip_entry->ol_dev);
ol_dev           4348 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		if (ipip_entry && ipip_entry->ol_dev->flags & IFF_UP) {
ol_dev             33 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h u32 mlxsw_sp_ipip_dev_ul_tb_id(const struct net_device *ol_dev);