Lines Matching refs:ipip_ops
1151 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_ol_ipip_lb_create() local
1154 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_ol_ipip_lb_create()
1158 .common.double_entry = ipip_ops->double_rif_entry, in mlxsw_sp_ipip_ol_ipip_lb_create()
1159 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1173 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_alloc() local
1178 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_entry_alloc()
1192 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
1194 err = ipip_ops->rem_ip_addr_set(mlxsw_sp, ipip_entry); in mlxsw_sp_ipip_entry_alloc()
1212 const struct mlxsw_sp_ipip_ops *ipip_ops = in mlxsw_sp_ipip_entry_dealloc() local
1215 ipip_ops->rem_ip_addr_unset(mlxsw_sp, ipip_entry); in mlxsw_sp_ipip_entry_dealloc()
1242 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_decap_parsing_depth_inc() local
1244 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_decap_parsing_depth_inc()
1249 if (ipip_ops->inc_parsing_depth) in mlxsw_sp_ipip_decap_parsing_depth_inc()
1258 const struct mlxsw_sp_ipip_ops *ipip_ops = in mlxsw_sp_ipip_decap_parsing_depth_dec() local
1261 if (ipip_ops->inc_parsing_depth) in mlxsw_sp_ipip_decap_parsing_depth_dec()
1390 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_find_decap() local
1400 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_ipip_entry_find_decap()
1407 ul_fib = mlxsw_sp_vr_fib(ul_vr, ipip_ops->ul_proto); in mlxsw_sp_ipip_entry_find_decap()
1408 saddr = mlxsw_sp_ipip_netdev_saddr(ipip_ops->ul_proto, in mlxsw_sp_ipip_entry_find_decap()
1411 switch (ipip_ops->ul_proto) { in mlxsw_sp_ipip_entry_find_decap()
1515 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdev_ipip_type() local
1519 ipip_ops = router->ipip_ops_arr[ipipt]; in mlxsw_sp_netdev_ipip_type()
1520 if (dev->type == ipip_ops->dev_type) { in mlxsw_sp_netdev_ipip_type()
1887 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdevice_ipip_ol_change_event() local
1906 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_netdevice_ipip_ol_change_event()
1907 err = ipip_ops->ol_netdev_change(mlxsw_sp, ipip_entry, extack); in mlxsw_sp_netdevice_ipip_ol_change_event()
3689 const struct mlxsw_sp_ipip_ops *ipip_ops; in __mlxsw_sp_nexthop_ipip_update() local
3691 ipip_ops = mlxsw_sp->router->ipip_ops_arr[nh->ipip_entry->ipipt]; in __mlxsw_sp_nexthop_ipip_update()
3692 return ipip_ops->nexthop_update(mlxsw_sp, adj_index, nh->ipip_entry, in __mlxsw_sp_nexthop_ipip_update()
4418 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_nexthop_type_init() local
4425 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_nexthop_type_init()
4426 if (ipip_ops->can_offload(mlxsw_sp, dev)) { in mlxsw_sp_nexthop_type_init()
6062 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_fib_entry_op_ipip_decap() local
6069 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_fib_entry_op_ipip_decap()
6070 err = ipip_ops->decap_config(mlxsw_sp, ipip_entry, in mlxsw_sp_fib_entry_op_ipip_decap()