Lines Matching refs:mlid
487 static int switch_mclookup(Node * node, ib_portid_t * portid, int mlid, in switch_mclookup() argument
503 mlid -= 0xc000; in switch_mclookup()
507 if (mlid >= sw.mccap) in switch_mclookup()
510 block = mlid / 32; in switch_mclookup()
520 uint16_t mask = ntohs(msets[mlid % 32]); in switch_mclookup()
527 node->nodeguid, mlid + 0xc000, i + set * 16); in switch_mclookup()
537 static Node *find_mcpath(ib_portid_t * from, int mlid) in find_mcpath() argument
566 if (switch_mclookup(node, from, mlid, map) < 0 || !map[0]) in find_mcpath()
599 if (switch_mclookup(node, path, mlid, map) < 0) { in find_mcpath()
755 static int dumplevel = 2, multicast, mlid; variable
765 mlid = strtoul(optarg, 0, 0); in process_opt()
863 if (mlid < 0xc000) in main()
870 if (!(endnode = find_mcpath(&src_portid, mlid))) in main()