Home
last modified time | relevance | path

Searched refs:mlxsw_sp_rif (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h38 struct mlxsw_sp_rif *mlxsw_sp_rif_find_by_dev(const struct mlxsw_sp *mlxsw_sp,
40 struct mlxsw_sp_rif *mlxsw_sp_rif_by_index(const struct mlxsw_sp *mlxsw_sp,
42 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif);
46 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif);
48 const struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif);
49 struct mlxsw_sp_fid *mlxsw_sp_rif_fid(const struct mlxsw_sp_rif *rif);
51 struct mlxsw_sp_rif *rif,
55 struct mlxsw_sp_rif *rif,
58 struct mlxsw_sp_rif *rif,
61 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif,
[all …]
Dspectrum_mr.h80 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);
Dspectrum_router.c50 struct mlxsw_sp_rif **rifs;
77 struct mlxsw_sp_rif { struct
106 struct mlxsw_sp_rif common; argument
116 struct mlxsw_sp_rif common;
130 void (*setup)(struct mlxsw_sp_rif *rif,
132 int (*configure)(struct mlxsw_sp_rif *rif);
133 void (*deconfigure)(struct mlxsw_sp_rif *rif);
134 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
136 void (*fdb_del)(struct mlxsw_sp_rif *rif, const char *mac);
149 mlxsw_sp_rif_p_counter_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_p_counter_get()
[all …]
Dspectrum_dpipe.c155 struct mlxsw_sp_rif *rif, in mlxsw_sp_erif_entry_get()
221 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_entries_dump()
262 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_erif_counters_update()
455 struct mlxsw_sp_rif *rif, in __mlxsw_sp_dpipe_table_host_entry_fill()
483 struct mlxsw_sp_rif *rif) in mlxsw_sp_dpipe_table_host4_entry_fill()
496 struct mlxsw_sp_rif *rif) in mlxsw_sp_dpipe_table_host6_entry_fill()
511 struct mlxsw_sp_rif *rif, in mlxsw_sp_dpipe_table_host_entry_fill()
558 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_host_entries_get()
666 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_host_counters_update()
705 struct mlxsw_sp_rif *rif = mlxsw_sp_rif_by_index(mlxsw_sp, i); in mlxsw_sp_dpipe_table_host_size_get()
[all …]
Dspectrum_mr.c27 const struct mlxsw_sp_rif *rif;
614 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_vif_resolve()
672 unsigned long vif_flags, const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_vif_add()
707 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_add()
723 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_del()
738 const struct mlxsw_sp_rif *rif, int mtu) in mlxsw_sp_mr_rif_mtu_update()
Dspectrum.h56 struct mlxsw_sp_rif;
416 void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif);
675 void mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
Dspectrum_fid.c23 struct mlxsw_sp_rif *rif;
172 void mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_rif_set()
Dspectrum_switchdev.c1130 struct mlxsw_sp_rif *rif; in mlxsw_sp_br_ban_rif_pvid_change()