Searched refs:route_priv (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_mr.h | 46 void *route_priv, 48 int (*route_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 50 int (*route_stats)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 52 int (*route_action_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 54 int (*route_min_mtu_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 56 int (*route_irif_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 58 int (*route_erif_add)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 60 int (*route_erif_del)(struct mlxsw_sp *mlxsw_sp, void *route_priv, 63 void *route_priv);
|
D | spectrum_mr_tcam.c | 280 void *route_priv, in mlxsw_sp_mr_tcam_route_create() argument 284 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_create() 344 void *priv, void *route_priv) in mlxsw_sp_mr_tcam_route_destroy() argument 347 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_destroy() 358 void *route_priv, u64 *packets, in mlxsw_sp_mr_tcam_route_stats() argument 361 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_stats() 369 void *route_priv, in mlxsw_sp_mr_tcam_route_action_update() argument 373 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_action_update() 402 void *route_priv, u16 min_mtu) in mlxsw_sp_mr_tcam_route_min_mtu_update() argument 405 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_min_mtu_update() [all …]
|
D | spectrum_mr.c | 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() [all …]
|
D | spectrum2_mr_tcam.c | 207 void *route_priv, in mlxsw_sp2_mr_tcam_route_create() argument 212 struct mlxsw_sp2_mr_route *mr_route = route_priv; in mlxsw_sp2_mr_tcam_route_create() 224 (unsigned long) route_priv, afa_block, in mlxsw_sp2_mr_tcam_route_create() 243 void *route_priv, in mlxsw_sp2_mr_tcam_route_destroy() argument 255 (unsigned long) route_priv); in mlxsw_sp2_mr_tcam_route_destroy() 265 void *route_priv, in mlxsw_sp2_mr_tcam_route_update() argument 269 struct mlxsw_sp2_mr_route *mr_route = route_priv; in mlxsw_sp2_mr_tcam_route_update() 279 (unsigned long) route_priv); in mlxsw_sp2_mr_tcam_route_update()
|
D | spectrum1_mr_tcam.c | 123 void *route_priv, in mlxsw_sp1_mr_tcam_route_create() argument 128 struct mlxsw_sp1_mr_tcam_route *route = route_priv; in mlxsw_sp1_mr_tcam_route_create() 150 void *route_priv, in mlxsw_sp1_mr_tcam_route_destroy() argument 153 struct mlxsw_sp1_mr_tcam_route *route = route_priv; in mlxsw_sp1_mr_tcam_route_destroy() 162 void *route_priv, in mlxsw_sp1_mr_tcam_route_update() argument 166 struct mlxsw_sp1_mr_tcam_route *route = route_priv; in mlxsw_sp1_mr_tcam_route_update()
|
D | spectrum.h | 1187 void *route_priv, 1192 void *route_priv, 1194 int (*route_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
|