Lines Matching refs:ipip_ops
988 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_ol_ipip_lb_create() local
991 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_ol_ipip_lb_create()
995 .lb_config = ipip_ops->ol_loopback_config(mlxsw_sp, ol_dev), in mlxsw_sp_ipip_ol_ipip_lb_create()
1009 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_alloc() local
1013 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipipt]; in mlxsw_sp_ipip_entry_alloc()
1028 switch (ipip_ops->ul_proto) { in mlxsw_sp_ipip_entry_alloc()
1137 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_ipip_entry_find_decap() local
1148 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_ipip_entry_find_decap()
1155 ul_fib = mlxsw_sp_vr_fib(ul_vr, ipip_ops->ul_proto); in mlxsw_sp_ipip_entry_find_decap()
1156 saddr = mlxsw_sp_ipip_netdev_saddr(ipip_ops->ul_proto, in mlxsw_sp_ipip_entry_find_decap()
1159 switch (ipip_ops->ul_proto) { in mlxsw_sp_ipip_entry_find_decap()
1253 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdev_ipip_type() local
1257 ipip_ops = router->ipip_ops_arr[ipipt]; in mlxsw_sp_netdev_ipip_type()
1258 if (dev->type == ipip_ops->dev_type) { in mlxsw_sp_netdev_ipip_type()
1597 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_netdevice_ipip_ol_change_event() local
1616 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_netdevice_ipip_ol_change_event()
1617 err = ipip_ops->ol_netdev_change(mlxsw_sp, ipip_entry, extack); in mlxsw_sp_netdevice_ipip_ol_change_event()
3016 const struct mlxsw_sp_ipip_ops *ipip_ops; in __mlxsw_sp_nexthop_ipip_update() local
3018 ipip_ops = mlxsw_sp->router->ipip_ops_arr[nh->ipip_entry->ipipt]; in __mlxsw_sp_nexthop_ipip_update()
3019 return ipip_ops->nexthop_update(mlxsw_sp, adj_index, nh->ipip_entry); in __mlxsw_sp_nexthop_ipip_update()
3524 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_nexthop4_type_init() local
3532 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_nexthop4_type_init()
3533 if (ipip_ops->can_offload(mlxsw_sp, dev, in mlxsw_sp_nexthop4_type_init()
4065 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_fib_entry_op_ipip_decap() local
4070 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_fib_entry_op_ipip_decap()
4071 return ipip_ops->fib_entry_op(mlxsw_sp, ipip_entry, op, in mlxsw_sp_fib_entry_op_ipip_decap()
4825 const struct mlxsw_sp_ipip_ops *ipip_ops; in mlxsw_sp_nexthop6_type_init() local
4833 ipip_ops = mlxsw_sp->router->ipip_ops_arr[ipip_entry->ipipt]; in mlxsw_sp_nexthop6_type_init()
4834 if (ipip_ops->can_offload(mlxsw_sp, dev, in mlxsw_sp_nexthop6_type_init()