Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c26 struct mlxsw_sp_fid_family *fid_family; member
101 struct mlxsw_sp_fid_family *fid_family = fid->fid_family; in mlxsw_sp_fid_flood_table_lookup() local
104 for (i = 0; i < fid_family->nr_flood_tables; i++) { in mlxsw_sp_fid_flood_table_lookup()
105 if (fid_family->flood_tables[i].packet_type != packet_type) in mlxsw_sp_fid_flood_table_lookup()
107 return &fid_family->flood_tables[i]; in mlxsw_sp_fid_flood_table_lookup()
117 struct mlxsw_sp_fid_family *fid_family = fid->fid_family; in mlxsw_sp_fid_flood_set() local
118 const struct mlxsw_sp_fid_ops *ops = fid_family->ops; in mlxsw_sp_fid_flood_set()
123 if (WARN_ON(!fid_family->flood_tables || !ops->flood_index)) in mlxsw_sp_fid_flood_set()
137 err = mlxsw_reg_write(fid_family->mlxsw_sp->core, MLXSW_REG(sftr), in mlxsw_sp_fid_flood_set()
146 if (WARN_ON(!fid->fid_family->ops->port_vid_map)) in mlxsw_sp_fid_port_vid_map()
[all …]