Home
last modified time | relevance | path

Searched refs:mlxsw_sp_rif (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h20 struct mlxsw_sp_rif **rifs;
70 struct mlxsw_sp_rif *mlxsw_sp_rif_by_index(const struct mlxsw_sp *mlxsw_sp,
72 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif);
77 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif);
78 const struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif);
80 struct mlxsw_sp_rif *rif,
84 struct mlxsw_sp_rif *rif,
87 struct mlxsw_sp_rif *rif,
90 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif,
130 struct mlxsw_sp_rif *mlxsw_sp_nexthop_ri
[all...]
H A 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);
H A Dspectrum_router.c52 struct mlxsw_sp_rif { struct
81 struct mlxsw_sp_rif common;
92 struct mlxsw_sp_rif common;
107 void (*setup)(struct mlxsw_sp_rif *rif,
109 int (*configure)(struct mlxsw_sp_rif *rif);
110 void (*deconfigure)(struct mlxsw_sp_rif *rif);
111 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
113 void (*fdb_del)(struct mlxsw_sp_rif *rif, const char *mac);
116 static struct mlxsw_sp_rif *
119 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *ri
[all...]
H A Dspectrum_dpipe.c156 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 *ri in mlxsw_sp_dpipe_table_host_size_get()
[all...]
H A Dspectrum_mr.c29 const struct mlxsw_sp_rif *rif;
625 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_vif_resolve()
683 unsigned long vif_flags, const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_vif_add()
718 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_add()
734 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_del()
749 const struct mlxsw_sp_rif *rif, int mtu) in mlxsw_sp_mr_rif_mtu_update()
H A Dspectrum.h71 struct mlxsw_sp_rif;
1147 void mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
1148 struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid);
H A Dspectrum_fid.c27 struct mlxsw_sp_rif *rif;
373 void mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_rif_set()
378 struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid) in mlxsw_sp_fid_rif()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h25 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_ri
[all...]
H A 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);
H A Dspectrum_router.c63 struct mlxsw_sp_rif *rif;
72 struct mlxsw_sp_rif { struct
92 static struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev()
111 struct mlxsw_sp_rif common;
122 struct mlxsw_sp_rif common;
137 void (*setup)(struct mlxsw_sp_rif *rif,
139 int (*configure)(struct mlxsw_sp_rif *rif,
141 void (*deconfigure)(struct mlxsw_sp_rif *rif);
142 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
145 void (*fdb_del)(struct mlxsw_sp_rif *ri
[all...]
H A Dspectrum_dpipe.c156 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 *ri in mlxsw_sp_dpipe_table_host_size_get()
[all...]
H A Dspectrum_fid.c33 struct mlxsw_sp_rif *rif;
97 const struct mlxsw_sp_rif *rif);
380 struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid) in mlxsw_sp_fid_rif()
435 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_edit_op()
462 const struct mlxsw_sp_rif *rif, in mlxsw_sp_fid_vni_to_fid_map()
479 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_to_fid_rif_update()
485 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_vni_to_fid_rif_update()
495 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_vid_to_fid_map()
512 const struct mlxsw_sp_rif *rif) in mlxsw_sp_fid_8021q_vid_to_fid_rif_update()
538 const struct mlxsw_sp_rif *ri in mlxsw_sp_fid_vid_to_fid_rif_set()
[all...]
H A Dspectrum_mr.c29 const struct mlxsw_sp_rif *rif;
625 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_vif_resolve()
683 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_dev_vif_lookup()
718 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_add()
733 const struct mlxsw_sp_rif *rif) in mlxsw_sp_mr_rif_del()
747 const struct mlxsw_sp_rif *rif, int mtu) in mlxsw_sp_mr_rif_mtu_update()
H A Dspectrum.h76 struct mlxsw_sp_rif;
754 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif);
1301 int mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
1303 struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid);

Completed in 31 milliseconds