Lines Matching refs:route_priv
85 void *route_priv; member
264 mr_route->route_priv = kzalloc(mr->mr_ops->route_priv_size, in mlxsw_sp_mr_route_write()
266 if (!mr_route->route_priv) { in mlxsw_sp_mr_route_write()
275 mr_route->route_priv, in mlxsw_sp_mr_route_write()
278 kfree(mr_route->route_priv); in mlxsw_sp_mr_route_write()
280 err = mr->mr_ops->route_update(mlxsw_sp, mr_route->route_priv, in mlxsw_sp_mr_route_write()
294 mr->mr_ops->route_destroy(mlxsw_sp, mr->priv, mr_route->route_priv); in mlxsw_sp_mr_route_erase()
295 kfree(mr_route->route_priv); in mlxsw_sp_mr_route_erase()
412 mr_route->route_priv = mr_orig_route->route_priv; in mlxsw_sp_mr_route_add()
495 err = mr->mr_ops->route_irif_update(mlxsw_sp, rve->mr_route->route_priv, in mlxsw_sp_mr_route_ivif_resolve()
501 rve->mr_route->route_priv, in mlxsw_sp_mr_route_ivif_resolve()
521 mr->mr_ops->route_action_update(mlxsw_sp, rve->mr_route->route_priv, in mlxsw_sp_mr_route_ivif_unresolve()
542 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_resolve()
554 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_resolve()
564 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_resolve()
577 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_resolve()
581 mr->mr_ops->route_erif_del(mlxsw_sp, rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_resolve()
611 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_unresolve()
616 mr->mr_ops->route_erif_del(mlxsw_sp, rve->mr_route->route_priv, rifi); in mlxsw_sp_mr_route_evif_unresolve()
770 rve->mr_route->route_priv, in mlxsw_sp_mr_rif_mtu_update()
1006 mr->mr_ops->route_stats(mlxsw_sp, mr_route->route_priv, &packets, in mlxsw_sp_mr_route_stats_update()