Lines Matching refs:flood_table
100 const struct mlxsw_sp_flood_table *flood_table);
104 const struct mlxsw_sp_flood_table *flood_table);
358 const struct mlxsw_sp_flood_table *flood_table; in mlxsw_sp_fid_flood_table_lookup() local
360 flood_table = &fid_family->flood_profile->flood_tables[i]; in mlxsw_sp_fid_flood_table_lookup()
361 if (flood_table->packet_type != packet_type) in mlxsw_sp_fid_flood_table_lookup()
363 return flood_table; in mlxsw_sp_fid_flood_table_lookup()
417 const struct mlxsw_sp_flood_table *flood_table) in mlxsw_sp_fid_pgt_base_ctl() argument
422 return fid_family->pgt_base + num_fids * flood_table->table_index; in mlxsw_sp_fid_pgt_base_ctl()
427 const struct mlxsw_sp_flood_table *flood_table) in mlxsw_sp_fid_fid_mid_ctl() argument
429 return mlxsw_sp_fid_pgt_base_ctl(fid->fid_family, flood_table) + in mlxsw_sp_fid_fid_mid_ctl()
438 const struct mlxsw_sp_flood_table *flood_table; in mlxsw_sp_fid_flood_set() local
444 flood_table = mlxsw_sp_fid_flood_table_lookup(fid, packet_type); in mlxsw_sp_fid_flood_set()
445 if (!flood_table) in mlxsw_sp_fid_flood_set()
448 mid_index = fid_family->ops->fid_mid(fid, flood_table); in mlxsw_sp_fid_flood_set()
1207 const struct mlxsw_sp_flood_table *flood_table) in mlxsw_sp_fid_flood_table_init_ctl() argument
1209 enum mlxsw_sp_flood_type packet_type = flood_table->packet_type; in mlxsw_sp_fid_flood_table_init_ctl()
1215 mid_base = mlxsw_sp_fid_pgt_base_ctl(fid_family, flood_table); in mlxsw_sp_fid_flood_table_init_ctl()
1225 flood_table->table_type, 0, mid_base); in mlxsw_sp_fid_flood_table_init_ctl()
1257 const struct mlxsw_sp_flood_table *flood_table) in mlxsw_sp_fid_fid_mid_cff() argument
1259 return mlxsw_sp_fid_pgt_base_cff(fid) + flood_table->table_index; in mlxsw_sp_fid_fid_mid_cff()
1528 const struct mlxsw_sp_flood_table *flood_table, in mlxsw_sp_fid_rfid_port_add_cff() argument
1538 if (flood_table->packet_type == MLXSW_SP_FLOOD_TYPE_NOT_UC) { in mlxsw_sp_fid_rfid_port_add_cff()
1557 const struct mlxsw_sp_flood_table *flood_table, in mlxsw_sp_fid_rfid_port_del_cff() argument
1560 if (flood_table->packet_type == MLXSW_SP_FLOOD_TYPE_NOT_UC) { in mlxsw_sp_fid_rfid_port_del_cff()
1572 const struct mlxsw_sp_flood_table *flood_table, in mlxsw_sp_fid_rfid_port_memb_ft_cff() argument
1591 pgt_addr = fid_pgt_base + flood_table->table_index; in mlxsw_sp_fid_rfid_port_memb_ft_cff()
1594 return mlxsw_sp_fid_rfid_port_add_cff(mlxsw_sp, flood_table, in mlxsw_sp_fid_rfid_port_memb_ft_cff()
1598 mlxsw_sp_fid_rfid_port_del_cff(mlxsw_sp, flood_table, pgt_addr, smpe, in mlxsw_sp_fid_rfid_port_memb_ft_cff()
1611 const struct mlxsw_sp_flood_table *flood_table = in mlxsw_sp_fid_rfid_port_memb_cff() local
1616 flood_table, in mlxsw_sp_fid_rfid_port_memb_cff()
2140 const struct mlxsw_sp_flood_table *flood_table; in mlxsw_sp_fid_flood_tables_init() local
2142 flood_table = &fid_family->flood_profile->flood_tables[i]; in mlxsw_sp_fid_flood_tables_init()
2145 flood_table); in mlxsw_sp_fid_flood_tables_init()
2387 const struct mlxsw_sp_flood_table *flood_table) in mlxsw_sp2_fids_init_flood_table() argument
2389 enum mlxsw_sp_flood_type packet_type = flood_table->packet_type; in mlxsw_sp2_fids_init_flood_table()
2402 flood_table->table_index); in mlxsw_sp2_fids_init_flood_table()
2425 const struct mlxsw_sp_flood_table *flood_table; in mlxsw_sp2_fids_init_flood_profile() local
2427 flood_table = &flood_profile->flood_tables[i]; in mlxsw_sp2_fids_init_flood_profile()
2430 flood_table); in mlxsw_sp2_fids_init_flood_profile()