mv_get_hc_count
n_hc = mv_get_hc_count(host->ports[0]->flags);
n_ports = mv_get_hc_count(ppi[0]->flags) * MV_PORTS_PER_HC;