Lines Matching refs:ipip_ops

998 	const struct mlxsw_sp_ipip_ops *ipip_ops;  in mlxsw_sp_ipip_ol_ipip_lb_create()  local
1001 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_ol_ipip_lb_create()
1005 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1019 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_alloc() local
1023 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_entry_alloc()
1038 switch (ipip_ops->ul_proto) { in mlxsw_sp_ipip_entry_alloc()
1187 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_find_decap() local
1197 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_ipip_entry_find_decap()
1204 ul_fib = mlxsw_sp_vr_fib(ul_vr, ipip_ops->ul_proto); in mlxsw_sp_ipip_entry_find_decap()
1205 saddr = mlxsw_sp_ipip_netdev_saddr(ipip_ops->ul_proto, in mlxsw_sp_ipip_entry_find_decap()
1208 switch (ipip_ops->ul_proto) { in mlxsw_sp_ipip_entry_find_decap()
1295 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdev_ipip_type() local
1299 ipip_ops = router->ipip_ops_arr[ipipt]; in mlxsw_sp_netdev_ipip_type()
1300 if (dev->type == ipip_ops->dev_type) { in mlxsw_sp_netdev_ipip_type()
1652 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdevice_ipip_ol_change_event() local
1671 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_netdevice_ipip_ol_change_event()
1672 err = ipip_ops->ol_netdev_change(mlxsw_sp, ipip_entry, extack); in mlxsw_sp_netdevice_ipip_ol_change_event()
3206 const struct mlxsw_sp_ipip_ops *ipip_ops; in __mlxsw_sp_nexthop_ipip_update() local
3208 ipip_ops = mlxsw_sp->router->ipip_ops_arr[nh->ipip_entry->ipipt]; in __mlxsw_sp_nexthop_ipip_update()
3209 return ipip_ops->nexthop_update(mlxsw_sp, adj_index, nh->ipip_entry); in __mlxsw_sp_nexthop_ipip_update()
3829 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_nexthop4_type_init() local
3837 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_nexthop4_type_init()
3838 if (ipip_ops->can_offload(mlxsw_sp, dev, in mlxsw_sp_nexthop4_type_init()
4451 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_fib_entry_op_ipip_decap() local
4456 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_fib_entry_op_ipip_decap()
4457 return ipip_ops->fib_entry_op(mlxsw_sp, ipip_entry, op, in mlxsw_sp_fib_entry_op_ipip_decap()
5089 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_nexthop6_type_init() local
5097 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_nexthop6_type_init()
5098 if (ipip_ops->can_offload(mlxsw_sp, dev, in mlxsw_sp_nexthop6_type_init()