/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_mr_tcam.c | 123 void *route_priv, 128 struct mlxsw_sp1_mr_tcam_route *route = route_priv; 150 void *route_priv, 153 struct mlxsw_sp1_mr_tcam_route *route = route_priv; 162 void *route_priv, 166 struct mlxsw_sp1_mr_tcam_route *route = route_priv; 122 mlxsw_sp1_mr_tcam_route_create(struct mlxsw_sp *mlxsw_sp, void *priv, void *route_priv, struct mlxsw_sp_mr_route_key *key, struct mlxsw_afa_block *afa_block, enum mlxsw_sp_mr_route_prio prio) argument 149 mlxsw_sp1_mr_tcam_route_destroy(struct mlxsw_sp *mlxsw_sp, void *priv, void *route_priv, struct mlxsw_sp_mr_route_key *key) argument 161 mlxsw_sp1_mr_tcam_route_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, struct mlxsw_sp_mr_route_key *key, struct mlxsw_afa_block *afa_block) argument
|
H A 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);
|
H A D | spectrum.h | 1348 void *route_priv, 1353 void *route_priv, 1355 int (*route_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
|
H A D | spectrum2_mr_tcam.c | 211 void *route_priv, 216 struct mlxsw_sp2_mr_route *mr_route = route_priv; 228 (unsigned long) route_priv, afa_block, 247 void *route_priv, 259 (unsigned long) route_priv); 269 void *route_priv, 273 struct mlxsw_sp2_mr_route *mr_route = route_priv; 283 (unsigned long) route_priv); 210 mlxsw_sp2_mr_tcam_route_create(struct mlxsw_sp *mlxsw_sp, void *priv, void *route_priv, struct mlxsw_sp_mr_route_key *key, struct mlxsw_afa_block *afa_block, enum mlxsw_sp_mr_route_prio prio) argument 246 mlxsw_sp2_mr_tcam_route_destroy(struct mlxsw_sp *mlxsw_sp, void *priv, void *route_priv, struct mlxsw_sp_mr_route_key *key) argument 268 mlxsw_sp2_mr_tcam_route_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, struct mlxsw_sp_mr_route_key *key, struct mlxsw_afa_block *afa_block) argument
|
H A D | spectrum_mr.c | 85 void *route_priv; member in struct:mlxsw_sp_mr_route 264 mr_route->route_priv = kzalloc(mr->mr_ops->route_priv_size, 266 if (!mr_route->route_priv) { 275 mr_route->route_priv, 278 kfree(mr_route->route_priv); 280 err = mr->mr_ops->route_update(mlxsw_sp, mr_route->route_priv, 294 mr->mr_ops->route_destroy(mlxsw_sp, mr->priv, mr_route->route_priv); 295 kfree(mr_route->route_priv); 406 /* On replace case, make the route point to the new route_priv. 412 mr_route->route_priv [all...] |
H A D | spectrum_mr_tcam.c | 280 void *route_priv, 284 struct mlxsw_sp_mr_tcam_route *route = route_priv; 344 void *priv, void *route_priv) 347 struct mlxsw_sp_mr_tcam_route *route = route_priv; 358 void *route_priv, u64 *packets, 361 struct mlxsw_sp_mr_tcam_route *route = route_priv; 369 void *route_priv, 373 struct mlxsw_sp_mr_tcam_route *route = route_priv; 402 void *route_priv, u16 min_mtu) 405 struct mlxsw_sp_mr_tcam_route *route = route_priv; 279 mlxsw_sp_mr_tcam_route_create(struct mlxsw_sp *mlxsw_sp, void *priv, void *route_priv, struct mlxsw_sp_mr_route_params *route_params) argument 343 mlxsw_sp_mr_tcam_route_destroy(struct mlxsw_sp *mlxsw_sp, void *priv, void *route_priv) argument 357 mlxsw_sp_mr_tcam_route_stats(struct mlxsw_sp *mlxsw_sp, void *route_priv, u64 *packets, u64 *bytes) argument 368 mlxsw_sp_mr_tcam_route_action_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, enum mlxsw_sp_mr_route_action route_action) argument 401 mlxsw_sp_mr_tcam_route_min_mtu_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, u16 min_mtu) argument 434 mlxsw_sp_mr_tcam_route_irif_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, u16 irif_index) argument 445 mlxsw_sp_mr_tcam_route_erif_add(struct mlxsw_sp *mlxsw_sp, void *route_priv, u16 erif_index) argument 463 mlxsw_sp_mr_tcam_route_erif_del(struct mlxsw_sp *mlxsw_sp, void *route_priv, u16 erif_index) argument 520 mlxsw_sp_mr_tcam_route_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, struct mlxsw_sp_mr_route_info *route_info) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 1654 struct mlx5e_priv *out_priv, *route_priv; local 1658 route_priv = netdev_priv(route_dev); 1659 route_mdev = route_priv->mdev; 1668 return mlx5e_same_hw_devs(out_priv, route_priv); 1673 struct mlx5e_priv *out_priv, *route_priv; local 1682 route_priv = netdev_priv(route_dev); 1683 route_mdev = route_priv->mdev;
|