Lines Matching refs:ipip_ops

1153 	const struct mlxsw_sp_ipip_ops *ipip_ops;  in mlxsw_sp_ipip_ol_ipip_lb_create()  local
1156 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_ol_ipip_lb_create()
1160 .common.double_entry = ipip_ops->double_rif_entry, in mlxsw_sp_ipip_ol_ipip_lb_create()
1161 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1175 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_alloc() local
1180 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_entry_alloc()
1194 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
1196 err = ipip_ops->rem_ip_addr_set(mlxsw_sp, ipip_entry); in mlxsw_sp_ipip_entry_alloc()
1214 const struct mlxsw_sp_ipip_ops *ipip_ops = in mlxsw_sp_ipip_entry_dealloc() local
1217 ipip_ops->rem_ip_addr_unset(mlxsw_sp, ipip_entry); in mlxsw_sp_ipip_entry_dealloc()
1244 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_decap_parsing_depth_inc() local
1246 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_decap_parsing_depth_inc()
1251 if (ipip_ops->inc_parsing_depth) in mlxsw_sp_ipip_decap_parsing_depth_inc()
1260 const struct mlxsw_sp_ipip_ops *ipip_ops = in mlxsw_sp_ipip_decap_parsing_depth_dec() local
1263 if (ipip_ops->inc_parsing_depth) in mlxsw_sp_ipip_decap_parsing_depth_dec()
1392 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_find_decap() local
1402 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_ipip_entry_find_decap()
1409 ul_fib = mlxsw_sp_vr_fib(ul_vr, ipip_ops->ul_proto); in mlxsw_sp_ipip_entry_find_decap()
1410 saddr = mlxsw_sp_ipip_netdev_saddr(ipip_ops->ul_proto, in mlxsw_sp_ipip_entry_find_decap()
1413 switch (ipip_ops->ul_proto) { in mlxsw_sp_ipip_entry_find_decap()
1517 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdev_ipip_type() local
1521 ipip_ops = router->ipip_ops_arr[ipipt]; in mlxsw_sp_netdev_ipip_type()
1522 if (dev->type == ipip_ops->dev_type) { in mlxsw_sp_netdev_ipip_type()
1889 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdevice_ipip_ol_change_event() local
1908 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_netdevice_ipip_ol_change_event()
1909 err = ipip_ops->ol_netdev_change(mlxsw_sp, ipip_entry, extack); in mlxsw_sp_netdevice_ipip_ol_change_event()
3802 const struct mlxsw_sp_ipip_ops *ipip_ops; in __mlxsw_sp_nexthop_ipip_update() local
3804 ipip_ops = mlxsw_sp->router->ipip_ops_arr[nh->ipip_entry->ipipt]; in __mlxsw_sp_nexthop_ipip_update()
3805 return ipip_ops->nexthop_update(mlxsw_sp, adj_index, nh->ipip_entry, in __mlxsw_sp_nexthop_ipip_update()
4536 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_nexthop_type_init() local
4543 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_nexthop_type_init()
4544 if (ipip_ops->can_offload(mlxsw_sp, dev)) { in mlxsw_sp_nexthop_type_init()
6309 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_fib_entry_op_ipip_decap() local
6316 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_fib_entry_op_ipip_decap()
6317 err = ipip_ops->decap_config(mlxsw_sp, ipip_entry, in mlxsw_sp_fib_entry_op_ipip_decap()