Lines Matching refs:ipip_entry

130 				  struct mlxsw_sp_ipip_entry *ipip_entry)  in mlxsw_sp_ipip_nexthop_update_gre4()  argument
132 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre4()
133 __be32 daddr4 = mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev); in mlxsw_sp_ipip_nexthop_update_gre4()
147 struct mlxsw_sp_ipip_entry *ipip_entry) in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp() argument
149 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
150 u16 ul_rif_id = mlxsw_sp_ipip_lb_ul_rif_id(ipip_entry->ol_lb); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
158 parms = mlxsw_sp_ipip_netdev_parms4(ipip_entry->ol_dev); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
175 daddr4 = be32_to_cpu(mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev)); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
198 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_fib_entry_op_gre4() argument
202 u16 ul_vr_id = mlxsw_sp_ipip_lb_ul_vr_id(ipip_entry->ol_lb); in mlxsw_sp_ipip_fib_entry_op_gre4()
207 ipip_entry); in mlxsw_sp_ipip_fib_entry_op_gre4()
212 ipip_entry->ol_dev).addr4; in mlxsw_sp_ipip_fib_entry_op_gre4()
269 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_ol_netdev_change_gre4() argument
280 new_parms = mlxsw_sp_ipip_netdev_parms4(ipip_entry->ol_dev); in mlxsw_sp_ipip_ol_netdev_change_gre4()
283 old_saddr = mlxsw_sp_ipip_parms4_saddr(ipip_entry->parms4); in mlxsw_sp_ipip_ol_netdev_change_gre4()
285 old_daddr = mlxsw_sp_ipip_parms4_daddr(ipip_entry->parms4); in mlxsw_sp_ipip_ol_netdev_change_gre4()
288 u16 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev); in mlxsw_sp_ipip_ol_netdev_change_gre4()
296 ipip_entry)) { in mlxsw_sp_ipip_ol_netdev_change_gre4()
297 mlxsw_sp_ipip_entry_demote_tunnel(mlxsw_sp, ipip_entry); in mlxsw_sp_ipip_ol_netdev_change_gre4()
302 } else if ((mlxsw_sp_ipip_parms4_okey(ipip_entry->parms4) != in mlxsw_sp_ipip_ol_netdev_change_gre4()
304 ipip_entry->parms4.link != new_parms.link) { in mlxsw_sp_ipip_ol_netdev_change_gre4()
308 } else if (mlxsw_sp_ipip_parms4_ikey(ipip_entry->parms4) != in mlxsw_sp_ipip_ol_netdev_change_gre4()
314 err = __mlxsw_sp_ipip_entry_update_tunnel(mlxsw_sp, ipip_entry, in mlxsw_sp_ipip_ol_netdev_change_gre4()
318 err = __mlxsw_sp_ipip_entry_update_tunnel(mlxsw_sp, ipip_entry, in mlxsw_sp_ipip_ol_netdev_change_gre4()
322 err = __mlxsw_sp_ipip_entry_update_tunnel(mlxsw_sp, ipip_entry, in mlxsw_sp_ipip_ol_netdev_change_gre4()
326 ipip_entry->parms4 = new_parms; in mlxsw_sp_ipip_ol_netdev_change_gre4()