Lines Matching refs:num_ifs

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()
152 cfg->num_ifs = i; in dpaa2_switch_fdb_get_flood_cfg()
299 vcfg.num_ifs = 1; in dpaa2_switch_port_add_vlan()
394 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_dellink()
455 entry.num_ifs = 1; in dpaa2_switch_port_fdb_add_mc()
478 entry.num_ifs = 1; in dpaa2_switch_port_fdb_del_mc()
1202 acl_if_cfg.num_ifs = 1; in dpaa2_switch_port_acl_tbl_bind()
1229 acl_if_cfg.num_ifs = 1; in dpaa2_switch_port_acl_tbl_unbind()
1896 vcfg.num_ifs = 1; in dpaa2_switch_port_del_vlan()
1923 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_port_del_vlan()
2448 if (if_id >= ethsw->sw_attr.num_ifs) { in dpaa2_switch_rx()
3051 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_init()
3069 vcfg.num_ifs = 1; in dpaa2_switch_init()
3173 fdb_cfg.num_fdb_entries = ethsw->sw_attr.max_fdb_entries / ethsw->sw_attr.num_ifs; in dpaa2_switch_port_init()
3267 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_remove()
3391 ethsw->ports = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->ports), in dpaa2_switch_probe()
3398 ethsw->fdbs = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->fdbs), in dpaa2_switch_probe()
3405 ethsw->filter_blocks = kcalloc(ethsw->sw_attr.num_ifs, in dpaa2_switch_probe()
3413 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_probe()
3435 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_probe()
3440 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_probe()