Searched refs:sw_attr (Results 1 – 3 of 3) sorted by relevance
173 struct dpsw_attr sw_attr; member200 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_get_index()209 if (ethsw->sw_attr.options & DPSW_OPT_CTRL_IF_DIS) { in dpaa2_switch_supports_cpu_traffic()214 if (ethsw->sw_attr.flooding_cfg != DPSW_FLOODING_PER_FDB) { in dpaa2_switch_supports_cpu_traffic()219 if (ethsw->sw_attr.broadcast_cfg != DPSW_BROADCAST_PER_FDB) { in dpaa2_switch_supports_cpu_traffic()224 if (ethsw->sw_attr.max_fdbs < ethsw->sw_attr.num_ifs) { in dpaa2_switch_supports_cpu_traffic()
414 mirror_port_enabled = (ethsw->mirror_port != ethsw->sw_attr.num_ifs); in dpaa2_switch_block_add_mirror()426 for_each_set_bit(port, &block_ports, ethsw->sw_attr.num_ifs) { in dpaa2_switch_block_add_mirror()454 for_each_set_bit(port, &ports_added, ethsw->sw_attr.num_ifs) { in dpaa2_switch_block_add_mirror()460 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_add_mirror()477 for_each_set_bit(port, &block_ports, ethsw->sw_attr.num_ifs) in dpaa2_switch_block_remove_mirror()487 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_remove_mirror()596 mirror_port_enabled = (ethsw->mirror_port != ethsw->sw_attr.num_ifs); in dpaa2_switch_cls_flower_replace_mirror()749 mirror_port_enabled = (ethsw->mirror_port != ethsw->sw_attr.num_ifs); in dpaa2_switch_cls_matchall_replace_mirror()
37 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_fdb_get_unused()48 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_filter_block_get_unused()135 for (j = 0; j < ethsw->sw_attr.num_ifs; j++) { in dpaa2_switch_fdb_get_flood_cfg()148 cfg->if_id[i++] = ethsw->sw_attr.num_ifs; in dpaa2_switch_fdb_get_flood_cfg()394 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_dellink()849 fdb_dump_size = ethsw->sw_attr.max_fdb_entries * sizeof(fdb_entry); in dpaa2_switch_fdb_iterate()1771 struct dpsw_attr *attr = ðsw->sw_attr; in dpaa2_switch_port_vlans_add()1784 ðsw->sw_attr); in dpaa2_switch_port_vlans_add()1794 ðsw->sw_attr); in dpaa2_switch_port_vlans_add()1923 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_port_del_vlan()[all …]