Lines Matching refs:ipip_ops
1064 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_ol_ipip_lb_create() local
1067 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_ol_ipip_lb_create()
1071 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1085 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_alloc() local
1090 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_entry_alloc()
1104 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
1106 err = ipip_ops->rem_ip_addr_set(mlxsw_sp, ipip_entry); in mlxsw_sp_ipip_entry_alloc()
1124 const struct mlxsw_sp_ipip_ops *ipip_ops = in mlxsw_sp_ipip_entry_dealloc() local
1127 ipip_ops->rem_ip_addr_unset(mlxsw_sp, ipip_entry); in mlxsw_sp_ipip_entry_dealloc()
1154 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_decap_parsing_depth_inc() local
1156 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_decap_parsing_depth_inc()
1161 if (ipip_ops->inc_parsing_depth) in mlxsw_sp_ipip_decap_parsing_depth_inc()
1170 const struct mlxsw_sp_ipip_ops *ipip_ops = in mlxsw_sp_ipip_decap_parsing_depth_dec() local
1173 if (ipip_ops->inc_parsing_depth) in mlxsw_sp_ipip_decap_parsing_depth_dec()
1302 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_find_decap() local
1312 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_ipip_entry_find_decap()
1319 ul_fib = mlxsw_sp_vr_fib(ul_vr, ipip_ops->ul_proto); in mlxsw_sp_ipip_entry_find_decap()
1320 saddr = mlxsw_sp_ipip_netdev_saddr(ipip_ops->ul_proto, in mlxsw_sp_ipip_entry_find_decap()
1323 switch (ipip_ops->ul_proto) { in mlxsw_sp_ipip_entry_find_decap()
1427 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdev_ipip_type() local
1431 ipip_ops = router->ipip_ops_arr[ipipt]; in mlxsw_sp_netdev_ipip_type()
1432 if (dev->type == ipip_ops->dev_type) { in mlxsw_sp_netdev_ipip_type()
1785 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdevice_ipip_ol_change_event() local
1804 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_netdevice_ipip_ol_change_event()
1805 err = ipip_ops->ol_netdev_change(mlxsw_sp, ipip_entry, extack); in mlxsw_sp_netdevice_ipip_ol_change_event()
3517 const struct mlxsw_sp_ipip_ops *ipip_ops; in __mlxsw_sp_nexthop_ipip_update() local
3519 ipip_ops = mlxsw_sp->router->ipip_ops_arr[nh->ipip_entry->ipipt]; in __mlxsw_sp_nexthop_ipip_update()
3520 return ipip_ops->nexthop_update(mlxsw_sp, adj_index, nh->ipip_entry, in __mlxsw_sp_nexthop_ipip_update()
4234 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_nexthop_type_init() local
4241 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_nexthop_type_init()
4242 if (ipip_ops->can_offload(mlxsw_sp, dev)) { in mlxsw_sp_nexthop_type_init()
5837 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_fib_entry_op_ipip_decap() local
5844 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_fib_entry_op_ipip_decap()
5845 err = ipip_ops->decap_config(mlxsw_sp, ipip_entry, in mlxsw_sp_fib_entry_op_ipip_decap()