Searched refs:mlxsw_sp_rif (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.h | 25 struct mlxsw_sp_rif **rifs; 90 struct mlxsw_sp_rif *mlxsw_sp_rif_by_index(const struct mlxsw_sp *mlxsw_sp, 96 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif); 97 bool mlxsw_sp_rif_has_dev(const struct mlxsw_sp_rif *rif); 98 bool mlxsw_sp_rif_dev_is(const struct mlxsw_sp_rif *rif, 101 struct mlxsw_sp_rif *rif, 104 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif, 106 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif, 109 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif, 149 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh);
|
H A D | spectrum_mr.h | 80 const struct mlxsw_sp_rif *rif); 83 const struct mlxsw_sp_rif *rif); 85 const struct mlxsw_sp_rif *rif); 87 const struct mlxsw_sp_rif *rif, int mtu);
|
H A D | spectrum_router.c | 64 struct mlxsw_sp_rif *rif; 73 struct mlxsw_sp_rif { struct 93 static struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev() argument 112 struct mlxsw_sp_rif common; 123 struct mlxsw_sp_rif common; 138 void (*setup)(struct mlxsw_sp_rif *rif, 140 int (*configure)(struct mlxsw_sp_rif *rif, 142 void (*deconfigure)(struct mlxsw_sp_rif *rif); 143 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif, 146 void (*fdb_del)(struct mlxsw_sp_rif *rif, const char *mac); [all …]
|
H A D | spectrum_dpipe.c | 156 struct mlxsw_sp_rif *rif, in mlxsw_sp_erif_entry_get() 222 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_entries_dump() 264 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_counters_update() 457 struct mlxsw_sp_rif *rif, in __mlxsw_sp_dpipe_table_host_entry_fill() 485 struct mlxsw_sp_rif *rif) in mlxsw_sp_dpipe_table_host4_entry_fill() 498 struct mlxsw_sp_rif *rif) in mlxsw_sp_dpipe_table_host6_entry_fill() 513 struct mlxsw_sp_rif *rif, in mlxsw_sp_dpipe_table_host_entry_fill() 560 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_host_entries_get() 668 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_host_counters_update() 707 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_host_size_get() [all …]
|
H A D | spectrum_fid.c | 34 struct mlxsw_sp_rif *rif; 98 const struct mlxsw_sp_rif *rif); 477 struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid) in mlxsw_sp_fid_rif() 591 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_edit_op() 613 const struct mlxsw_sp_rif *rif, in mlxsw_sp_fid_vni_to_fid_map() 630 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_to_fid_rif_update() 636 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_vni_to_fid_rif_update() 646 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_vid_to_fid_map() 663 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_8021q_vid_to_fid_rif_update() 689 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_vid_to_fid_rif_set() [all …]
|